The index
method is the start point of any TurboGears controller class. Each of the URLs
localhost:8080
localhost:8080/
localhost:8080/index
is mapped to the RootController.index()
method.
How can I map localhost:8080
and localhost:8080/
to the .index()
but localhost:8080/index
and localhost:8080/index.html
to the ._lookup()
?