in routes you can do
routes_in=(('/prefix/(?P<a>.*)','/$a'),)
routes_out=(('/(?P<a>.*)','/prefix/$a'),)
then you visit
http://host/prefix/welcome/default/index
instead of
http://host/welcome/default/index
thous should be all you need
Massimo
On Apr 27, 10:06 am, Bernd das Brot <[email protected]> wrote:
> Hi,
> I (still) need to implement web2py with a prefixed URL without using
> apache mod_proxy_html.
> Am I really the only one who needs this ? Obviously not - see the
> AlterEgo Article
>
> http://www.web2py.com/AlterEgo/default/show/136
>
> I believe that web2py should work _without_ the mod_proxy_html part
> ("ProxyHTMLURLMap"..),
> if the configuration in "routes.py" is "just right".
>
> Has anybody done this ?
>
> Bernd
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---