[web2py] Re: Server konfigurations basics redirects

2013-02-11 Thread BlueShadow
OK the routes.py option sounds pretty promissing. still I will have a problem when I start my second app. So what do I do if I got two domainnames? And I would like to hide the application name if it is possible. So www.dname1.com= ip/App1/ and www.dname2.com= ip/App2/ On Monday, February

[web2py] Re: Server konfigurations basics redirects

2013-02-11 Thread Emilius Omeen
my english not so good, but maybe I suggest way to solve http://web2py.com/books/default/chapter/29/04#URL-rewrite So you can now have language-specific static files, including images, if you need to. Domain mapping is supported as well: routers = dict( BASE = dict( domains = {

[web2py] Re: Server konfigurations basics redirects

2013-02-10 Thread Emilius Omeen
rename your application to init or edit /web2py/routes.py default_application = 'your application name'# ordinarily set in base routes.py default_controller = 'default' # ordinarily set in app-specific routes.py default_function = 'index' # ordinarily set in app-specific routes.py