Mixing HTTPS and HTTP Virtual Hosts in Apache

Matthew Benjamin msbenjamin12 at gmail.com
Tue Jun 6 14:21:42 UTC 2006


Alan, is right I found the problem it goes as follows

1. You can only have 1 ssl site per IP address, because of the nature of ssl
you can't use NameVirtualHost directive
2. The ssl configuration is not done in the httpd.conf file, it is done in
the ssl.conf file. (This is true at least for my Apache servers I have
installed. (Apache 2)  I believe this is true for everyone else as well.
3. The directory that the ssl configuration points to is the default
DocumentRoot in the httpd.conf file. The httpd.conf file knows where to find
the ssl.conf file by the following line,
Include conf.d/*.conf
4. The vhost for the ssl site is configured in the ssl.conf file.

The quest to learning has been completed - at least for this hour.



On 6/5/06, Jerry Roy <jroy at ipass.com> wrote:
>
> Can someone please send their httpd.conf file so I can review?
>
> -----Original Message-----
> From: fedora-list-bounces at redhat.com
> [mailto:fedora-list-bounces at redhat.com] On Behalf Of Eric Brunson
> Sent: Monday, June 05, 2006 3:32 PM
> To: For users of Fedora Core releases
> Subject: Re: Mixing HTTPS and HTTP Virtual Hosts in Apache
>
>
> Yes it does.
>
> Matthew Benjamin wrote:
> > Good idea however it does not work when you have multiple VirtualHost
> > (http).
> > On 6/5/06, *Nadeem Shahbaz* <thrall.mail.list at gmail.com
> > <mailto:thrall.mail.list at gmail.com>> wrote:
> >
> >
> >
> >     Matthew Benjamin, on 2006-06-06 12:19 AM +0500, wrote :
> >     >
> >     > <VirtualHost *:443>
> >
> >     Ummm use IP in place of *
> >
> >     Nadeem
> >
> >     --
> >     fedora-list mailing list
> >     fedora-list at redhat.com <mailto:fedora-list at redhat.com>
> >     To unsubscribe:
> https://www.redhat.com/mailman/listinfo/fedora-list
> >
> >
> >
> >
> > --
> > mB.
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>
>
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>



-- 
mB.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060606/14371c1f/attachment-0001.htm>


More information about the fedora-list mailing list