|
Forbidden Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
解决办法: 方法一: vim /etc/selinux/config 打开selinux的配置文件,我们可以看selinux是默认开启的:
所以我们要修改的就是这个了,把原来的注释掉,自己写上
方法二: 在apache2.4.X 找到httpd.conf
<Directory />
Options FollowSymLinks
AllowOverride None
### Order deny,allow
### Deny from all
Order allow,deny
Allow from all
Satisfy all
</Directory>
此方法在apache 2.4中实现 (责任编辑:IT) |
