我自己配置了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) 我有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)