httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <>
Subject Re: [users@httpd] 503 response with mod_rewrite?
Date Tue, 22 Aug 2006 13:42:23 GMT
On 8/22/06, Evaldas Imbrasas <> wrote:
> Hi all,
> Is there a way to return a custom document along with a 503 Network
> Unavailable response code using mod_rewrite rules? The documentation
> mentions the ability to return 3xx and 4xx, but not 5xx. If 5xx codes
> are unavailable - is there a specific reason why?
> In case you're wondering why I would like to return a 503 code -
> Google recommends returning it for 'down for maintenance' pages:

I don't think mod_rewrite can do it.  (I haven't tried it, but the
code seems to enforce 3xx on the R flag.)  But it is easier with
mod_alias anyway:

Redirect 503 /


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