httpd.conf change
hello I have a problem I edit my httpd.conf to my server execute .cgi file for some site but every day at 8am this file is changed and clears touts the change is that you can help me solved this problem (distrubtion centos6 64bit) thank you in advance
-
When you edit the /usr/local/apache/conf/httpd.conf file directly, you'll need to run the command below which will run the cPanel Apache Distiller. This will prevent cPanel and Apache from removing any changes you made whenever Apache gets recompiled again. /usr/local/cpanel/bin/apache_conf_distiller --update
Don't forget that you also need to run/scripts/rebuildhttpdconf
To tell cPanel to rebuild the apache configuration file.0 -
Hello I made this statement but today as usual all changes are deleted 0 -
Did you follow the documentation link posted by @cPanelMichael correctly? 0 -
Hello I made this statement but today as usual all changes are deleted
Could you let us know the specific changes that you made, and how you made them? Thank you.0 -
I made the configuration to execute .cgi file I have but the cgi script under the folder at the root of my site Could you let us know the specific changes that you made, and how you made them? Thank you.
0 -
Did you follow the documentation link posted by @cPanelMichael correctly?
yes0 -
I made the configuration to execute .cgi file I have but the cgi script under the folder at the root of my site
For instance, what specific configuration changes did you make, and what specific method did you use to preserve the changes? Thank you.0 -
For instance, what specific configuration changes did you make, and what specific method did you use to preserve the changes? Thank you.
Hello, AddHandler cgi-script .cgi .pl scriptAlias /cgi/usr/ scriptAlais /cgi-bin/ "/usr/local/apache/cgi-bin" Options ExecCGI Order allow,deny Allow from all Thank you0 -
Hello, Could you elaborate on the purpose of adding these entries? Did your CGI scripts not already work by default? Also, you did not mention how you saved the changes. Thank you. 0
Please sign in to leave a comment.
Comments
10 comments