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"...
>
> OK. So only "NameVirtualhost 123.123.123.123"
>
> > What's the real problem? Do you want them both to serve the same
> > content?
>
> Exactly, is this possible?
Interesting - why do you want to do that?
How about creating two virtual hosts one http one https and then linking
the directory of one to the other?
I haven't tried it - but it should work on unix.
Charles
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]