Change location of htdocs folder

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Change location of htdocs folder

Postby BooGiE_MaN » 07. January 2007 18:46

Hi

I just changed from WAMP to XAMPP.
I want XAMPP to use the old folder with all my sites (I:/wamp/www) instead of C:/..../htdocs. How can I do this?
BooGiE_MaN
 
Posts: 1
Joined: 07. January 2007 18:38
Location: Cape Town, South Africa

Postby Sean-Michael » 07. January 2007 20:38

I haven't changed mine but I do believe you want to edit the...

\xampp\apache\conf
The httpd file,


Find the entry for "DocumentRoot" line 175 in my editor.
Sean-Michael
 
Posts: 69
Joined: 17. September 2006 01:37

Postby ntsmarkv » 09. January 2007 21:42

Open: apache\conf\extra\httpd-vhosts.conf


Code: Select all
NameVirtualHost *:80

<VirtualHost *:80>
ServerName extremeupload.net
ServerAlias extremeupload.net
DocumentRoot "C:/Documents and Settings/namehere/Desktop/xampp/htdocs/a"
ServerAdmin Newtechstudios@gmail.com
<Directory "C:/Documents and Settings/namehere/Desktop/xampp/htdocs/a">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride FileInfo
Order allow,deny
Allow from all
</Directory>
</VirtualHost>



Change:
Code: Select all
DocumentRoot "C:/Documents and Settings/namehere/Desktop/xampp/htdocs/a"

to new folder

Change:
Code: Select all
<Directory "C:/Documents and Settings/namehere/Desktop/xampp/htdocs/a">

to new folder also
ntsmarkv
 
Posts: 32
Joined: 22. October 2005 21:38


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 104 guests