MRTG graphic webpage access rejected

Source: Internet
Author: User
The following error occurs when you access a graphic webpage under MRTG: forbidden

You don't have permission to access/MRTG/10.8.254.20.254.html on this server.

Apache/2.2.3 (centos) server at 10.8.100.26 port 80This is because our network is not open to the outside world. The reason why we can open it during installation is because we use Remote Installation and can open the graphic web page without restarting.The solution is simple. /Etc/httpd/CONF. d/has a configuration file mrtg. cfg. VI
/Etc/httpd/CONF. d/mrtg. cfg

# This configuration file maps the MRTG output (generated
daily)
# Into the URL space. by default these results are only accessible
# from the local host.
#
alias/MRTG/var/www/html/MRTG


# order deny, allow
# deny F Rom all
allow from 127.0.0.1
allow from :: 1
# Allow from .example.com


Press And then restart httpd.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.