RE: forced user to access https page
> how can i force my users to access HTTPS pages on my CF > application even they type HTTP at the URL address on > the browser? example if user type http://www.myapp.com > i want to redirect them to https://www.myapp.com taht > including all the CF pages they access, should i do > something on the apache server setting or should i put > some coding on the CF pages?? You can just put something like this in your Application.cfm file: https://#myurl#";> Alternatively, there's probably some way to do this in Apache, too. I'd look at the Redirect directive. I wouldn't be surprised if something like this worked: Redirect / https://www.myapp.com/ http://www.lists.aldigital.co.uk/apache-ssl/msg03385.html Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 : dream :: design :: develop : MXDC 02 :: Join us at this all day conference for designers & developers to learn tips, tricks, best practices and more for the entire Macromedia MX suite. September 28, 2002 :: http://www.mxdc02.com/ (Register today, seats are limited!) :: __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: forced user to access https page
how to get CGI.HTTPS? is not one of the variable i can get from CF / apache makwl -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 2:11 PM To: '[EMAIL PROTECTED]' Cc: '[EMAIL PROTECTED]' Subject: RE: forced user to access https page > how can i force my users to access HTTPS pages on my CF > application even they type HTTP at the URL address on > the browser? example if user type http://www.myapp.com > i want to redirect them to https://www.myapp.com taht > including all the CF pages they access, should i do > something on the apache server setting or should i put > some coding on the CF pages?? You can just put something like this in your Application.cfm file: https://#myurl#";> Alternatively, there's probably some way to do this in Apache, too. I'd look at the Redirect directive. I wouldn't be surprised if something like this worked: Redirect / https://www.myapp.com/ http://www.lists.aldigital.co.uk/apache-ssl/msg03385.html Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 : dream :: design :: develop : MXDC 02 :: Join us at this all day conference for designers & developers to learn tips, tricks, best practices and more for the entire Macromedia MX suite. September 28, 2002 :: http://www.mxdc02.com/ (Register today, seats are limited!) :: __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: forced user to access https page
hi there. check to see if the variable "cgi.CERT_SECRETKEYSIZE" is defined, if it isthe person is viewing your site over and https connection, if its not, redirect them to the secure url, https:// https://www.mySecureurl.com> hth ..tony Tony Weeg Senior Web Developer Information System Design Navtrak, Inc. Fleet Management Solutions www.navtrak.net 410.548.2337 -Original Message- From: Mak Wing Lok [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 22, 2002 10:46 PM To: CF-Talk Subject: forced user to access https page how can i force my users to access HTTPS pages on my CF application even they type HTTP at the URL address on the browser? example if user type http://www.myapp.com i want to redirect them to https://www.myapp.com taht including all the CF pages they access, should i do something on the apache server setting or should i put some coding on the CF pages?? __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists