403 vhosts.conf包含后被禁止

时间:2014-09-13 21:36:48

标签: php apache zend-framework2 wamp virtualhost

今天上午所有人都安装好了“Zend Framework http://framework.zend.com/manual/2.3/en/user-guide/skeleton-application.html”,之后我包含了“conf / extra / httpd -vhosts.conf”虚拟主机无法再访问我的本地区也无法访问虚拟主机。

消息:

Apache / 2.4.9(Win64)PHP / 5.5.12服务器端口80 platform.localhost

的httpd.conf

<Directory />
     AllowOverride none
     Require all denied
</ Directory>

<Directory "c:/wamp/www/">
     Options Indexes FollowSymLinks
     AllowOverride FileInfo
     Require local
</ Directory>

的httpd-vhosts.conf

<VirtualHost *:80>
    ServerName localhost
    ServerAlias localhost
    DocumentRoot "C:/wamp/www"
    <Directory "C:/wamp/www">
        AllowOverride All
        Allow from all
    </Directory>
</VirtualHost>

<VirtualHost *:80>
    ServerName localhost.platform
    ServerAlias localhost.platform
    DocumentRoot "C:/wamp/www/platform/public"
    SetEnv APPLICATION_ENV "development"
    <Directory "C:/wamp/www/platform/public">
        Options Indexes FollowSymLinks
        DirectoryIndex index.html index.htm index.php index.sh
        AllowOverride All
        Order Allow,Deny
        Allow from all
    </Directory>
</VirtualHost>

etc / hosts

127.0.0.1 localhost
::1 localhost
127.0.0.1 localhost.platform

Zend由作曲家Windowns使用PowerShell安装 谢谢。

apache_error.log

  

[9月13日星期六19:19:32.833823 2014] [mpm_winnt:notice] [pid 2140:tid   [00] AH00422:父:收到关机信号 - 关机   服务器

     

[9月13日星期六19:19:34.839937 2014] [mpm_winnt:notice] [pid 6108:tid   [316] AH00364:Child:所有工作线程都已退出。

     

[9月13日星期六19:19:34.886940 2014] [mpm_winnt:notice] [pid 2140:tid   400] AH00430:父:子进程6108成功退出。

     

AH00112:警告:DocumentRoot   [C:/Apache24/docs/dummy-host.example.com]不存在AH00112:   警告:DocumentRoot [C:/Apache24/docs/dummy-host2.example.com]可以   不存在

     

[9月13日星期六19:19:37.902112 2014] [mpm_winnt:notice] [pid 1272:tid   [00] AH00455:配置Apache / 2.4.9(Win64)PHP / 5.5.12 - 恢复   正常运作

     

[9月13日星期六19:19:37.903112 2014] [mpm_winnt:notice] [pid 1272:tid   [00] AH00456:Apache Lounge VC11 Server内置:2014年3月16日12:42:59

     

[9月13日星期六19:19:37.903112 2014] [核心:通知] [pid 1272:tid 400]   AH00094:命令行:   'c:\ wamp \ bin \ apache \ apache2.4.9 \ bin \ httpd.exe -d   C:/wamp/bin/apache/apache2.4.9'

     

[9月13日星期六19:19:37.906113 2014] [mpm_winnt:notice] [pid 1272:tid   400] AH00418:父:创建子进程5856

     

AH00112:警告:DocumentRoot   [C:/Apache24/docs/dummy-host.example.com]不存在AH00112:   警告:DocumentRoot [C:/Apache24/docs/dummy-host2.example.com]可以   不存在AH00112:警告:DocumentRoot   [C:/Apache24/docs/dummy-host.example.com]不存在AH00112:   警告:DocumentRoot [C:/Apache24/docs/dummy-host2.example.com]可以   不存在

     

[9月13日星期六19:19:39.532206 2014] [mpm_winnt:notice] [pid 5856:tid   [316] AH00354:Child:启动64个工作线程。

0 个答案:

没有答案