views:

30

answers:

1

Hello,

Do I need to restart httpd after changes in the httpd.conf file for changes to take effect?

Thanks Jean

+2  A: 

Yes. HTTPD.conf is read on apache start-up, so for any changes to take affect you need to restart it.

Codemwnci
You can do `service httpd reload`, so apache will not be down.
NARKOZ
@narkoz service does not exist so useing /etc/init.d/httpd status/restart
Jean
@codemwnci I did a redirect, but restarting also does not solve the issue...what could be wrong. I have logged in as root.
Jean
If your changes are not taking effect after restart, it is possible that your httpd.conf is incorrect.
Codemwnci
Jean, `/etc/init.d/httpd reload`
NARKOZ