Restart Apache On Redhat

The path to httpd on redhat 9 is /etc/init.d/httpd


You can run the following commands on it:

/etc/init.d/httpd configtest
/etc/init.d/httpd graceful
/etc/init.d/httpd restart
/etc/init.d/httpd stop
/etc/init.d/httpd start

I always run configtest before restarting to make sure I haven’t messed anything up.

Comments

We moved off of Disqus for data privacy and consent concerns, and are currently searching for a new commenting tool.

Contact Us

We'd love to hear from you. Get in touch!

Mail

P.O. Box 961436
Boston, MA 02196