logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Custom erro page for specific alias
Author
Qmpeltaty



Joined: 06 Feb 2008
Posts: 182
Location: Poland

PostPosted: Wed 22 Sep '10 11:53    Post subject: Custom erro page for specific alias Reply with quote

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: 7355
Location: Germany, Next to Hamburg

PostPosted: Wed 22 Sep '10 23:08    Post subject: Reply with quote

I think you could can define the custom error page in Location

Code:

<Location /url/>
ErrorDocument 503 /custom-503.html
</Location>
Back to top


Reply to topic   Topic: Custom erro page for specific alias View previous topic :: View next topic
Post new topic   Forum Index -> Apache