The above version of the file should work according to many sites I have found while googling, yet it doesn’t.
Now if I type in musicnotes in my browser, it loads my localhost. All the localhost files work as if nothing has happened. (localhost also loads localhost) I do have C:musicnoteshtdocs set up and an index.php file is sitting in there.
I have refreshed Apache many times after I change the config files. But it still doesn’t work…
1) the Include "c:/WAMP/alias/*" line, not sure if this required or not
2) in my case, the other sites have to be in a subfolder of the “main” site, in my case C:/Projects. The main site is what has been set as the “document root”, a little higher in the httpd.conf. I’m sure this should not be a requirement, but I can’t get it to work when a site is outside of that location, so maybe may be for you too.
Hey guys, not knocking WAMP and don’t want to derail you, but ever since I found http://www.uniformserver.com/ I have left the other stack packages like lampp and wamp behind. This is so much easier to use and has a great GUI for setting up vhosts. Check it out. It should be right up your alley since you are using windows right? I am pretty experienced with this package. So if you wanna try it out and have any questions let me know.