[arch-general] [arch-dev-public] FluxBB update round two

Florian Pritz bluewind at server-speed.net
Tue Aug 10 05:54:25 EDT 2010

On 10.08.2010 07:05, Dan McGee wrote:
>     Order deny,allow
>     Deny from all
>     Allow from
>     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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20100810/a870b790/attachment.bin>

More information about the arch-general mailing list