Forbidden You don't have permission to access / on this server PHP
在新安装的谷歌游览器里,打不了PHP网站了,错误显示:
Forbidden
You don't have permission to access / on this server.
原因还是配置权限问题
解决办法:
wamp\bin\apache\Apache2.2.21\conf\extra\httpd-vhosts.conf 文件里,找到对应网站的虚拟机,添加或者修改如下(绿色行10-15行)
1 Listen 8023 2 <VirtualHost *:8023> 3 ServerAdmin webmaster@dummy-host.example.com 4 DocumentRoot "E:\wamp\www\xxxxx" 5 ServerName dummy-host.example.com 6 ServerAlias www.dummy-host.example.com 7 ErrorLog "logs/dummy-host.example.com-error.log" 8 CustomLog "logs/dummy-host.example.com-access.log" common 9 10 <Directory "E:\wamp\www\JFoffice\JFoffice"> 11 Options Indexes FollowSymLinks ExecCGI 12 Order allow,deny 13 Allow from all 14 AllowOverride All 15 </Directory> 16 </VirtualHost>
零碎知识点,随便记录一下
转载于:https://www.cnblogs.com/itslives-com/p/php-Forbidden.html
Forbidden You don't have permission to access / on this server PHP相关推荐
- Forbidden You don't have permission to access / on this server.解决方法
wamap本地搭建完毕后,输入http://localhost/出现下面的问题 问题报错:Forbidden You don't have permission to access / on this ...
- thinkphp出现 Forbidden You don‘t have permission to access / on this server. Additionally, a 403 Forbi
thinkphp出现 Forbidden You don't have permission to access / on this server. Additionally, a 403 Forbi ...
- Wamp错误: Forbidden You don't have permission to access / on this server.
找到php的配置文件httpd.conf(找不到的话看这篇:http://www.cnblogs.com/liulangmao/p/3569807.html) 在原有的位置文件中找到配置节 <D ...
- 关于网站搭建外网访问出现的Forbidden You don't have permission to access / on this server. Additionally问题
这个问题的一个根本原因是因为:swampserver默认访问的是www文件夹的站点,不允许访问其他的站点,我这次出现的原因是在之前的文件夹中又多生成了一层,所以出现了这个情况. 我的个人解决办法:因为 ...
- 配置apache2.4时出现Forbidden You don't have permission to access / on this server. 问题解决方案
安装完wampserver后,通过127.0.0.1或localhost访问网页可以正常访问: 但是通过其他电脑对服务器的公网ip地址进行访问,一直显示forbid....如图: 查阅博客帖子,发现这 ...
- Forbidden You don#39;t have permission to access / on this server.
原文:Forbidden You don't have permission to access / on this server. Forbidden You don't have permissi ...
- [备忘][转载]apache 403错误 You don't have permission to access on this server
apache 403错误 You don't have permission to access on this server. 在配置好了Apache服务器后,测试已经通过了,但是通过浏览器访问lo ...
- 问题解决:Apache: You don't have permission to access / on this server
虚拟主机(Virtual Host)是指在一个机器上运行多个网络站点 (比如:www.company1.com和www.company2.com). 如果每个网络站点拥有不同的IP地址,则虚拟主机可以 ...
- [乐意黎原创]访问Centos下Apache主机页面抛You don't have permission to access / on this server.
Forbidden You don't have permission to access / on this server. Server unable to read htaccess file, ...
最新文章
- 第四届全国大学生智能汽车竞赛获奖名单
- python先序、中序、后序排序
- C++类、函数、指针
- Spring Boot CMI 使用笔记
- Mac OS X下64位汇编与Linux下64位汇编的一些不同
- 【人脸对齐-Landmarks】300W 数据集
- android api接口文档,API 接口文档
- 开发者在对项目失去信心后,该做什么?
- 【问题】父套子时,‘阻止子元素的外边距传递给父元素’与闭合浮动
- 我说我水平高,因为我CSDN博客排名前100
- linux网卡配置规范
- 上位机和下位机计算机联锁,上位机与下位机之间的连接
- PHP电子合同对接流程,电子合同订立程序步骤
- SSH项目整合基本步骤
- SOCKET 实现NAT 穿越
- 2023年湖南中专单招报名流程
- 运行cool edit时显示系统配置不正确
- 使用 MVVMLight 消息通知
- 生命不可承受之重, 请关爱过劳人员
- AutoDL算力平台租用GPU服务器+VSCode远程开发同步代码
热门文章
- BZOJ1433 ZJOI2009 假期的宿舍 二分图匹配
- json数据格式了解
- DELPHI跨平台的临界替代者
- 发布单机端DELPHI程序访问MySQL必备文件
- 煤矿安全规程专家解读2016电子版_【学习】煤矿安全规程专家解读(165)
- sw二次开发 python_基于C#的SolidWorks二次开发.doc
- python程序设计课程设计_《Python程序设计》教学大纲.doc
- 同步方法 调用异步防范_.NET Web应用中为什么要使用async/await异步编程?
- linux 离线安装中文字库,centos7 离线安装字体fontconfig
- 前端面试题之http/HTML/浏览器(一)