Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have all of my site files in a different location then the c:/wamp/www directory. Is it possible to have it configured to where my website files are instead?

share|improve this question
up vote 0 down vote accepted

Yep. Just like a standard Apache installation, there is a httpd.conf file. In the WAMP Control Panel, locate the Apache section and select httpd.conf. In the file, you will want to modify the DocumentRoot directive.

share|improve this answer
    
Explain a bit more? How would I modify it? What would I put in? I'm a noob with this. – Omnix Nov 7 '10 at 1:52
    
Change the current path to the path with your sites – John T Nov 7 '10 at 2:03
    
Can I put in multiples? Like – Omnix Nov 7 '10 at 3:06
    
DocumentRoot "c:/wamp/www/" & DocumentRoot "c:/documents/...." – Omnix Nov 7 '10 at 3:07
    
@Omn, Nope. How would you expect that to work? When you pull up your site it can only show you 1 page. If you want multiple sites look into Virtual Hosts. – John T Nov 7 '10 at 4:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .