⒊建立/var/www/html/mrtg/index.html文件
HTML代码如下:
Switch Traffic Information
Switch Traffic Information
192.168.1.1 ACCELAR1200交换中心
...
192.168.1.6 办公楼
/A>
192.168.1.7 计算机房
⒋为Web服务器建立密码
以Red Hat 7.3自带的Apache 1.3.23为例进行说明。
⑴修改/etc/httpd/conf/httpd.conf。将下面代码:
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
改为以下代码:
Options Indexes FollowSymLinks
AllowOverride AuthConfig
Order allow,deny
Allow from all