相关疑难解决方法(0)

错误消息"禁止您无权访问/在此服务器上"

我自己配置​​了Apache,并尝试在虚拟主机上加载phpMyAdmin,但我收到了:

403禁止您无权访问此服务器上的/

我的httpd.conf

#
# This is the main Apache HTTP server configuration file.  It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
# In particular, see 
# <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
# for a discussion of each configuration directive.
#
# Do NOT simply read the instructions in here without understanding
# what they do.  They're here only as hints or reminders.  If you are unsure
# consult the online docs. …
Run Code Online (Sandbox Code Playgroud)

apache configuration httpd.conf http-status-code-403

515
推荐指数
13
解决办法
216万
查看次数

您无权访问此服务器上的/

我有CentOS 6.1服务器,我在上面安装了apache 2.2.15.现在,当我尝试从IE(http/// /( = centos ip))从另一台PC(Windows 7)访问它时,我得到"您无权访问/在此服务器上".错误.我甚至在"var/www/html"上创建了内容为""的phpinfo.php文件,当我尝试在IE中使用"http://*/phpinfo.php"访问它时,我找不到错误.我该怎么办?我对directiry的httpd.conf是这样的:

<Directory "/var/www/html">
    Options Indexes FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>
Run Code Online (Sandbox Code Playgroud)

apache centos6

10
推荐指数
2
解决办法
19万
查看次数