Customized 404 is not working

Discussion in 'Apache' started by JMaste, Aug 9, 2010.

  1. #1
    Hi,

    I have created a customized 404.html file under web/www/ directory. Now when I add:
    ErrorDocument 404 /web/www/404.html in httpd.conf and restart the server, instead of showing the customized 404 page the browser still shows the default 404 page with one more line:
    "Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."

    I am sure that I have typed right path to the file. In addition when I just add ErrorDocument 404 "Sorry! couldn't find the page" in httpd.conf, it works perfect.

    Any help will be much appreciated.

    Thanks.
     
    JMaste, Aug 9, 2010 IP
  2. JMaste

    JMaste Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Issue solved....
     
    JMaste, Aug 9, 2010 IP