Jump to content

Can't get changes to stick in httpd.conf


blakekr

Recommended Posts

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 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 (except error) to improve server performance.

 

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 changes do not make it into or get written out of httpd.conf.

 

How do I get changes in there? It doesn't seem that you can edit  log file directives in vhosts using easyapache either.

Link to comment
https://forums.phpfreaks.com/topic/124391-cant-get-changes-to-stick-in-httpdconf/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.