wmap如何设置局域网IP访问
2013-02-27 10:32
239 查看
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Allow from all #以前是Deny from all
</Directory>
<Directory "F:/Program Files/wamp/www/">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride all
#
# Controls who can get stuff from this server.
#
# onlineoffline tag - don't remove
Order Deny,Allow
Deny from all
Allow from all #以前是Allow from 127.0.0.1
</Directory>
#号要顶格,前面不要留空格
加粗的地方是需要修改的。修改之后记得需要重启服务。
Options FollowSymLinks
AllowOverride None
Order deny,allow
Allow from all #以前是Deny from all
</Directory>
<Directory "F:/Program Files/wamp/www/">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride all
#
# Controls who can get stuff from this server.
#
# onlineoffline tag - don't remove
Order Deny,Allow
Deny from all
Allow from all #以前是Allow from 127.0.0.1
</Directory>
#号要顶格,前面不要留空格
加粗的地方是需要修改的。修改之后记得需要重启服务。
相关文章推荐
- Mysql +Apache如何设置局域网IP访问,目前只能用Localhost
- 如何设置让外网通过路由器IP加端口号访问到局域网一台Web服务器
- Nginx如何设置拒绝或允许指定ip访问
- 如何设置通过ip访问数据库
- 如何利用固定IP在路由器中设置局域网IP映射到公网上
- linux suse10虚拟机在静态IP局域网中如何设置桥接上网
- 如何设置mysql在局域网中访问
- linux centos 设置防火墙 iptables 如何 禁止某个IP访问 登陆
- 在局域网内如何设置成域名访问
- tomcat设置如何通过ip直接访问项目
- wamp设置实现本机IP或者局域网访问 (转)
- 如何设置mysql在局域网中访问
- Nginx如何设置拒绝或允许指定ip访问
- Android模拟器如何设置DNS访问局域网内网站
- 计算机网络10问之2 在局域网内如何设置你主机IP?
- 补习如何设置局域网IP .: NOVOTS KMS
- 如何通过外网访问局域网的网站【路由器设置端口映射】
- 如何设置jboss通过IP网络访问
- 如何设置mysql在局域网中访问
- Tomcat设置IP,实现局域网内机器访问