Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.