Sometimes I make some modification to my site’s apache config and apache stops functioning, but I cannot get enough information from /var/log/apache2/error.log. Here’s a command that will tell you where the problem is:
sudo /usr/sbin/httpd -k start -e Debug -E /dev/stdout
It starts apache for debugging and prints out the messages on screen, so that hopefully you can find something useful.
Comments