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.

create global error document page

Discussion in 'General Discussion' started by tiff2342, Nov 30, 2012.

  1. tiff2342

    tiff2342 Well-Known Member

    Joined:
    Apr 20, 2012
    Messages:
    140
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    where and how can i create global error document pages under httpd.conf without them being overwritten?

    if users create their own errordocuments under .htaccess they override the globals right?
     
  2. STS Admin

    STS Admin Well-Known Member

    Joined:
    Jul 8, 2012
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Edit the below file and set path to your own custom pages
    Code:
    /usr/local/apache/conf/includes/errordocument.conf
    Yes they can override it using .htaccess
     
Loading...

Share This Page