[web2py] Help on rewrite using parameter-based

2012-12-17 Thread Tito Garrido
Hi Folks! I have a bunch of domain using the same application so I have something like: routers = dict( BASE = dict( domains = { 'domain1.net' : 'app/principal', 'www.domain1.net' : 'app/principal', 'domain2.net.br' : 'app/principal', 'www.domain2.n

[web2py] help on rewrite

2011-11-18 Thread Niphlod
Hi @all, I have a small problem with routes.py and the routes_onerror parameter. Basically I have one and only application "mounted" in the webserver and I'd like to strip the "application" part from all urls. Leave alone the redirections for static folder, favicon, robots, sitemap etc, this