[ILUG] ssl and virtual hosts problem
Andy Morrow
andy.morrow at jinny.ie
Tue Jul 27 17:16:43 IST 2004
i think im going to run into a problem here because the machine doesnt have
2 ip's(internal and external)
the external is only nat'd at the firewall, so any traffic for the external
gets nat'd onto the internal and then when it's checked, i presume it just
sees the internal ip??
> -----Original Message-----
> From: ilug-bounces at linux.ie [mailto:ilug-bounces at linux.ie]On Behalf Of
> Barry Flanagan
> Sent: 16 July 2004 17:33
> To: ilug at linux.ie
> Subject: Re: [ILUG] ssl and virtual hosts problem
>
>
> On Fri, 2004-07-16 at 16:17, Andy Morrow wrote:
> > hi all,
> >
> > trying to configure ssl stuff as per the following,
> >
> > have setup ssl client certs, all working fine, httpd.conf and
> ssl.conf all
> > fine,
> >
> > problem is when i want to bypass this ssl require cert stuff
> >
> >
> > i want all external traffic to http://s.a.ie to be redircted to
> > https://s.a.ie
> > but i want internal ip's to be able to view the site normally
> without having
> > to install a client cert.
> >
> > linux box has internal and external ip's
> >
>
> Then I think what you need to do is set up these VirtualHosts on the
> external IP address only, configured as you have below, and then set up
> an additional one listening only on the internal IP address which does
> not do the Redirect to https for internal users.
>
> --
>
> -Barry Flanagan
>
> --
> Irish Linux Users' Group
> http://www.linux.ie/mailman/listinfo/ilug/
>
>
More information about the ILUG
mailing list