Hi,
This had been a working installation running a few separate apps under a
single web2py instance.
First I clicked the upgrade button from within the admin interface hoping
it would go as smoothly as it usually does on my local PC and restarted the
server.
Instantly started getting Internal Server Error whenever I try to access
any application running on the web2py instance.
I then tried manually overwriting the web2py folder with files from the
latest stable version. No change.
Then I tried renaming the routes.py file and the apps become accessible.
If I change the name back, even if the contents are fully commented out,
the Internal Server Error remains.
The only issue with this is that the main app on that server is set as the
default in the routes.py file and therefore does not run properly due to
URL configuration used.
Here are the contents of the routes.py file:
routers = dict(
BASE = dict(
default_application='mainapp',
domains = {
'mainapp.me': 'mainapp',
'www.mainapp.me': 'mainapp',
'45.45.45.45/other': 'other',
'45.45.45.45/another': 'another',
},
),
)
Any help is appreciated as its been a couple of days and I've made little
progress.
Thanks in advance.
Valdeck
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/web2py/43741717-6191-43bd-a2ad-4a7663bfbd0e%40googlegroups.com.