- 论坛徽章:
- 0
|
系统:Red Hat AS,已经按照系统默认安装好了Apache和mrtg,mrtg的配置也已完成,/var/www/html应该是Apache的www的默认主页地址吧,在/var/www/html/mrtg下有了mrtg生成的主页index.html,在浏览器中输入
127.0.0.1可以看到Apache的测试页面,但为什么输入127.0.0.1/mrtg/index.html出现错误提示:“403 Forbidden
You don't have permission to access /mrtg/index.html on this server.”
我试了一下,在httpd.conf中如果将DocumentRoot改为/var/www/html/mrtg/,在浏览器中输入127.0.0.1页面访问就没有问题,如果DocumentRoot是默认的/var/www/html/我输入127.0.0.1/mrtg/index.html就会有:“403 Forbidden
You don't have permission to access /mrtg/index.html on this server.”的错误。但是现在我不想把mrtg的主页设成默认主页,如何解决?
高手快来救我  |
|