[root@kvm6 ~]# grep '^Alias' /etc/httpd/conf/httpd.conf Alias /dyw /mnt/www Alias /icons/ "/var/www/icons/" Alias /error/ "/var/www/error/"
<Directory /> Options FollowSymLinks AllowOverride None </Directory>
[root@kvm6 ~]# mkdir /mnt/www [root@kvm6 ~]# echo 'abc' > /mnt/www/c.html
[root@kvm6 ~]# /etc/init.d/httpd reload Reloading httpd: [root@kvm6 ~]# curl -s http://kvm6.deyu.wang/dyw/c.html abc
<Directory /> Options FollowSymLinks AllowOverride None Order Deny,Allow Deny from all </Directory>
[root@kvm6 ~]# /etc/init.d/httpd reload Reloading httpd:
[root@kvm6 ~]# curl -s http://kvm6.deyu.wang/dyw/c.html | sed -e 's/<[^>]*>//g' -e '/^$/d' 403 Forbidden Forbidden You don't have permission to access /dyw/c.html on this server.