Hi,

So I think I might not really understand routes.py.

Here is my problem: my web2py app is run at a url like:
http://host.domain.tld/meetings/2011/MYAPP

But, there is a proxypass rule for /meetings/2011/MYAPP to go to
localhost:8180/MYAPP (which is what web2py is running on)

So, I think I need to make routes_out prepend "/meetings/2011/" to all
generated URLs, so I do this:

(file: routes.py)

routes_out = (
  ('/MYAPP/(.*)', '/meetings/2011/$1')
)

But nothing happens. Also, I'm not sure if I need to mess with
routes_in when I do this? I don't think I should since apache is
proxying all requests directly to web2py with the appname hardcoded.

Lastly, I can't seem to do ANYTHING with routes. I've tried:

routes_in (
 (".*", "/nothing")
)
routes_out (
 (".*", "/nothing")
)

And the URL behavior does not change at all. What am I missing?

PS: I am restarting the web2py rocket webserver, but I see no reason
to restart the apache server, though I have anyway.

Thanks in advance for any assistance.

Reply via email to