Hi everyone,
I know I'm doing something wrong here. I'm trying out app-specific
routes.py files. I have an app that currently has the default/index page
unmodified, that is, it's equivalent to the welcome app.
I have in the web2py base directory the following contents in my routes.py
file:
routes_app = (
('/$anything', 'myapp'),
)
I have in the application directory myapp the following contents in my
routes.py file:
routes_in = (
('/$anything', '/myapp/default/index'),
)
I just wanted to see if, with these initial rules, I could simply visit the
url '/' and get to '/myapp/default/index'. More complex rules will be going
in once I have this working. It loads the correct page, but it is entirely
unformatted, making me think that somehow the css file didn't get through
or something.
I don't know if it's significant, but I'm running web2py on localhost with
ssl using:
web2py.exe -c ssl/server.crt -k ssl/server.key
I observed normal behavior with the ssl before introducing the routes.py
files.
Is there something I'm doing wrong?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.