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