httpd-vhosts.conf的配置
<VirtualHost *:80> DocumentRoot "D:\product\web\Public" ServerName demo.web.com DirectoryIndex app.php <Directory "D:\product\web\Public"> Options Indexes FollowSymLinks ExecCGI AllowOverride All order allow,deny Allow from all </Directory> </VirtualHost>