在/var/www/html中新建文件夹mrtg,但是通过apache服务器,却无法访问mrtg文件夹中的内容,假设apache服务器配置的IP地址为192.168.0.1,在地址栏中输入http://192.168.0.1/mrtg 访问时,出现Forbidden
You don't have permission to access /mrtg/ on this server.
解决方法:
cd /etc/httpd/conf.d
vi mrtg.conf
在打开的文件中你将看到以下信息:
# This configuration file maps the mrtg output (generated daily)
# into the URL space.