LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   running httpd.conf without restarting apache (https://www.linuxquestions.org/questions/linux-newbie-8/running-httpd-conf-without-restarting-apache-302301/)

mpower 03-16-2005 09:59 AM

running httpd.conf without restarting apache
 
Hello,

I read how to do this many moons ago and i forgot it. I tried to search for it again but to no avail. Does anyone know how to test apache httpd.conf file without having to restart it? I use to know the command and it was a fairly easy one- it read the conf file to see if there were possible errors.

Thankx

swatward 03-16-2005 12:13 PM

Need more info
 
What do you mean exactly?
Vi httpd.conf
service httpd restart
what are you trying to do?

bathory 03-16-2005 12:39 PM

To test httpd.conf run
Code:

httpd -t
For more options: httpd -h

mpower 03-16-2005 05:20 PM

thankx!


All times are GMT -5. The time now is 03:48 PM.