#!/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'
#!/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 a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/PDw01ZLpUqY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
And, what is the error?
To unsubscribe from this group and all its topics, send an email to web2py+unsubscribe@googlegroups.com.
--
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 a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/PDw01ZLpUqY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+unsubscribe@googlegroups.com.
Os: ubuntu 16.04. Webserver: Nginx
Os: ubuntu 16.04. Webserver: Nginx url: www.movie-alarm.de