On Monday, January 20, 2020 at 8:49:13 AM UTC-8, Manuele wrote: > > Hi! > > For our deploy installation I followed successfully the procedures in > documentation so now I have my server exposing the web2py root, now I > tried to configure a second host name using an apache reverse proxy > configuration to serve directly a specific application, is it possible? > > Let's say my application is reachable under apps.mycompany.com/myapp and > now I want to setup the virtualhost myapp.mycompany.com as a reverse > proxy to direcly serve the app. I've used this apache proxy configuration: > > <VirtualHost *:443> > ServerName myapp.mycompany.com > [...]
</VirtualHost> > > The problem is that every link included in the page contains even the > application name such as: > > https://analytics.colouree.com/welcome/static/css/bootstrap.min.css and > so on. > > Is there a possible way to fix it with some framework configuration? > > Check out routes.py, as described at <URL:http://www.web2py.com/books/default/chapter/29/04/the-core#URL-rewrite> /dps -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/113292d7-6f51-4d73-9426-92e4b98f7159%40googlegroups.com.

