test apache configuration file without restarting apache webserver

You can test apache configuration files without restarting the webserver (pretty useful if you don’t want to crash your site!), do as follow:

  1. make your changes to configuration files
  2. run “sudo apache2ctl configtest”
  3. If everything is ok, you should see “ok”

[sources]

  • http://httpd.apache.org/docs/2.0/configuring.html

Post a Comment

Your email is never published nor shared. You're allow to say what you want...