1、apache在本机上访问正常,但是用ip访问为403禁止访问!
解决方法是:1、关闭apache服务器上的防火墙
2、apache配置文件要修改
<Directory "D:/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 127.0.0.1
修改为
Allow from all
</Directory>
分享到:
相关推荐
apache下403 Forbidden错误问题解决方法.docx
apache配置,只允许域名访问,不允许ip访问
apache启动服务错误日志,有助于帮助开发者分析问题所在。
Apache web 访问路径 配置指南
linux下apache出现403错误的原因及解决办法
Apache服务器错误问题 Apache服务器错误问题 Apache服务器错误问题
不错的学习资料!主要用于Apache 访问控制/认证访问
apache tomcat 反向代理,http502错误,百度搜的解决不了问题 a.com 可以访问,www.a.com 无法访问http502错误
apache日志文件说明
Apache-flink 未授权访问任意jar包上传反弹shell
一个分析Apache服务器访问日志的工具, 基于C#开发. 可以分析用户访问所在地, 访问次数, UserAgent等信息.
错误日志和访问日志文件为系统管理员提供了有用的信息,比如,为 Web 服务器排障,保护系统不受各种各样的恶意活动侵犯,或者只是进行各种各样的分析以监控 HTTP 服务器。根据你 Web 服务器配置的不同,其错误/访问...
python apache日志分析 INTERNATIONAL MEDICAL SUMMIT FORUM ...当我们安装并启动Apache后,Apache会自动生成两个日志文件,这两个日志文件分别是访问日志access_log(在Windows上是access.log)和错误日志err
深入Android通过Apache HTTP访问HTTP资源示例代码 深入Android通过Apache HTTP访问HTTP资源示例代码
xp 系统 vmware linux 下 无法访问apache 服务器
Apache-flink 未授权访问任意jar包上传反弹shell CVE-2019-0193 Apache-Solr via Velocity template RCE CVE-2019-17564 Apache-Dubbo反序列化漏洞 CVE-2020-13925 Apache Kylin 远程命令执行漏洞 CVE-2020-13957 ...
apache httpd禁止某IP访问网站.IP黑名单
Linux中使用Apache访问asp页面
apache是普通服务器 本身只支持html即普通网页 不过可以通过插件支持php 还可以与Tomcat连通 单向Apache连接Tomcat 就是说通过Apache可以访问Tomcat资源 反之不然 Apache只支持静态网页 但像asp php cgi jsp等动态...
apache作为服务器https访问协议,换成nginx服务器发布访问原项目正常访问,且可以配置多个域名进行服务发布。