httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] "redirect to maintenance page"
Date Tue, 03 Jun 2008 18:04:18 GMT
On Mon, Jun 2, 2008 at 4:35 PM, Sagar <sunilsagar31@gmail.com> wrote:
> Hi All,
> I need to make configuration on Apache installed on Windows Server 2003. To
> redirect to maintenance page.
> I have three application A, B and C. I access these application as
> http://<server-name>/<aplication name> for example http://<server-name>/A
> I have made a common maintenance redirect for error 404 and 500 and this
> redirects when any application goes down.
> Now I want to configure in such a way if my application A goes down then
> webserver should redirect a page which I have made for Application A and it
> would display "Application A is down for maintenance."
> Similarly if Application page B goes down it should redirect the some other
> maintenance page created for application B and C as well.

If I understand your question, the answer may be as simple as
<Location /A>
ErrorDocument 500 /errors/A500.html
</Location>
<Location /B>
ErrorDocument 500 /errors/B500.html
</Location>
etc.

Joshua.

---------------------------------------------------------------------
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