Apache 如果项目文件不在根目录中,如何在windows中配置xampp

Apache 如果项目文件不在根目录中,如何在windows中配置xampp,apache,svn,path,xampp,Apache,Svn,Path,Xampp,我正在使用windows。我的xampp安装在驱动器C中,首先我在我的文件中工作 C->xampp->htdocs->SVN data->php_clients->trunks->myproject 但是对于SVN我在这里复制粘贴我的所有文件,现在这里配置了SVN D->SVN data->php_clients->trunks->myproject D->SVN data->php_clients->trunk

我正在使用windows。我的xampp安装在驱动器C中,首先我在我的文件中工作

 C->xampp->htdocs->SVN data->php_clients->trunks->myproject
但是对于SVN我在这里复制粘贴我的所有文件,现在这里配置了SVN

D->SVN data->php_clients->trunks->myproject
D->SVN data->php_clients->trunks->myproject
我正在本地测试我的项目,我是说在本地主机上,首先是在

 C->xampp->htdocs->SVN data->php_clients->trunks->myproject
所以我可以工作,测试,更新,现在我想在这里的文件中工作

 D->SVN data->php_clients->trunks->myproject
但问题在于xampp,我在这里工作,在本地工作的好方法是什么,即localhost

C:\xampp\apache\conf\httpd.conf
打开httpd.conf
查找此文档根“C:/xampp/htdocs”编辑此文档以
DocumentRoot“D:/SVN data/php\u clients/trunks/myproject”
然后找到这个标签
让它像这样
重新启动Apache go to browser writehttp://localhost 在地址栏中查看您的应用程序
go  here that is C:\xampp\apache\conf\httpd.conf 
open httpd.conf
Find This DocumentRoot "C:/xampp/htdocs" Edit this to 
DocumentRoot "D:/SVN data/php_clients/trunks/myproject"
after that find this tag
<Directory> and make it like this 
<Directory "D:/SVN data/php_clients/trunks/myproject">
Restart Your Apache go to browser write http://localhost in address bar and see your app