码迷,mamicode.com
首页 > 其他好文 > 详细

wamp配置

时间:2016-04-30 23:41:59      阅读:174      评论:0      收藏:0      [点我收藏+]

标签:

#
#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>

 

wamp配置

标签:

原文地址:http://www.cnblogs.com/liujin0505/p/5449599.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!