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.

BUG? Cpanel overwriting httpd.conf

Discussion in 'General Discussion' started by garak, May 7, 2004.

  1. garak

    garak Active Member

    Joined:
    Jan 23, 2004
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    Hello!

    I'm really angry with Cpanel....
    I'm using SAFE_MODE ON in my PHP and for some domais I'm use safe_mode off :

    <VirtualHost xxx.xxx.xx.xx>
    ServerAlias www.somedomain.com somedomain.com
    ServerAdmin webmaster@somedomain.com
    DocumentRoot /home/somedomain/public_html
    BytesLog domlogs/somedomain.com-bytes_log
    <IfModule mod_php4.c>
    php_admin_value open_basedir "/home/somedomain/:/usr/lib/php:/usr/local/lib/php:/tmp"
    php_admin_value safe_mode 0
    </IfModule>
    ServerName www.somedomain.com
    User somedomain
    Group somedomain
    CustomLog domlogs/somedomain.com combined
    ScriptAlias /cgi-bin/ /home/somedomain/public_html/cgi-bin/
    </VirtualHost>


    BUT, every time that Cpanel update, my httpd.conf LOST the directives "php_admin_value safe_mode 0" in ALL virtual domains !!!

    It's absurd!

    Someone knows how to do for solve this issue?

    Thank you so much!
     
  2. justchil

    justchil Active Member

    Joined:
    Aug 1, 2003
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    I know this is an old thread but I have the same issue except its some stuff that coldfusion needs in my httpd.conf.. every time it updates my settings are gone and cf is broke :|
     
  3. abubin

    abubin Well-Known Member

    Joined:
    Dec 7, 2004
    Messages:
    393
    Likes Received:
    1
    Trophy Points:
    18
    if i am not mistaken, you can put this directive in .htaccess file. I don't think cpanel will update .htaccess file. But you have google around to be sure.

    Also, I am not sure if cpanel would do something dumb like over writing the httpd.conf file. It is common for users to customize their httpd.conf file. If they do change the file then it would be a very serious issue that everyone would be facing. I am guessing this would happen only when it is really neccessary.

    Don't know though..perhaps someone would like to give us the answer.
     
    #3 abubin, Jul 23, 2005
    Last edited: Jul 24, 2005
Loading...

Share This Page