httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manish Rangari <linuxtricksfordev...@gmail.com>
Subject [users@httpd] Redirect apache proxy 404 request to specific page
Date Wed, 22 Jun 2016 17:03:39 GMT
Hello Guys,




down votefavorite
<http://stackoverflow.com/questions/37938692/redirect-apache-proxy-404-request-to-specific-page#>


I am trying to specify a page for 404 request but it is not working. Here
apache is acting as a reverse proxy which forwards the request to tomcat. I
am not using any virtual host configuration. Below is my configuration that
I am using

<LocationMatch "^/(application|app)">
        ErrorDocument 404 /application/abc/def.htm
</LocationMatch>

Apache is also hosting few php pages but /application and /app goes to
tomcat.

Mime
View raw message