[K12OSN] Apache webserver question

Dan Dwelley ddwelley at msad54.org
Fri Mar 17 03:10:09 UTC 2006


Thanks Les. Port 443 is not added to the top. When using mod_ssl with Apache, The ssl side of things is configured in the ssl.conf file rather than the httpd.conf file. The virtual Hosts are defined by IP:port number and the servername is refined within the Virtual Hosts by domaine name:port.

I've never seen this type of behavior in a webserver.

Thanks again!
Dan


-----Original Message-----
From: k12osn-bounces at redhat.com on behalf of Les Mikesell
Sent: Thu 3/16/2006 10:39 AM
To: Support list for opensource software in schools.
Subject: Re: [K12OSN] Apache webserver question
 
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


_______________________________________________
K12OSN mailing list
K12OSN at redhat.com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 3523 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/k12osn/attachments/20060316/fde58f65/attachment.bin>


More information about the K12OSN mailing list