[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apache and SSL



opps...

In the config i have

<IfDefine SSL>
Listen 80
Listen 443
</IfDefine>
NameVirtualHost *

then all the virtualhost stuff...

I had a look at the docs and could not find anything of use.

Many Thanks,
                        Johnno



----- Original Message -----
From: "Fred Clausen" <fred@unique.com>
To: "Johnno" <valentine@xtra.co.nz>
Cc: <debian-isp@lists.debian.org>
Sent: Friday, December 13, 2002 1:18 AM
Subject: Re: Apache and SSL


> Hi Johnno,
>
> Take a look at http://httpd.apache.org/docs for lots of information on how
> to configure apache. Anyway, you cannot put "NameVirtualHost" directive
> inside a virtual host container. Here is how you could do it:
>
> .... (Rest of config)
> Listen 80
> Listen 443
> .... (Rest of config)
> NameVirtualHost *
> NameVirtualHost *:443
>
> <VirtualHost *>
>  ServerAdmin tech@testing.zz
>  ServerName testing.zz
>  DocumentRoot /www/testing
> </VirtualHost>
>
> <VirtualHost *:443>
>  ServerAdmin tech@testing.zz
>  ServerName testing.zz
>  DocumentRoot /www/testing
> </VirtualHost>
>
> Check http://httpd.apache.org/docs/vhosts/name-based.html for more info.
>
> Cheers, Fred.
>
> --
> Fred Clausen - Systems Administrator
> Unique Interactive, part of UBC Media Group plc
> Winners of the 2002 CRCA NTL New Media Award




Reply to: