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.

Apache ErrorDocument Paths

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

  1. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    765
    Likes Received:
    2
    Trophy Points:
    18
    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
     
  2. vinodchacko

    vinodchacko Member

    Joined:
    Oct 3, 2005
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    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:
    203
    Likes Received:
    0
    Trophy Points:
    16
    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:
    765
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    N.W. Iowa
Loading...

Share This Page