EasyApache 3 and /usr/local/apache/conf/httpd.conf
Hello,
I modified my /usr/local/apache/conf/httpd.conf file to stop /cpanel and /webmail from working (Rename /cpanel or /WHM become /newname).
I ran the following command
and things are working as intended even upon regeneration of the config file. However, my changes are lost whenever I run EasyApache. Is there any way to conserve my changes?
/usr/local/cpanel/bin/apache_conf_distiller --update
and things are working as intended even upon regeneration of the config file. However, my changes are lost whenever I run EasyApache. Is there any way to conserve my changes?
-
Hello, You can try using the include editor to ensure the changes are preserved. Documentation on this is found at: Include Editor - Documentation - cPanel Documentation Thank you. 0 -
Thanks, but how do I ensure that lines deleted from httpd.conf don't reappear whenever I run EasyApache? I deleted the lines which make /cpanel, /webmail, etc. URLs work and I don't want them automatically added back to httpd.conf.
Changes to the Apache configuration that you preserve will remain after updates. Here's an additional document that explains the different methods of preserving the changes: Advanced Apache Configuration - EasyApache - cPanel Documentation Thank you.0
Please sign in to leave a comment.
Comments
3 comments