Apache“客户端被服务器configuration拒绝”,尽pipe允许访问目录(虚拟主机configuration)
在Ubuntu上的Apache我已经build立了一个虚拟主机,但在浏览器中我一直得到一个“403访问被禁止”的错误; 日志说“ 客户端被服务器configuration拒绝:/ home / remix / ”。 在网上寻找解决scheme,我发现了许多关于目录访问的post(允许所有等),但据我所知,我已经这样做了。 在httpd-vhosts.conf中有以下代码: NameVirtualHost *:80 <VirtualHost *:80> ServerAdmin [email protected] DocumentRoot "/opt/lampp/htdocs/" ServerName localhost ServerAlias localhost ErrorLog "logs/dummy-host.example.com-error_log" CustomLog "logs/dummy-host.example.com-access_log" common </VirtualHost> <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot "/home/remix/" ServerName testproject ServerAlias testproject <Directory "/home/remix/"> Options Indexes FollowSymLinks Includes ExecCGI AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost> 我也补充说 […]