Alex Pircher wrote:
>
> Is it possible to serve HTTP & HTTPS within one Virtual Host-
> Configuration?
>
> NameVirtualHost 123.123.123.123:80
> NameVirtualHost 123.123.123.123:443
> <VirtualHost www.domain.com:80 www.domain.com:443>
> ServerName www.domain.com
> SSLEngine on
> SSLCertificateFile /.../server.crt
> SSLCertificateKeyFile /.../server.key
> DocumentRoot /.../
> </VirtualHost>
>
> This won't work, because the SSLEngine is activated for Port 80 and 443.
Well spotted.
> Any ideas or have I to use two Virtual Host-Configurations - one for 80
> and one for 443?
Use two VirtualHosts and don't do "NameVirtualHost
123.123.123.123:443"...
What's the real problem? Do you want them both to serve the same
content?
Rgds,
Owen Boyle.
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]