apache出现You don't have permission to access / on this server. 提示
今天在新的linux上跑原来的代码,一切设置完成后,在浏览器中运行出现在You don't have permission to access / on this server. 提示。查了一下apache手册找到问题所在处。这里定义了默认对网站根的访问权限。
<!----># Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
#
# First, we configure the "default" to be a very restrictive set of
# features.
#
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
这里改成
<!----><Directory />
Options Indexes FollowSymLinks
AllowOverride None
</Directory>
问题解决
分享到:
相关推荐
Apache You don't have permission to access / on this server是一个在配置Apache时候,常常遇到的问题
主要介绍了apache You don't have permission to access /test.php on this server解决方法,需要的朋友可以参考下
键字: Apache 403 Forbidden 系统配置: 操作系统:Red Hat Linux 6.2 Web服务器:Apache 3.1.1+jakarta-tomcat 3.1.1 数据库服务器:oracle 8i Apache服务器是目前应用... You don’t have permission to access
主要介绍了WampServer设置apache伪静态出现404 not found及You don't have permission to access / on this server解决方法,较为详细的分析了几种常见情况,非常具有实用价值,需要的朋友可以参考下
本文实例讲述了WampServer设置apache伪静态出现404 not found及You don’t have permission to access / on this server解决方法。分享给大家供大家参考。具体如下: 出现404 not found 时: 确保LoadModule rewrite_...
You don't have permission to access / on this server. 更改D:\Installsoftware\apache\apache\httpd-2.2-x64\conf文件夹中的httpd.conf文件中 Options FollowSymLinks AllowOverride None Order deny,...
本地搭建wamp,输入http://127.0.0.1访问正常,当输入http://localhost/,apache出现You don't have permission to access/on this server.的提示,如何解决? 解决方法:...
今天调试一个项目,项目放在webroot下面的javascript目录,无论怎么设置都是403 You don’t have permission to access /javascript/ on this server. 思考过程 首先第一反应,Google了错误You don't have ...
一直在用APMServ5.2.6,mysql好办,可以用mariadb代替进行升级,但php...You don't have permission to access / on this server. Apache/2.4.9 (Win32) PHP/5.5.12 Server at www.sitename.com Port 80 一、在国内网
问题:配置Apache,httpd.conf... You don’t have permission to access the requested object. It is either read-protected or not readable by the server. If you think this is a server error, please contact t