Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

Localhost stopped pointing to \wamp\www

Feb 17, 2011 12:57AM PST

I have been using wampserver 2.1 for about a week. I moved my client website files under \wamp\www\ and was successfully testing PHP/MySQL based sites until today. (I didn't use it at all yesterday, but it was fine 2 days ago.) Now localhost is pointing at \inetpub\wwwroot\ (IIS) and my testing environment is unworkable. I have no idea how this change occurred or what to do to reestablish the pointer to wamp.

Windows 7 Home Premium 64-bit with SP1
Wampserver 2.1 32-bit (need it for MySQL 5.5.Cool

Discussion is locked

- Collapse -
Tell more.
Feb 17, 2011 1:22AM PST

What does httpd.cof tell WAMP to use?

- Collapse -
Where is httpd.cof ?
Feb 17, 2011 4:29AM PST

I searched, but I haven't found a file by that name. Where should it be located?

- Collapse -
That was half question, half test.
Feb 17, 2011 6:43AM PST

I wanted to see if you were looking at WAMP's configuration file. If you Left-click WAMP icon and select Config files ? httpd.conf. The file will probably open up in Notepad.

Don't feel bad. Many folk are new to this.

Go find your WAMP configuration file and share.
Bob

- Collapse -
Oops
Feb 17, 2011 6:05AM PST

Sorry, didn't realize that was a typo... The Document Root is /wamp/www.

The problem appears to be connected to OutSystems's Agile Network, which I installed 2 days ago. I removed the programs but the problem persists. I did find a file in \Windows\System32\inetsrv called applicationHost.config which pointed to \inetpub\wwwroot. Changing that reference allows viewing html pages, but IIS is still in control and won't serve php pages. I'm trying to avoid a system restore, but am beginning to think that's my only real option.