Can't make changes to httpd.conf

Discussion in 'Apache' started by blakekr, Sep 15, 2008.

  1. #1
    I have root, and cpanel.

    Back in the old days when I used to mess around with Apache more regularly, editing the httpd.conf file was simple: you edited it and restarted apache.

    Now apparently it is much more complicated and for the life of me I cannot get changes to "stick" to my vhost in httpd.conf. I am trying to turn off logging.

    I have edited:
    /var/cpanel/templates/apache2/vhost.default

    and:
    /usr/local/apache/conf/sites/[myvhost].conf
    /usr/local/apache/conf/sites/www.[myvhost].conf

    But whenever I run /usr/local/cpanel/bin/apache_conf_distiller --update and /usr/local/cpanel/bin/build_apache_conf as directed my log changes do not make it into httpd.conf. :mad:

    How do I get any changes in there? It doesn't appear that you can edit things like log files in vhosts using easyapache either.
     
    blakekr, Sep 15, 2008 IP
  2. nimhost

    nimhost Active Member

    Messages:
    235
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #2
    as long as i know the vhost directive was written at file httpd.conf
    and to make the changes available just restarting the httpd service :)
     
    nimhost, Sep 15, 2008 IP
  3. imagize

    imagize Peon

    Messages:
    48
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #3
    imagize, Sep 23, 2008 IP
  4. HostPenguin

    HostPenguin Peon

    Messages:
    68
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Hi,

    You will need to make the changes in here...

    /etc/httpd/conf
     
    HostPenguin, Oct 1, 2008 IP