#!/usr/bin/python
# -*- coding: utf-8 -*-

routers = dict(
  BASE  = dict(
      domains = {
          'domain.com' : 'App',
          'www.domain.com' : 'App',
          '111.111.111.111/test' : 'test',

      }
  ),
  App = dict(
  root_static=['BingSiteAuth.xml','googlea0df30fe6baf4df4.html',
'f8d6b8.html','favicon.ico','Favicon.ico', 'robots.txt','humans.txt']
  )
)


routes_onerror = [
    ('App/*', '/App/default/error_site')
    ]

logging = 'warning'




On Monday, May 23, 2016 at 6:20:41 PM UTC+2, BlueShadow wrote:
>
> I reinstalled pretty much everything on my Server new OS newest web2py ... 
> and got my application back and running :-) but web2py uses still the 
> default routes.py.
> when I copied my old routes.py to the web2py root I got an internal server 
> error. I thought well lets use the example file copied it to root and 
> renamed it to routes.py same thing. when I remove the routes.py it woks 
> (welcome app at domain and app at domain/app)
>
> any suggestions or help is very welcome :) 
>

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to