Redirect apache proxy 404 request to specific page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Guys,


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.

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux