访问网站403错误解决方法(apache)
今天在虚拟机里搭建了dvwa,然后在物理机访问。总是出现403错误。环境为wamp搭建集成环境
根据提示,是没有权限。
然后查看web目录的权限,添加everyone。
但是,还是出现一样的问题。
估计是apache的问题,然后百度之。找到了解决办法。
将apache的配置文件修改为一下就是了。
<Directory />Options FollowSymLinksAllowOverride NoneOrder deny,allowAllow from all </Directory># # Note that from this point forward you must specifically allow # particular features to be enabled - so if something's not working as # you might expect, make sure that you have specifically enabled it # below. ## # This should be changed to whatever you set DocumentRoot to. # <Directory "c:/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 removeOrder Deny,AllowDeny from allAllow from all
默认是 Allow from 127.0.0.1 的
转载于:https://www.cnblogs.com/Bl4ckc0de/p/3474502.html
访问网站403错误解决方法(apache)相关推荐
- Tomcat容器部署 浏览器访问服务器页面404 403错误 解决方法
启动一个tomcat容器,注意:新版本tomcat镜像启动时必须映射端口(8080为默认容器端口) docker run -d --name tomcat -p 8080:8080 -v /mnt/e ...
- nginx 403错误解决方法
nginx 403错误解决方法 如果报了directory index of "/data/web/yafwx/public/moban/" is forbidden 看nginx ...
- Pycharm Error loading package list:Status: 403错误解决方法
Pycharm Error loading package list:Status: 403错误解决方法 参考文章: (1)Pycharm Error loading package list:Sta ...
- win8安装wampserver报403错误解决方法
看着别人开始体验win8了,前几天我也安装了win8系统,总体来说还不错,但是今天安装完Wampserver后,浏览器输入localhost,竟然报了403错误,我以为我安装出错了,后来研究了半天,发 ...
- centos7 安装 nginx(https) 及403错误解决方法
1.检查并安装所需的依赖软件 1).gcc:nginx编译依赖gcc环境 安装命令:yum install gcc-c++ 2).pcre:(Perl Compatible Regular Expre ...
- requests爬取猫眼电影403错误解决方法
原代码如下: import requests from requests.exceptions import RequestExceptiondef one_page_code(url):try:pa ...
- 访问nginx默认页报403错误解决方法
一般有三种原因造成403拒绝访问. 1.防火墙,关闭就行 2.没有对访问页的可读权限,一般去nginx/html/下把index.html权限改为664即可 以上两种原因我均测试过,但是访问还是报40 ...
- 本地Apache服务器访问时502 Server dropped connection 错误解决方法
本地Apache服务器访问时502 Server dropped connection 错误解决方法 参考文章: (1)本地Apache服务器访问时502 Server dropped connect ...
- Target runtime Apache Tomcat v6.0 is not defined.错误解决方法
Target runtime Apache Tomcat v6.0 is not defined.错误解决方法 Eclipse导入工程后工程上显示一个小红叉,但工程里没有文件错误,也没有语法错误,百思 ...
- phpstudy访问localhost/phpMyAdmin提示404错误解决方法
①参考链接:phpstudy访问localhost/phpMyAdmin提示404错误解决方法 ②报错的原因是www中的phpMyAdmin删除导致的. ③解决方案是在www.phpmyadmin.n ...
最新文章
- 我发现现在在电视编剧也挺宅的
- Visual Studio 2017开发linux程序使用实例及原理简析
- 天翼云从业认证(1.6)虚拟化技术基础、服务器虚拟化、存储虚拟化和网络虚拟化技术;
- C++11学习笔记-----互斥量以及条件变量的使用
- 佳博热敏条码打印机修改ip_高赋码热转印打印和热敏打印区别
- 2020年8月小程序互联网发展研究报告
- python定义二维数组_在python中定义二维数组
- php切换当前目录,php 改变当前目录函数chdir()的定义与用法实例详解
- WSPSRV.EXE错误导致ISA中断
- 算法导论 练习9.3-8两个有序数组的中位数
- Java编程语言下 Selenium 驱动各个浏览器代码
- TongWeb和Tomcat的区别
- Web.config配置错误页
- springboot项目配置视图解析器无效的问题
- 熤星传媒:抖音这些方面要注意!
- 射频测试系统|射频信号测试软件NSAT-1000
- Android基础之RemoteViews
- html页中加入数学公式,Html+Css+JavaScript实现网页公式编辑器(一)
- 友盟启动耗时分析之耗时趋势及性能拆解
- Java爬虫,信息抓取的实现