On Tue, 2004-05-11 at 09:05, Richard Miller wrote: > I was under the impression that virtual hosts on the same IP address > couldn't have SSL certs. That's why I wondered if Mac was doing > something special.
You're right. He said he's running multiple non-ssl virtual hosts with one IP address, with only one ssl virtual host. Since the ssl connection runs on a different port number, each ip address can host one or more non-ssl virtual hosts, but only one ssl host (name). Michael > > Richard > > On May 10, 2004, at 10:30 PM, Michael Torrie wrote: > > > On Mon, 2004-05-10 at 22:51, Richard Miller wrote: > >> Mac, > >> > >> I am interested in learning about your 1-IP-address box that hosts > >> multiple sites and still has an SSL cert on one of them. How did you > >> do that? > > > > The apache httpd.conf <VirtualHost> tag. > > > > Michael > > > > > >> > >> Richard > >> > >> > >> On May 10, 2004, at 7:20 PM, Mac Newbold wrote: > >> > >>> Today at 8:50am, john jonas said: > >>> > >>>> Does someone have a working httpd.conf file which has multiple > >>>> virtualhost directives one of which is using ssl? > >>>> > >>>> I have 4 different domains on the server and one of them now needs > >>>> ssl. > >>>> > >>>> I've tried all kinds of combinations of stuff and can't seem to get > >>>> it to > >>>> work. > >>> > >>> As others have pointed out, you'll need one IP address per SSL > >>> certificate. This is because the SSL connection is established before > >>> the > >>> HTTP request is sent, so there's no way to know the name of the host > >>> the > >>> request is for. > >>> > >>> But to answer your question, I have a machine that hosts several > >>> sites > >>> using name virutal hosting, and one of them has an SSL cert. The box > >>> only > >>> has one IP address. > >>> > >>> If you have a config you can post somewhere or to the list, or send > >>> to > >>> me > >>> privately, I'd be happy to compare it to mine to see if we can't get > >>> yours > >>> working for you. > >>> > >>> Mac > > ______________________________________________________________________ > ____________________ > BYU Unix Users Group > http://uug.byu.edu/ > ___________________________________________________________________ > List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list -- Michael L Torrie <[EMAIL PROTECTED]> ____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
