标签:
# #localhost # <VirtualHost *:80> DocumentRoot "D:/software/wamp/www" ServerName localhost <Directory "D:/software/wamp/www"> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> </VirtualHost> # #用ip地址访问 # <VirtualHost *:80> DocumentRoot "d:/Users/liujin/Desktop/public" ServerName 192.168.13.113 <Directory "d:/Users/liujin/Desktop/public"> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> </VirtualHost> # #用域名访问 # <VirtualHost *:80> DocumentRoot "d:/Users/liujin/Desktop/public" ServerName www.public.com <Directory "d:/Users/liujin/Desktop/public"> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> </VirtualHost>
标签:
原文地址:http://www.cnblogs.com/liujin0505/p/5449599.html