Hi Petr & Daniel,Initially I tried with ErrorDocument but it didn't help. So, I tried Redirect.We are using Java based CMS application. (Apache HTTP WebServer -> Tomcat Server -> CMS System-> DataBase). and VirualHost to connect Application Server (WeB & App on different Servers)I followed documents but something went wrong and I tried this ErrorDocument in httpd.conf didnt work, then I tried with virtualHost.conf, this also not working.--On Tue, Oct 4, 2016 at 5:26 PM, Daniel <dferradal@xxxxxxxxx> wrote:Hello,Redirect takes at least 2 arguments, a request and a destination. This directive depends on mod_alias module.Eg: Redirect /something /otherthingThis will redirect if someone requests /something /somethingblablabla to /otherthing or /otherthingblablablaErrorDocument is a core directive (no extra modules needed) and takes 2 arguments and is used this way:Eg: ErrorDocument 404 /path/to/404errorpage.htmlThis path is relative to DocumentRoot.For further reference please use the official docs:--2016-10-04 14:18 GMT+02:00 Petr Gajdos <pgajdos@xxxxxxx>:Hello,
On Tue, Oct 04, 2016 at 02:54:45PM +0300, Jayaram Ponnusamy wrote:
> Redirect 404 /sites/en_US/404
> ErrorDocument 404 /sites/en_US/404
not sure what you want to achieve with Redirect directive, but an
example how to use ErrorDocument directive is here:
https://github.com/pgajdos/apache-rex/tree/master/core-Error Document-basic
Petr
------------------------------------------------------------ ---------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
Thanks & Regards,
Jayaram Ponnusamy