[wplug] Help with Apache and SSL
smk
smk at fyi.net
Sat Jun 18 08:03:51 EDT 2005
I have yet to make the switch to Apache 2.x so this is how I do it in the
1.3.x branch:
add:
Listen 443
(remember HTTPS connections run on port 443)
<VirtualHost xxx.xxx.xxx.xxx:443>
[.. snip other config options ..]
</VirtualHost>
Just add this along with your regular config and that should work. If you
want a more specific example drop me an email off the list.
- Scott
On Fri, 17 Jun 2005, Ken Rambler wrote:
> It seems that one must have a virtual entry in httpd.conf with
> <VirtualHost domain.com:80> along with a ServerName domain.com plus a
> Listen www.domain.com:80 all in addition to the ssl.conf (which is IP
> based).
>
> I think I have it now...
>
> -----Original Message-----
> From: Bill Moran [mailto:wmoran at potentialtech.com]
> Sent: Friday, June 17, 2005 5:17 PM
> To: General user list
> Cc: ken at ramblernet.com
> Subject: Re: [wplug] Help with Apache and SSL
>
>
> "Ken Rambler" <ken at ramblernet.com> wrote:
>
> > I'm adding static (public) IP addresses for ssl IP based connections.
> > When I add the virtual listing to the ssl config file, leaving the
> > non-ssl virtual entry in httpd.conf, I can only access using https.
> > What I'm wanting is the ability to connect either http or https. I
> > must be missing something in the config files. Any suggestions?
>
> You probably need to add two VirtualHost entries ... one for the HTTPS,
> and another for the HTTP.
>
> There may be a fancier, MACRO-type thingie you can use, but I never do.
> Usually there are slight differences between what I want to allow access
> to over HTTPS and what I want to make accessable via HTTP, and that
> requires two configs. For example, my SquirrelMail is only available
> via HTTPS, so the ssl.conf has an alias that the http.conf doesn't.
>
> --
> Bill Moran
> Potential Technologies
> http://www.potentialtech.com
>
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug
>
More information about the wplug
mailing list