Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Custom erro page for specific alias |
|
Author |
|
Qmpeltaty
Joined: 06 Feb 2008 Posts: 182 Location: Poland
|
Posted: Wed 22 Sep '10 11:53 Post subject: Custom erro page for specific alias |
|
|
Hi
I have error 503 custom page configured in httpd.conf
Is there any way to configure different custom page for one specific alias ?
The thing is that this alias is not available on htdocs directory tree - the request for this alias is being redirected to JBoss application server by mod_jk apache module. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Wed 22 Sep '10 23:08 Post subject: |
|
|
I think you could can define the custom error page in Location
Code: |
<Location /url/>
ErrorDocument 503 /custom-503.html
</Location>
|
|
|
Back to top |
|
|
|
|
|
|