Re: [arch-general] [arch-dev-public] FluxBB update round two
On 10.08.2010 07:05, Dan McGee wrote:
Order deny,allow Deny from all Allow from 99.140.196.156 ErrorDocument 403 "<html><head><title>Down for maintenance</title></head><body><div align='center'><h1>The Arch Linux main site is down for maintenance.<br />Please try again later.</h1><img src='http://dev.archlinux.org/~dan/funny-pictures-cat-wonders-if-he-is-broken.jpg' /></div></body></html>"
-Dan
I suggest using the correct error code (503) which prevents bots from indexing the error page: RewriteEngine On RewriteCond %{REQUEST_URI} !^/error/.*$ RewriteCond %{REMOTE_ADDR} !^127\.0\.0\.1$ Header always set Retry-After "3600" RewriteRule .* - [R=503] ErrorDocument 503 "<same as above>" This only allows the access to /error/ (if not needed just remove the line) or from the IP (multiple IPs -> multiple lines or matching regexps) -- Florian Pritz -- {flo,bluewind}@server-speed.net
participants (1)
-
Florian Pritz