Hi!
I need to use one of my web2py application as a reverse proxy to browse
some web pages served by other systems.
Google-ing for it I found this[1] old documentation page who says:
" web2py supports URL rerwite although this is not really recommended.
You should really use Apache (or lighttpd) +
That link is outdated, check
this: http://web2py.com/books/default/chapter/29/04/the-core#URL-rewrite
And for www.example.com/someapp/default/index to www.example.com/
you only need to do:
routers = dict(
BASE = dict(default_application='someapp'),
)
--
Resources:
- http://web2py.com
- h
http://www.web2py.com/AlterEgo/default/show/42 says:
"web2py supports URL rerwite although this is not really recommended. You
should really use Apache (or lighttpd) + mod_proxy (or mod_rewrite) for
this purpose. Moreover rewriting web2py urls can break links in
applications. So *do not do
Is it possible to rewrite a URL according to preferred language of browser?
I mean if the browser's preferred language is, for example, English then
rewrite example.com/app/controller/index to
example.com/app/en/controller/index. In routes.py I could set up languages
but if I set default_langua
On May 17, 2012, at 5:21 AM, yus wrote:
> I am using web2py for a multilingual web-site with.
>
> I want to manage language setting the same way that it is managed in the
> admin application (that is through session and cookies I guess), but at the
> sale time I want the language to be explicitl
I am using web2py for a multilingual web-site with.
I want to manage language setting the same way that it is managed in the
admin application (that is through session and cookies I guess), but at the
sale time I want the language to be explicitly indicated on the url
structure as
mysi
I am using web2py for a multilingual web-site with.
I want to manage language setting the same way that it is managed in the
admin application (that is through session and cookies I guess), but at the
sale time I want the language to be explicitly indicated on the url
structure as
Hi ,
I was using rewrite for making the URL reader friendly . When I use a space
or hypen in the URL instead of passing it to the controller , it gives an
invalid request .
I have configured the routes as follows
routes_in = (( r'/$id/$name' , r'/app/default/view/$id/$name') )
routes_out = ( (
On Jun 16, 2010, at 11:36 AM, Michelle Jun wrote:
> i am wondering if i can do these things
>
> for example, i have list of businesses url links (this is generated
> from my web2py default)
>
> http://domain.com/default/business/8
> http://domain.com/default/business/9
> http://domain.com/defaul
hi
i am wondering if i can do these things
for example, i have list of businesses url links (this is generated
from my web2py default)
http://domain.com/default/business/8
http://domain.com/default/business/9
http://domain.com/default/business/10
http://domain.com/default/business/11
http://doma
10 matches
Mail list logo