vi /etc/apache2/sites-enabled/000-default
# Alias /doc/ "/usr/share/doc/"
# <Directory "/usr/share/doc/">
# Options Indexes MultiViews FollowSymLinks
# AllowOverride None
# Order deny,allow
# Deny from all
# Allow from 127.0.0.0/255.0.0.0 ::1/128
# </Directory>
重启apache
网站目录权限755
本文出自 “freeterman” 博客,请务必保留此出处http://myunix.blog.51cto.com/191254/1542023
ubuntu apache 403错误,布布扣,bubuko.com
原文地址:http://myunix.blog.51cto.com/191254/1542023