Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Dec 2006
    Posts
    51

    Default Http.conf updatge and error pages

    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. #2
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    Quote Originally Posted by dmgens View Post
    In what script is this done and how can I disable it or better still Add my ErrorDocument directives to it?
    It is: /usr/local/cpanel/APACHE_CONFIG
    Andy Reed
    RHCE and CCNA
    ServerTune.com

  3. #3
    Member
    Join Date
    Dec 2006
    Posts
    51

    Default Thanks fopr the info

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

  4. #4
    Registered User
    Join Date
    May 2008
    Posts
    6

    Thumbs up 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

Similar Threads & Tags
Similar threads

  1. Can not find error pages extensions in httpd.conf
    By tranthu1983 in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 01-17-2010, 11:46 PM
  2. why php pages not working with http://ip/~username
    By Morry in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 05-09-2008, 02:40 PM
  3. problem with httpd.conf and error pages
    By dmgens in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-19-2007, 05:05 PM
  4. http conf error?
    By NocTurNalFX in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 06-19-2005, 12:43 PM
  5. Adding Custom Error Pages for non-existant pages
    By YukFoo in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 09-16-2002, 03:07 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube