[Tracker-discuss] [issue80] Make it easy to display "down for maintenance" page, prerrably with a http status code that tells searchengines not to reindex page (503?)
Martin v. Löwis
metatracker at psf.upfronthosting.co.za
Tue Mar 27 00:13:48 CEST 2007
Martin v. Löwis added the comment:
For taking down the website, one way is to use the Apache asis module, e.g.
putting the attached file 'down' in a directory /www/asis, the adding a
configuration block
<Directory /www/asis>
SetHandler send-as-is
</Directory>
On server outage, add
Alias /foo /www/asis/down
This will report all URLs below /foo as in-maintenance, with a status code of
503.
Alternatively, a CGI script could generate the Status: output; the asis file is
parsed as if generated by a CGI script.
Not sure what happens to incoming email while the roundup instance is stopped.
______________________________________________________
Meta Tracker <metatracker at psf.upfronthosting.co.za>
<http://psf.upfronthosting.co.za/roundup/meta/issue80>
______________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: down
Type: application/octet-stream
Size: 197 bytes
Desc: not available
Url : http://mail.python.org/pipermail/tracker-discuss/attachments/20070326/32cc9dd6/attachment.obj
More information about the Tracker-discuss
mailing list