user3628937
user3628937

Reputation: 33

WAMP directory in different location?

I'll start by saying I' completely new to WAMP.

The issue I'm having is that I have my WAMP program director installed in C:\Program Files- however, my C:\ drive is filling up fast and the site I work on is extremely large. Is it possible to have WAMP installed on C:\ but direct WAMP to look for the index file in say E:\www\???

Upvotes: 1

Views: 768

Answers (2)

Aravona
Aravona

Reputation: 548

You should be able to edit the DocumentRoot location in httpd.conf

I believe the default is: DocumentRoot "c:/wamp/www"

You should be able to amend this to a new folder: DocumentRoot "E:/www/"

You might need to also change the <Directory "c:/wamp/www"> listing as well.

You can open httpd.conf via the WAMP app. It comes under Apache.

Upvotes: 1

Rakesh Sharma
Rakesh Sharma

Reputation: 13728

try go to

 C:\wamp\bin\apache\Apache2.2.17\conf\httpd.conf

change DocumentRoot "c:/wamp/www/" to DocumentRoot "e:/wamp/www/" (line 178)

For more :- Moving WAMP and Wordpress to another drive

Upvotes: 0

Related Questions