根据其上的文档,设置了虚拟主机后,出现的结果是,连访问http://localhost/都进不去了,http://quickstart.local/也不对,浏览器都
显示【Not Found The requested URL / was not found on this server.】
apache的日志是这样的:
【[Mon Dec 20 13:43:31 2010] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
Warning: DocumentRoot [G:/path/to/quickstart/public] does not exist
[Mon Dec 20 13:43:32 2010] [notice] Digest: generating secret for digest authentication ...
[Mon Dec 20 13:43:32 2010] [notice] Digest: done
[Mon Dec 20 13:43:32 2010] [notice] Apache/2.2.16 (Win32) mod_ssl/2.2.16 OpenSSL/0.9.8o configured -- resuming normal operations
[Mon Dec 20 13:43:32 2010] [notice] Server built: Aug 8 2010 16:45:53
[Mon Dec 20 13:43:32 2010] [notice] Parent: Created child process 3612】
下面是我的一些配置文件:
1.G:\program files\Zend\Apache2\conf\httpd.conf文件是这样的
SetEnv APPLICATION_ENV "development"
<Directory /path/to/quickstart/public>
DirectoryIndex index.php
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
2.C:/WINDOWS/system32/drivers/etc/hosts是这样的