After upgrade the apache to 2.4, the virtual host does not work and returns the following error.
AH01630: client denied by server configuration
Solution:
Need to add the following line to resolve the error.
<VirtualHost *:90>
ServerAdmin xxx@gmail.com
DocumentRoot "X:/XXX/XXX"
<Directory X:/XXX/XXX />
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
Allow from all
Require all granted
</Directory>
ErrorLog "logs/error.log"
CustomLog "logs/access.log" common
</VirtualHost>
沒有留言:
張貼留言