> So far this site is working fine. However, I would like to use https just > for ss6 directory, so the site looks like > https://my-server-name/ss6/index.cfm. > The root directory is still http://my-server-name/index.cfm. The > certification is > installed in the web server. What configurations do I have to do on IIS server > or coldfusion server?
ColdFusion doesn't care if the request is HTTP or HTTPS, and by default when a certificate is added to a site in IIS it will be available for any content loaded through that site. If you want to force SSL for that folder there is a setting in IIS to do that (which will be different depending on the version of Windows/IIS you're on). In ColdFusion, you can do a test for a couple of variables (cgi.server_port comes to mind which can be tested for 80 or 443 to determine which protocol assuming you're using default ports). From there you can test and use CFLOCATION if they're on port 80 and direct to https://.... to force them to SSL through ColdFusion (friendlier than the error message IIS will give them if they try through non-SSL and it's marked as required). If you can give some more detail on exactly what you're trying to accomplish we can help you better. -Justin ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:6022 Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm
