【发布时间】:2014-05-10 04:26:32
【问题描述】:
我尝试添加;
<VirtualHost *:80>
ServerName localhost
DocumentRoot "d:\www2\" --> tried d:\www2\
<Directory "d:\www2\">
Options Includes Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
Directoryindex index.php index.html index.html index.htm index.shtml
AccessFileName .htaccess
对于 httpd-vhosts,我仍然只能访问 "c:/wamp/www" 。我想和他们两个一起访问。请帮帮我。
【问题讨论】:
-
你想在这里实现什么?你只能有一个
DocumentRoot,否则服务器怎么知道从哪个位置提供文件?
标签: php apache vhosts document-root