Hello web2py community!

I have an Apache server that proxies all incoming requests of the nature 
x/y/z to my web2py application that is running on localhost using the 
Rocket web server.  I did it with the following line:
ProxyPass x/y/z 
http://localhost:8000/<http://localhost:20009/SAMWebCookbookNOvA>
myApp

This works perfectly.  If a visitor comes to my site - for example: 
 http://asdf.com/x/y/z the apache server correctly proxies it to 
http://localhost:8000/myApp

The problem now is that if a user clicks on a link in the application, it 
works, but the URL now shows as 
http://asdf.com/myApp/default/controller-method/arg which violates what I 
want which is http://asdf.com/x/y/z/default/controller-method/arg

The reason why I'm doing this is because I have an Apache server that 
proxies to many different apps running on localhost and I need to follow 
particular naming conventions.

How do I go about doing this?  Any help would be much appreciated!

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to