Apache配置多站点后:连接失败 You don't have permission to access

Apache配置多站点后:连接失败 You don't have permission to access
Apache配置多站点后:连接失败 You don't have permission to access 
连接失败是应为没有在全局配置中添加监听端口
You don't have permission to access 是应为在全局配置的"/"目录权限问题
Listen 81
<VirtualHost *:81>
  ServerName Test
  Options All ExecCGI FollowSymLinks Includes IncludesNOEXEC Indexes MultiViews SymLinksIfOwnerMatch
  DirectoryIndex index.html index.htm index.php index.php3 index.php4 index.phtml index.shtml index.shtm
  DocumentRoot "E:/enic/MoleWeb/"
    <Directory "E:/enic/MoleWeb/">
        Options Indexes FollowSymLinks ExecCGI
        Order Deny,allow
        Allow from all
    </Directory>
</VirtualHost>
<Directory "/">
  # explicitly permit access to web content directories in other
  # <Directory> blocks below.
  AllowOverride None
  #Require all denied
</Directory>

你可能感兴趣的:(Apache配置多站点后:连接失败 You don't have permission to access)