If you have an issue in the httpd.conf or any files included by it there are a couple of ways to find out what the problem is
First look at your Windows Event Viewer
. Click on the Windows
link in the menu on the left, and then submenu Applications
.
Look for messages from Apache with the red error icon.
Secondly, open a command window, then CD into wampinapacheapache2.x.yin, replace x,y with your actual version.
Now you can run this command to get Apache(httpd) to vaidate the httpd.conf file.
httpd.exe -t
This should give errors with line numbers related to the http.conf file.
It stops on the first error, so you will have to keep running it and fixing the error and then run it again until it gives the all OK message.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…