在此服务器Apache Windows7上找不到请求的URL /

时间:2016-01-25 11:22:08

标签: apache

我在httpd.conf中设置虚拟本地主机时遇到问题。我写的是什么

<VirtualHost *:80>
  ServerName localhost
  DocumentRoot "C:/Users/user/Documents/dispatcher/cache"
  <Directory C:/Users/user/Documents/dispatcher/cache>
    <IfModule disp_apache2.c>
      SetHandler dispatcher-handler
      ModMimeUsePathInfo On
    </IfModule>
    AllowOverride None
    Order allow,deny
    Allow from all
  </Directory>
</VirtualHost> 

我的apache版本是2.2.21。错误是:

[Mon Jan 25 22:46:17 2016] [error] [client 127.0.0.1] Attempt to serve directory: C:/Users/user/Documents/dispatcher/cache/

0 个答案:

没有答案