WampServer2 and VirtualHosts
Posted by: micayael (---.click.com.py)
Date: November 27, 2007 12:49AM

Hello.

I have been installed wampserver2 and I can't make work virtual hosts with apache 2.2.6.

Can somebody help me?

Options: ReplyQuote
Re: WampServer2 and VirtualHosts
Posted by: yfastud (Moderator)
Date: November 27, 2007 07:57PM

Since I have no problem to test vh w/ wamp2 on my laptop, I don't doubt that you might do something wrong, so this is just a reminder

Open file httpd.conf in C:\wamp\bin\apache\apache2.2.6\conf and find these lines:

# Virtual hosts
#Include conf/extra/httpd-vhosts.conf

Uncomment the second line to become:

# Virtual hosts
Include conf/extra/httpd-vhosts.conf

Then open httpd-vhosts.conf in C:\wamp\bin\apache\apache2.2.6\conf\extra and put in your vh in there; make sure to take out those 2 dummy vh or your server will hang

Restart your wamp to take effect

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: WampServer2 and VirtualHosts
Posted by: micayael (---.click.com.py)
Date: November 27, 2007 11:38PM

Thank you yfastud.

You are right. I didn't know I have to remove those 2 dummy virtual hosts. Now it's working again.

Regards

Options: ReplyQuote
Re: WampServer2 and VirtualHosts
Posted by: yfastud (Moderator)
Date: November 28, 2007 12:08AM


Options: ReplyQuote


Sorry, only registered users may post in this forum.