0
我想在xampp上設置我的項目。HTTP錯誤500?
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs/test/public"
ServerName testproject.dev
ErrorLog "logs/dummy-host2.example.com-error_log"
CustomLog "logs/dummy-host2.example.com-access_log" common
<Directory "/Applications/XAMPP/xamppfiles/htdocs/test/public">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
我在httpd.conf中爲虛擬主機取消註釋行,但stil即獲得錯誤500.任何建議?我使用MAC OS。
此外,在主機我說:
127.0.0.1 testproject.dev
如何啓用apache日誌記錄? – None
@None http://httpd.apache.org/docs/ – bahrep