Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Apache ErrorDocument Paths

Discussion in 'EasyApache' started by mickalo, Dec 15, 2006.

  1. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    778
    Likes Received:
    4
    Trophy Points:
    318
    Location:
    N.W. Iowa
    Hello,

    we're using Apache 1.3.37 and trying to setup a 401 and 403 ErrorDocument in the httpd.conf but if we use a full url we get the following error message:

    notice - cannot use a full URL in a 401 ErrorDocument directive --- ignoring!

    we also get the same error if we use this format in a htaccess file? How can we get around this. We're trying to setup a system wide 401 and 403 error page incase a particular domain doesn't have one setup.

    thx's
    Mickalo
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. vinodchacko

    vinodchacko Member

    Joined:
    Oct 3, 2005
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    God's Own Country
    cPanel Access Level:
    Root Administrator
    youo can set it from cpanel

    are you trying to get it working for a single domain ? if yes you can do it in the " cpanel -> Error pages ". just paste your custom html code in the space given and do as directed.

    Vinod
     
  3. flash7

    flash7 Well-Known Member

    Joined:
    Feb 16, 2004
    Messages:
    201
    Likes Received:
    0
    Trophy Points:
    166
    Read the Documentation: http://httpd.apache.org/docs/1.3/mod/core.html#errordocument
     
  4. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    778
    Likes Received:
    4
    Trophy Points:
    318
    Location:
    N.W. Iowa
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice