尽管允许访问目录(vhost配置),但Apache“服务器配置拒绝客户端”
在Ubuntu上的Apache中,我已经设置了虚拟主机,但是在浏览器中,我始终收到“禁止访问403”错误;日志显示“ 客户端被服务器配置拒绝:/ home / remix / ”。 在网上寻找解决方案时,我发现了许多有关目录访问的文章(全部允许,等等),但据我所知我已经这样做了。在httpd-vhosts.conf中,有以下代码: NameVirtualHost *:80 <VirtualHost *:80> ServerAdmin webmaster@dummy-host.example.com 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 …