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.

Http.conf updatge and error pages

Discussion in 'General Discussion' started by dmgens, May 9, 2007.

  1. dmgens

    dmgens Well-Known Member

    Joined:
    Dec 10, 2006
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    6
    Folks,

    when cpanel updates the httpd.conf file it adds a the aliases required to service cpanel as well as ErrorDocument directives. I have my own ErrorDocument directives and each time that coanel updates these are superseded by the panel ones.

    In what script is this done and how can I disable it or better still Add my ErrorDocument directives to it?

    Thanks for any help you can give me
     
  2. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    It is: /usr/local/cpanel/APACHE_CONFIG
     
  3. dmgens

    dmgens Well-Known Member

    Joined:
    Dec 10, 2006
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    6
    Thanks fopr the info

    Thank you ServerTune, for the information, I've checked out and will see if my "fix" works
    Thanks again
     
  4. MWMcons

    MWMcons Member

    Joined:
    May 28, 2008
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    Thanks for the solution!

    Thx AndyReed. This issue has been a big headache of mine for a while now. I even contacted my Host Provider who unfortunately provided no help.

    Now, do you have any clue how to stop cPanel from overwriting manual updates made to the /usr/local/cpanel/etc/httptemplates/apache1/ templates (both default and ssldefault)?

    Cheers! :)

    - MWM
     
Loading...

Share This Page