记:使用Wampserver运行php程序时在该局域网的手机访问提示You don't have permission to access / on this server.
来源:互联网 发布:法兰绒衬衫怎么洗 知乎 编辑:程序博客网 时间:2024/06/07 16:28
一、打开httpd-vhosts.conf文件
二、获取本机ip(假如我的本机ip为192.168.0.2)修改文件为
改前:
# Virtual Hosts
#
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot d:/wamp/www
<Directory "d:/wamp/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
#
改后:
# Virtual Hosts
#
<VirtualHost *:80>
ServerName 192.168.0.2
DocumentRoot d:/wamp/www
<Directory "d:/wamp/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
#
阅读全文
0 0
- 记:使用Wampserver运行php程序时在该局域网的手机访问提示You don't have permission to access / on this server.
- 局域网访问Apache PHP错误:Forbidden You don't have permission to access / on this server.
- apache -- 在访问网页时提示“You don't have permission to access /mgweb/ on this server.”的可能原因
- wampserver增加vhost域名后提示“You don't have permission to access / on this server. ”
- wampserver提示You don't have permission to access / on this server
- wampserver提示You don't have permission to access / on this server
- wampserver提示You don't have permission to access / on this server
- 学习笔记:wampserver提示You don't have permission to access/on this server.
- apache 启动后访问网页提示You don't have permission to access / on this server.
- eclispe中访问php问题:You don't have permission to access /***.php on this server.
- apache 提示You don't have permission to access /test.php on this server
- apache 提示You don't have permission to access /test.php on this server.怎样解决
- apache 提示You don't have permission to access /test.php on this server.怎样解决
- apache 提示You don't have permission to access /test.php on this server.怎样解决
- apache 提示You don't have permission to access .php on this server.怎样解决
- apache 提示You don't have permission to access /test.php on this server.怎样解决
- apache 提示You don't have permission to access /test.php on this server.怎样解决
- apache 提示You don't have permission to access /test.php on this server.
- JRebel + IDEA开启热部署
- AC自动机
- Matlab Robotic Toolbox工具箱学习笔记(一)
- PCM数据格式(转)
- Docker实战:Docker安装部署RabbitMQ
- 记:使用Wampserver运行php程序时在该局域网的手机访问提示You don't have permission to access / on this server.
- java web 项目中的时间处理
- <自用笔记>PB数据窗口控件之事件
- Java WebSocket基于注解配置访问ServletAPI
- 算法设计:统计数字问题
- Java学习笔记(7)- Java系统类
- 操作系统的发展史(科普章节)
- Tomcat本地部署 Android内网加载
- 结构经典例题,用上了typedef 再进行指针优化