[Hejes-devel] [709] modified routes.py.down to route all subpages to down_for_maintenance

hejes-devel at nytud.hu hejes-devel at nytud.hu
Mon May 6 20:10:30 CEST 2013


Revision: 709
Author:   mihaltz
Date:     2013-05-06 20:10:29 +0200 (Mon, 06 May 2013)
Log Message:
-----------
modified routes.py.down to route all subpages to down_for_maintenance

Modified Paths:
--------------
    trunk/web2py/routes.py.down

Modified: trunk/web2py/routes.py.down
===================================================================
--- trunk/web2py/routes.py.down	2013-05-06 17:41:34 UTC (rev 708)
+++ trunk/web2py/routes.py.down	2013-05-06 18:10:29 UTC (rev 709)
@@ -7,8 +7,9 @@
 #
 #   routes_in=( (r'/static/(?P<file>[\w./-]+)', r'/init/static/\g<file>') )
 #
-routes_in = ((r'.*:/favicon.ico', r'/helyesiras/static/favicon.ico'),
-             (r'.*:/robots.txt', r'/helyesiras/static/robots.txt'))
+routes_in = ((r'.*:/favicon.ico', r'/helyesiras_webdev/static/favicon.ico'),
+             (r'.*:/robots.txt', r'/helyesiras_webdev/static/robots.txt'),
+             (r'.*/helyesiras.*', r'/down_for_maintenance'))
 
-# This sets the default web2py application to the down_for_maintenance application
+# This sets the default web2py application (MM)
 default_application = "down_for_maintenance"




More information about the Hejes-devel mailing list