WAMPserver and Virtual Hosts?
March 9th, 2009
I'm trying to set up virtual hosts on my local machine running WAMPServer on Windows Vista. I've updated my system hosts file and put in the virtul hosts configuration for apache, and thats working ok - but I need PHP to recognise its top directory in these hosts (as referenced by "/") so that I can do require("/includes/foo.bar")
At the moment, "/" goes right to the root of my C drive, virtual hosts or not. I've done this before with apache/vhosts but not under wamp server, so what am I forgetting to do / or what have i overlooked?
You have to "create" the symbolic link to the virtual directory in Windows.
http://nareshkhokhani.wordpress.com/2008/05/21/virtual-directory-in-wamp-using-symbolic-link/
Also be sure you set the Document Root directory correctly.
http://www.dennisplucinik.com/blog/2007/08/16/setting-up-multiple-virtual-hosts-in-wamp/
Is a good guide for this one.
powered by Yahoo Answers
March 9th, 2009 at 9:06 pm
You have to "create" the symbolic link to the virtual directory in Windows.
http://nareshkhokhani.wordpress.com/2008/05/21/virtual-directory-in-wamp-using-symbolic-link/
Also be sure you set the Document Root directory correctly.
http://www.dennisplucinik.com/blog/2007/08/16/setting-up-multiple-virtual-hosts-in-wamp/
Is a good guide for this one.
References :
TL