Re: [us...@httpd] Enabling SSL on a virtual host

2009-12-16 Thread Krist van Besien
On Tue, Dec 15, 2009 at 5:37 PM, Jonathan Mast jhmast.develo...@gmail.com wrote: I'm thinking that the host name actually is required in the VirtualHost No it is not required. A hostname in a VirtualHost directive is internally converted to an IP address and only needed if this VirtualHost

Re: [us...@httpd] Enabling SSL on a virtual host

2009-12-16 Thread Chuck.Payne
- Original Message - From: Krist van Besien krist.vanbes...@gmail.com To: users@httpd.apache.org users@httpd.apache.org Sent: Wed Dec 16 07:17:43 2009 Subject: Re: [us...@httpd] Enabling SSL on a virtual host On Tue, Dec 15, 2009 at 5:37 PM, Jonathan Mast jhmast.develo...@gmail.com

Re: [us...@httpd] Enabling SSL on a virtual host

2009-12-16 Thread Chuck.Payne
- Original Message - From: Krist van Besien krist.vanbes...@gmail.com To: users@httpd.apache.org users@httpd.apache.org Sent: Wed Dec 16 07:17:43 2009 Subject: Re: [us...@httpd] Enabling SSL on a virtual host On Tue, Dec 15, 2009 at 5:37 PM, Jonathan Mast jhmast.develo...@gmail.com

[us...@httpd] Enabling SSL on a virtual host

2009-12-15 Thread Jonathan Mast
I have a single webserver (1 IP) to which many DNS entries point to. Up till now I've haven't needed SSL and the following config pattern has worked fine for me: VirtualHost * ServerName foo.mysite.com ... /VirtualHost VirtualHost * ServerName bar.mysite.com ... /VirtualHost However, when I

Re: [us...@httpd] Enabling SSL on a virtual host

2009-12-15 Thread Eric Covener
On Tue, Dec 15, 2009 at 10:48 AM, Jonathan Mast jhmast.develo...@gmail.com wrote: So my question is, how do I configure the VirtualHost to allow HTTP traffic (port 80) and HTTPS traffic (443)? You need two virtualhosts, one with SSL and one without. If you want everything other than SSL to be

Re: [us...@httpd] Enabling SSL on a virtual host

2009-12-15 Thread Jonathan Mast
I'm thinking that the host name actually is required in the VirtualHost declaration. But the 2 separate VirtualHost entries worked, thanks On Tue, Dec 15, 2009 at 10:53 AM, Eric Covener cove...@gmail.com wrote: On Tue, Dec 15, 2009 at 10:48 AM, Jonathan Mast jhmast.develo...@gmail.com wrote: