[K12OSN] Apache webserver question

Les Mikesell les at futuresource.com
Thu Mar 16 15:39:11 UTC 2006


On Thu, 2006-03-16 at 09:30, Dan Dwelley wrote:
> Hello all,
>  
> I'm hoping someone will have some thoughts on the following:
>  
> I'm running Apache 2 with mod_ssl on FC4. My non-ssl side has two
> Virtual Hosts running on port 80. (no issues here)
> BUT when I enable ssl on port 443 with a Virtual Host (same as one of
> the non-ssl virtual Hosts ...only port 443)...the ssl side works but
> it disables the non-ssl side.
> In summery...Apache allows me to have either ssl or non-ssl but not
> both. I know this must be something simple but I cannot see the wrench
> in the machinery.

The first virtual host in the config becomes the default site
for requests that don't exactly match a specified
ServerName or ServerAlias.  If you added the port 443 entry
at the top it's possible that your port 80 entry wasn't
really matching but was invoked anyway as a default when
it was the first one.

-- 
  Les Mikesell
   les at futuresource.com





More information about the K12OSN mailing list