Re: help needed for virtualhosting + SSL configuration.

2002-05-06 Thread Owen Boyle

Nisarg Rav wrote:
 
 hello gurus ,
 
   I've installed and configured apache-1.3.23 + openssl-0.9.6b + mod_ssl and 
mod_perl successfully.
   It is working fine for my main site and self signed ssl certificate.
 
   I want to do IP based virtual hosting for more one site and want to serve that 
site through self signed ssl certificate.
   so may i get help to configure httpd.conf to full fill my requirement .

No problem. You just need to create IP-based VirtualHosts:

- Remove all Port and BindAddress directives (they will be replaced
by Listen).
- set up as follows:

# Original HTTP site
Listen 192.168.1.1:80
VirtualHost 192.168.1.1:80
DocumentRoot /path/to/original/http
..
/VirtualHost

# Original SSL site
Listen 192.168.1.1:443
VirtualHost 192.168.1.1:443
DocumentRoot /path/to/original/ssl
SSLCertificateFile/path/to/original/cert
SSLCertificateKeyFile /path/to/original/key
..
/VirtualHost

# Second SSL site
Listen 192.168.1.2:443
VirtualHost 192.168.1.2:443
DocumentRoot /path/to/second/ssl
SSLCertificateFile/path/to/second/cert
SSLCertificateKeyFile /path/to/second/key
..
/VirtualHost

and so on...

Rgds,

Owen Boyle.
__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]



Re: help needed for virtualhosting + SSL configuration.

2002-05-06 Thread Subscribed

I Just walked down this road.
Make your default site a virtual host, and NameVirtualHosts, make that your
IP address.
Remove documentroot and servername from your Main configuration and keep
it only in Virtualhost
Thats a start, let me know if you have issues from there.
Remember that the first virtual host becomes default when you remove your
current default settings.




My advice is worth exactly what you paid for it,
and not a penny more.

- Original Message -
From: Nisarg Rav [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, May 03, 2002 11:16 PM
Subject: help needed for virtualhosting + SSL configuration.


 hello gurus ,

   I've installed and configured apache-1.3.23 + openssl-0.9.6b +
mod_ssl and mod_perl successfully.
   It is working fine for my main site and self signed ssl certificate.

   I want to do IP based virtual hosting for more one site and want to
serve that site through self signed ssl certificate.
   so may i get help to configure httpd.conf to full fill my
requirement .

 Regards

 Nisarg Rav

 _
 Want a new web-based email account ? --- http://www.firstlinux.net

 _
 Promote your group and strengthen ties to your members with
[EMAIL PROTECTED] by Everyone.net  http://www.everyone.net/?btn=tag
 __
 Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
 User Support Mailing List  [EMAIL PROTECTED]
 Automated List Manager[EMAIL PROTECTED]


__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]