我读过这篇文章How to Set AllowOverride all
我打开/etc/apache2/apache2.conf 以下代码无法在apache2.conf中找到 所以我自己添加下面的代码。
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
当我打开我的网站时,下面显示错误。
我自己添加它,但运行apache重启后我的网站已关闭。
Internal Server Errror
The server encountered an internal error or misconiguration and was unable to complete your request.
Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have cause the error.
More information about this error may be available in the server error log.
有什么问题?