Hi!

How does one deploy a web.py app with a URL prefix? I'd like to deploy
my app using lighttpd under a URL such as http://example.org/myapp,
not http://example.org/. Using FastCGI or lighttpd's mod_proxy, the
request that reaches my app has the URL prefix intact -- web.py sees
the request URL as /myapp, when I'd rather it just receive a request
for / so that I don't need to adjust the URLs used by my app. At least
using mod_proxy, even if I adjust the URLs so that /myapp is prefixed,
requests for static files are still seen by web.py as for /myapp/
static/file.static rather than /static/file.static, resulting in a
404.

I apologize if I've missed something obvious, but I've dug through the
tutorial, FAQ, documentation, and mailing list archives to no avail.

Thanks!

Jeff

--

You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.


Reply via email to