2012-02-22 35 views
1

我使用Windows。我的XAMPP是安裝在C盤,首先,我在這裏工作在我的文件如何配置XAMPP在Windows中,如果項目文件不在根目錄

C->xampp->htdocs->SVN data->php_clients->trunks->myproject 

但比SVN我複製粘貼在這裏我的所有文件SVN現在這裏配置

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

D->SVN data->php_clients->trunks->myproject 

回答

0
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 
相關問題