在index.php文件夹中有一个带有public_html/的项目,我希望更改EasyPHP的根目录,所以我这样做了:

但是,当转到localhost (或127.0.0.1)时,EasyPHP总是显示根目录:

有解决办法吗?
发布于 2014-04-20 09:42:40
您还需要在VirtualHost文件的末尾更改conf_files\httpd.conf。
<VirtualHost 127.0.0.1>
DocumentRoot "${path}/data/localweb/public_html"
ServerName 127.0.0.1
<Directory "${path}/data/localweb/public_html">
Options FollowSymLinks Indexes
AllowOverride All
Order deny,allow
Allow from 127.0.0.1
Deny from all
Require all granted
</Directory>
</VirtualHost>问候
https://stackoverflow.com/questions/23180436
复制相似问题