my virtual hosts list
Posted by: swamped (---.cable.teksavvy.com)
Date: February 01, 2016 06:02PM

Hi - still getting my feet wet with wamp. I'm using version 2.5 - haven't upgraded apache etc.

In the list under my virtual hosts the first "host" is a line that says: "# match a ServerName or ServerAlias in any block."

This matches a commented out line in httpd-vhosts.conf. When selected it tries to open a host for each word in the line - i.e []# in one tab then http:// match (this one eventually resolves to "match.com"winking smiley and so on.

This is beyond my ability to figure out. Any thoughts would be appreciated.

Gary

i have searched around the forum but couldn't find a related post.



Edited 1 time(s). Last edit at 02/01/2016 06:03PM by swamped.

Options: ReplyQuote
Re: my virtual hosts list
Posted by: Otomatic (Moderator)
Date: February 01, 2016 06:44PM

Hi,

Excellent explanations from RiggsFolly: The need for Virtual Host

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: my virtual hosts list
Posted by: swamped (---.cable.teksavvy.com)
Date: February 01, 2016 07:09PM

Thank you for the reply!


Yes - I've read that document and have several hosts working fine. (for several months now)

It's this : "# match a ServerName or ServerAlias in any block." that I can't seem to find an explanation for.


I guess my question is: why would a "commented out" line from httpd-vhost.conf appear in the list of my virtual hosts?

Thanks,

Gary

Options: ReplyQuote
Re: my virtual hosts list
Posted by: Otomatic (Moderator)
Date: February 01, 2016 07:50PM

Hi,

I think it is because There is ServerName in the commented line.

It is corrected with Wampserver 3.0.1

Delete the line or replace ServerName by Server Names ( I think?)

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: my virtual hosts list
Posted by: swamped (---.cable.teksavvy.com)
Date: February 01, 2016 08:05PM

thanks - I'll give that a try.

Options: ReplyQuote


Sorry, only registered users may post in this forum.