我更改了Apache的配置并将“ 127.0.0.1 kinomonster.com”添加到“ C:\ Windows \ System32 \ drivers \ etc \ hosts”文件后,我的Apache不再启动,并抛出“ Apache意外关闭”。错误。我该如何解决?
我添加到Appache的配置(httpd.conf)中的记录:
DocumentRoot D:\Program Files\xampp\htdocs\kinomonster
ServerName kinomonster.com
ServerAdmin admin@kinomonster.com
<Directory "D:\Program Files\xampp\htdocs\kinomonster">
Options Indexes FollowSymLinks
Allow from all
Require all granted
IndexIgnore /
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php
</Directory>
</VirtualHost>
我希望Apache已启动,但没有错误:
This may be due to a blocked port, missing dependencies,
improper privileges, a crash, or a shutdown by another method.
Press the Logs button to view error logs and check
the Windows Event Viewer for more clues
If you need more help, copy and post this
entire log window on the forums