我有eclipse IDE,我在"C:/users/matt/documents/web/"中设置了一个工作区。我在文件夹test"C:/users/matt/documents/web/test"中设置了一个名为test的项目。我已经将httpd文件中的文档根目录更改为"C:/users/matt/documents/web/",并且与
我将"C:/users/matt/documents/web/test"放入浏览器中,但我无法访问工作区中的文件,http://localhost/xampp/web/test/
,http://localhost/web/test/
和http://localhost/test/
也是如此。
我对服务器配置不知所措,请帮忙!
c:''XAMPP''apache''conf''httpd.conf
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot C:/users/matt/documents/web/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory C:/users/matt/documents/web/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
重新启动 apache Web 服务器,然后...进入:http://localhost/test
检查过去的问题
更改其配置后重新启动您的网络服务器!
确保在your'path'to'apache'conf'extra'httpd-ssl.conf
中也更改 DocumentRoot。