On Wed, 1 Mar 2000, Igmar Palsenberg wrote:

> 
> > i have installed apache secure server via rpm version
> > 1.3.9.  i am trying to use virtual servers and am
> > having a problem hitting the two sites.  i am not
> > trying to encrypt both sites, just one.  here is my
> > httpd.conf.
> > 
> > #my box inside my firewall
> > NameVirtualHost 192.168.2.14 
> > #
> > <VirtualHost 192.168.2.14>
> >     ServerAlias myfirstsite(non-encrypted).com
> >     ServerAdmin me@myfirstsite(non-encrypted).com
> >     DocumentRoot /home/httpd/index.html
> >     ServerName www.myfirstsite(non-encrypted).com
> > </VirtualHost>
> > 
> > <VirtualHost 192.168.2.14>
> >     ServerAlias mysecondsite(encrypted).com
> >     ServerAdmin me@mysecondsite(encrypted).com
> >     DocumentRoot /home/httpd/cgi-bin/start.cgi
> >     ServerName mysecondsite(encrypted).com
> > </VirtualHost>
> > 
> > i just get index.html for both, no errors.  i have
> > stopped and started httpsd.  i thought this is where
> > the change should take place?
> 
> Namebased setup with Apache SSL don't work. SSL needs a real IP adress.
> 

Name based with one secure site works fine, you need to add SSLRequireSSL
to the encrypted server (I assume you are not using those servernames!)
and specify https://mysecondsite when connecting.

The thing that apparently can't be done at this point is multiple SSL
certs on named based hosts/one IP.

You also should probably specify the port somewhere in each host config as
well, or you will have specify the port in your URL, ie
https://secondsite:80/. https defaults to port 443.

HTH,

Bill Carlson
------------
Systems Programmer    [EMAIL PROTECTED]    |  Opinions are mine,
Virtual Hospital      http://www.vh.org/        |  not my employer's.
University of Iowa Hospitals and Clinics        |



-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to