> -----Original Message-----
> From: Hatem Jaber [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 16, 2007 2:06 PM
> Subject: Re: Apache with Vhosts, SSL, and CF
>
> Everywhere I read they say that https and "named" virtual hosts
> are impossible.
Correct, due to how SSL works.
> I have 2 IP's assigned to my production server, I am only using
> one at the moment. Would this make things simpler with the
> install of a secure apache for just that one IP?
I would dedicate that one IP to a specific hostname and set it as the
secure host.
> So the box you have at home is not running virtual hosts in
> apache?
Correct. I have Apache on my PC (my wife's gaming PC) running one
specific task, while I use my Mac for doing all of my development, thus
the PC has a single Apache host tied to its one IP address while my Mac
uses vhosts as and when needed.
> I was doing some more reading and they say that the way to do
> it would be to have another ip that would be routed to 443.
Correct.
Try something like this:
# named hosts
NameVirtualHost 123.456.789.10:80
<VirtualHost _default_:80>
DocumentRoot "d:/apache/sites/default"
</VirtualHost>
<VirtualHost *:80>
ServerName joescrabshak.com
DocumentRoot "d:/apache/sites/joescrabshak"
</VirtualHost>
<VirtualHost *:80>
ServerName moescrabshak.com
DocumentRoot "d:/apache/sites/moescrabshak"
</VirtualHost>
# secure site
<VirtualHost 123.456.789.20:80>
ServerName myreallysecuresite.com
DocumentRoot "d:/apache/sites/myreallysecuresite.com"
</VirtualHost>
<VirtualHost 123.456.789.20:443>
ServerName myreallysecuresite.com
SSLEngine on
SSLCertificateFile "d:/apache/conf/ssl/secure.crt"
SSLCertificateKeyFile "d:/apache/conf/ssl/secure_priv.key"
DocumentRoot "d:/apache/sites/myreallysecuresite.com"
</VirtualHost>
Damien
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278304
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4