how would I redirect to a plain static web page that displays "This Web2py
app is temporarily down while we install updates"? Could I redirect to
another site? Is there code to sense when site is broken then automatically
redirects users?
I use pythonanywhere.com, redirect through a SSL service and my routes.py
looks like:
#!/usr/bin/python
# -*- codingf-8 -*-
routers = dict(
# base router
BASE=dict(
default_application='myDomain',
domains={'www.myDomain':'myDomain'}
),
)
thanks,
Alex Glaros
--
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/f4612741-b3ea-4ad5-a14e-7e7a7a569d3a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.