Thanx all,

it seems still to be the best, doing it in the load-balancer or web-server it 
self.
Just was curious, if there is a python/django way...

Thanks again

--
Hinnack

>reply to message:
>date: 14.03.2010 08:12:13
>from: "Jukka Välimaa" <valimaa.ju...@gmail.com>
>to: django-users@googlegroups.com
>subject: Re: site management - maintanance mode
>
>That could be done with Django using middleware, like with
>django-maintenancemode. Only instead of using settings file, the setting
>could be saved into database, and turned on and off in admin. The middleware
>reads the setting (preferably cached), and if maintenance mode is on,
>returns 503 error page with maintenance message. If setting is not on, the
>request is handled normally.
>
>Whether this would be preferable to using the server, I do not know.
>
>--Jukka
>
>On Sat, Mar 13, 2010 at 2:21 PM, Henrik Genssen 
><henrik.gens...@miadi.net>wrote:
>
>> Hi,
>>
>> I have a site that runs on more many hosts.
>> now hast someone an idea, how to put the whole site (on all hosts) in
>> "maintanance mode" (keep normal users outside with a nice hint) -
>> without reloading all webservers and not changing the load-balancer / proxy
>> config - meaning: is there a django/python way for it?
>>
>> regards
>>
>> Hinnack
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To post to this group, send email to django-us...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/django-users?hl=en.
>>
>>
>
>-- 
>You received this message because you are subscribed to the Google Groups 
>"Django users" group.
>To post to this group, send email to django-us...@googlegroups.com.
>To unsubscribe from this group, send email to 
>django-users+unsubscr...@googlegroups.com.
>For more options, visit this group at 
>http://groups.google.com/group/django-users?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to