Home > Database > Mysql Tutorial > apache You don't have permission to access / on this

apache You don't have permission to access / on this

WBOY
Release: 2016-06-07 15:36:39
Original
1380 people have browsed it

用linux源码安装Apache使用的虚拟主机的模式进行操作,几个相关的网站放在一个文件里,想法是通过网站列出的目录进行相应的网站进行操作,一切设置完成后,在浏览器中运行出现在You don't have permission to access / on this server. 这里定义了默认对网站根

用linux源码安装Apache使用的虚拟主机的模式进行操作,几个相关的网站放在一个文件里,想法是通过网站列出的目录进行相应的网站进行操作,一切设置完成后,在浏览器中运行出现在You don't have permission to access / on this server.  这里定义了默认对网站根的访问权限.

把这个

Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all 
Directory>

改成

Directory />
    Options Indexes FollowSymLinks
    AllowOverride None
Directory>

问题解决

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template