0
我使用XAMPP在Windows机器上直接IP接入和我已经添加了这个代码到httpd.conf
文件:试图阻止与Apache
<VirtualHost *:80>
ServerName 23.23.23.23.23
Redirect 403/
ErrorDocument 403 "No"
DocumentRoot C:/xampp/htdocs
UseCanonicalName Off
UserDir disabled
</VirtualHost>
当我试图重新启动Apache我得到这个错误:
11:15:02 AM [Apache] Error: Apache shutdown unexpectedly.
11:15:02 AM [Apache] This may be due to a blocked port, missing dependencies,
11:15:02 AM [Apache] improper privileges, a crash, or a shutdown by another method.
11:15:02 AM [Apache] Press the Logs button to view error logs and check
11:15:02 AM [Apache] the Windows Event Viewer for more clues
11:15:02 AM [Apache] If you need more help, copy and post this
11:15:02 AM [Apache] entire log window on the forums
如果我从httpd.conf
文件中删除代码,它将开始。这里发生了什么事?
任何帮助,将不胜感激。 –