you could check to see if CGI.SERVER_PORT does not contain your secure port
and relocate to https://#CGI.HTTP_HOST##CGI.SCRIPT_NAME#

-----Original Message-----
From: Chris Montgomery [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 03, 2001 8:57 AM
To: CF-Talk
Subject: How to Force https vs http


Howdy all,

Quick question....is it possible to have a URL redirect to a secure URL? For
example, someone enters http://www.xxxblahxxx.com/secure/securepage.cfm
instead of  https://www.xxxblahxxx.com/secure/securepage.cfm. How do you
force a redirect to the secure URL? Is that a server function, or can it be
done programmatically?

TIA,

Chris Montgomery             [EMAIL PROTECTED]

Web Development & Consulting http://www.astutia.com
Allaire Sales & Consulting Partner
210-490-3249/888-745-7603    Fax 210-490-4692
Instant Messaging:
AIM: astutiaweb; ICQ: 7381282; MSN: [EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to