Pablo Pernot wrote:
>
> I'm a newbie in this list and in SSL in general.
> It starts well but I need some httpd.conf config explications.
> Could somebody send a httpd.conf example ?
I assume you already have all the fancy SSL directives which are in the
default config file that comes with the distribution.
I also assume you already know Apache but want to know how to set up SSL
virtual hosts. One word of advice DO NOT try to use name-based virtual
hosting with SSL virtual hosts - it doesn't work!
A typical set-up with 1 IP address serving a few non-SSL hosts and
exactly 1 SSL host would look something like this:
NameVirtualHost 192.168.200.1:80
<VirtualHost 192.168.200.1:80>
ServerName banana.fruit.com
DocumentRoot /home/banana
</VirtualHost>
<VirtualHost 192.168.200.1:80>
ServerName kiwi.fruit.com
DocumentRoot /home/kiwi
</VirtualHost>
<VirtualHost 192.168.200.1:443>
ServerName ssl.fruit.com
DocumentRoot /home/ssl
SSLEngine On
SSLCertificateFile /apache_conf_dir/ssl.crt/your_site.crt
SSLCertificateKeyFile /apache_conf_dir/ssl.key/your_site.key
</VirtualHost>
Rgds,
Owen Boyle.
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]