Hi all, me again, with another problem.
My cgi script works well at the moment and is almost complete. I only have one more hurdle to get over:
The user enters some info in a form and the form gets sent for processing. Using the information I modify the httpd.conf file. That goes all well. But now that I have modified the httpd.conf file a reload of apache is required so that it uses the updated configuration file. I have tried a few different commands, like:
/etc/rc.d/init.d/httpd restart
kill -HUP $(cat /var/run/httpd.pid)
The first one should have done it, but everytime I use one of these commands my webpage enters into an infinite loop where it keeps on saying connecting to... and then sending...
If I hash out the restart command the web page gets processed successfully, but apache isn't using the updated configuration file.
What must I do? I have searched the web long and hard. I only hope someone has the answer over here.
Thanks alot for all your time and effort.
A very inexperienced perl programmer.
My cgi script works well at the moment and is almost complete. I only have one more hurdle to get over:
The user enters some info in a form and the form gets sent for processing. Using the information I modify the httpd.conf file. That goes all well. But now that I have modified the httpd.conf file a reload of apache is required so that it uses the updated configuration file. I have tried a few different commands, like:
/etc/rc.d/init.d/httpd restart
kill -HUP $(cat /var/run/httpd.pid)
The first one should have done it, but everytime I use one of these commands my webpage enters into an infinite loop where it keeps on saying connecting to... and then sending...
If I hash out the restart command the web page gets processed successfully, but apache isn't using the updated configuration file.
What must I do? I have searched the web long and hard. I only hope someone has the answer over here.
Thanks alot for all your time and effort.
A very inexperienced perl programmer.