The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Page_Not_Found_Handler

Discussion in 'General Discussion' started by fairplay, Oct 6, 2003.

  1. fairplay

    fairplay Member

    Joined:
    Sep 16, 2003
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Can you help me!
    I created handler.htm in my website, ex: http://mywebsite.com. Some links ex: http://mywebsite.com/question.htm, but this file is not exists. And my handler.htm file will be show instead of error page.
    So can you help me, how to do this? (copy handler.htm to where?)

    cPanel.net Support Ticket Number:

    cPanel.net Support Ticket Number:
     
  2. Jemshi

    Jemshi Well-Known Member

    Joined:
    Sep 11, 2003
    Messages:
    210
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    place the handler.htm in your public_html and add the following line in .htaccess

    ErrorDocument 404 http://yourwebsite.com/handler.htm

    That should work.

    cPanel.net Support Ticket Number:
     
  3. fairplay

    fairplay Member

    Joined:
    Sep 16, 2003
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Thanks!

    Thanks!

    cPanel.net Support Ticket Number:
     
  4. Jemshi

    Jemshi Well-Known Member

    Joined:
    Sep 11, 2003
    Messages:
    210
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    no problem :)

    cPanel.net Support Ticket Number:
     

Share This Page