You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Di...@eurotours.at on 2003/02/26 14:31:43 UTC
[users@httpd] Antwort: Re: [users@httpd] apache-2.0.44 +SSL + Non-SSL VirtualHosts (FAQ??)
So you have to start apache with the -DSSL paramter or comment the ifdefine
directive.
Dietmar
Odhiambo Washington <wa...@wananchi.com> am 26.02.2003 14:26:48
Bitte antworten an users@httpd.apache.org
An: users@httpd.apache.org
Kopie:
Thema: Re: [users@httpd] apache-2.0.44 +SSL + Non-SSL VirtualHosts (FAQ??)
* Nikunj Virani <ni...@netsurf.co.in> [20030226 14:57]: wrote:
> Make sure you have mod_ssl loaded with your apache. There are good
> documentation for Open SSL at:
>
> http://www.modssl.org/docs/2.8/ssl_overview.html.
> http://httpd.apache.org/docs-2.0/mod/mod_ssl.html
> http://httpd.apache.org/docs-2.0/ssl/
>
> A fast track configuration for ssl might include:
>
> 1. Making sure u have mod_ssl module loaded with apache.
I have this in httpd.conf:
<IfDefine SSL>
LoadModule ssl_module modules/mod_ssl.so
</IfDefine>
Then,
beastie# /usr/local/apache2/bin/httpd -l
Compiled in modules:
core.c
prefork.c
http_core.c
mod_so.c
beastie#
> 2. Adding listen directive on apache
> Listen ip:443
I have that one in ssl.conf
> 3. Setting VirtualHost
> <VirtualHost 192.168.100.100:443>
> ServerName xyz.com
> DocumentRoot /var/www/html/xyz.com
> ErrorLog /var/log/httpd/xyz.log
>
> //Default Certificate and key file
> SSLEngine on
> SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
> SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
> </VirtualHost>
Those entries are rejected in my config. My Virtual hosts are
included from httpd.conf. I have included them from ssl.conf
and now the SSL* works.
Thanks
-Wash
--
Odhiambo Washington <wa...@wananchi.com> "The box said 'Requires
Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,'
Tel: +254 2 313985-9 +254 2 313922 so I installed FreeBSD."
GSM: +254 72 743223 +254 733 744121 This sig is McQ! :-)
When God endowed human beings with brains, He did not intend to
guarantee them.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org