Note that this should be done in addition to setting access restrictions on
the server level.

-----Original Message-----
From: Caulfield, Michael 
Sent: Thursday, May 03, 2001 10:17 AM
To: '[EMAIL PROTECTED]'
Subject: RE: How to Force https vs http


You can set a line in application.cfm that says if the path cotains
"\secure\" and the protocol is insecure, then cflocation with an https
prefix to the requested page.

You probably want to also set the inverse, so people don't stop by your
store, then wander around you site in https mode.

Of course, this relies on you putting your secure pages into folders named
secure, but it's worked well enough for us.



-----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