httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Conner <...@conman.org>
Subject Re: [users@httpd] Custom 500 error page
Date Fri, 10 Nov 2006 03:12:01 GMT
It was thus said that the Great Ricky Zhou once stated:
> 
> Sean Conner wrote:
> > 
> > 	ErrorDocument	503	/errors/503.shtml
> > 	Redirect	503	/
> > 
> When you made everything return a 503, that included the error page,
> hence the additional 503 error.  I'm not sure if this is the
> best/recommended way, but if you use a RedirectMatch to match everything
> but /errors/503.shtml, the error page will work.

  I attempted to do that, but my regex skills apparently weren't up to the
task (that attempt was commented out in the configuration I sent).

  -spc (Well, I tried to match anything under the /errors subdirectory
	but ... )




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message