httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron W Morris <>
Subject Re: [users@httpd] Error 503
Date Sat, 24 Apr 2004 03:50:52 GMT
Anton Krall wrote:

> Guys, how can I configure apache to return a 503 maintenance error when Im
> about to do maint on my site?
> Can this be done for certain IP requests?
> Thx!

I've done this in the past to accomplish this:
<Location />
Order deny,allow
Deny from all
Allow from x.x.x.x
Allow from y.y.y.y

<Location /maintenance_pages/>
Order deny,allow
Allow from all

ErrorDocument 403 /maintenance_pages/index.html

Where x.x.x.x and y.y.y.y would be IPs you would like to allow access 
during maintenance.  It may be ugly, but it works.

Aaron W Morris <> (decep)

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message