在httpd.conf文件最后面,加入以下代码 (*.*.*.*为服务器IP地址):
NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot /www <Directory "/www"> Order deny,allow deny from all <Directory> </VirtualHost>
在httpd.conf文件最后面,加入以下代码 (*.*.*.*为服务器IP地址):
NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot /www <Directory "/www"> Order deny,allow deny from all <Directory> </VirtualHost>