Correction, I meant to type "when the IP address the HTTPS certificate is
for, is for a domain and/or IP that does not match the domain being used by
the application".  The problem there typically is session variables are lost
and everything gets thrown out of whack for the user.  Also seen when that
is the case instead of redirecting the user to say
https://www.mysite.com/something/ it redirects them to
https://www.mysite.com/

On Wed, Jul 15, 2009 at 8:21 PM, Aaron Rouse <[email protected]> wrote:

> The cflocation should work, I actually do the exact thing you described in
> your original post except I use the CGI variable I suggested, which should
> make no difference.  I have seen what you are describing before but it is
> when the IP address IIS has for HTTPS is for a domain and/or IP address that
> does not match the domain being used by the application.
>
>
> On Wed, Jul 15, 2009 at 4:53 PM, Mark Davis <[email protected]>wrote:
>
>>  Thanks Aaron.  any one of several cgi vars would do the trick, but thats
>> not the issue.  Its the cflocation that it seems to puke on.  I will check
>> more on IIS
>>
>>
>> *Mark Davis **| Developer*
>> **
>>
>> **
>> .........................................................................................................................
>>
>> Round Table Group, Inc.
>>
>> (281) 717-4575
>>
>> [email protected]
>>
>> www.roundtablegroup.com
>>
>>
>> .........................................................................................................................
>>
>> * *
>> [image:
>> https://www.roundtablegroup.com/secure/staff/emailSignature/RTG_logo.bmp]
>> **
>>
>> *The Leading Authority in Expert Witness Search & **ReferralTM***
>>
>>  CONFIDENTIALITY NOTE: This e-mail, and any attachments thereto, is
>> intended only for use by the addressee(s) named in the message originated by
>> me and may contain legally privileged and/or confidential information. If
>> the reader of this message is not the intended recipient, you are hereby
>> notified that any dissemination, distribution or copying of this
>> communication is strictly prohibited. If you have received this email in
>> error, please notify me immediately by telephone and permanently delete the
>> original and any copy of the email, and any printout thereof. Thank you.
>>
>>
>>  ------------------------------
>> *From:* [email protected] [mailto:[email protected]] *On
>> Behalf Of *Aaron Rouse
>> *Sent:* Wednesday, July 15, 2009 4:32 PM
>> *To:* [email protected]
>> *Subject:* [houcfug] Re: https
>>
>> What about CGI.HTTPS it will be "on" or "off"  I do believe you can
>> enforce https based on directories with IIS as well but do not have an IIS
>> Admin screen handy to go and look at where you do it.
>>
>> On Wed, Jul 15, 2009 at 3:55 PM, Mark Davis 
>> <[email protected]>wrote:
>>
>>>  hey guys,
>>>
>>> anyone have a good method of forcing https for requests to a specific
>>> application and forcing http for others?  Our site has numerous applications
>>> (defined as having their own application.cfc or cfm.) and as the user
>>> navigates from some sections to others, I want to redirect between https and
>>> http.
>>>
>>> I was trying something as simple as adding this in the application.cfm...
>>>
>>> <cfif
>>> cgi.SERVER_PORT eq 80>
>>>
>>>     doing a cflocation to the same url and query string they had but
>>> with https
>>>
>>> </cfif>
>>> but I generally get browser errors "IE cannot display thge webpage."  Can
>>> IIS do redirect like this on different directores?  or something else?
>>>
>>> *Mark Davis **| Developer*
>>> **
>>>
>>> **
>>> .........................................................................................................................
>>>
>>> Round Table Group, Inc.
>>>
>>> (281) 717-4575
>>>
>>> [email protected]
>>>
>>> www.roundtablegroup.com
>>>
>>>
>>> .........................................................................................................................
>>>
>>> **
>>> [image:
>>> https://www.roundtablegroup.com/secure/staff/emailSignature/RTG_logo.bmp]
>>> **
>>>
>>> *The Leading Authority in Expert Witness Search & **ReferralTM***
>>>
>>>  CONFIDENTIALITY NOTE: This e-mail, and any attachments thereto, is
>>> intended only for use by the addressee(s) named in the message originated by
>>> me and may contain legally privileged and/or confidential information. If
>>> the reader of this message is not the intended recipient, you are hereby
>>> notified that any dissemination, distribution or copying of this
>>> communication is strictly prohibited. If you have received this email in
>>> error, please notify me immediately by telephone and permanently delete the
>>> original and any copy of the email, and any printout thereof. Thank you.
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Aaron Rouse
>> http://www.happyhacker.com/
>> >>
>>
>
>
> --
> Aaron Rouse
> http://www.happyhacker.com/
>



-- 
Aaron Rouse
http://www.happyhacker.com/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Houston ColdFusion 
Users' Group" discussion list.
To unsubscribe, send email to [email protected]
For more options, visit http://groups.google.com/group/houcfug?hl=en
-~----------~----~----~----~------~----~------~--~---

<<inline: image001.gif>>

<<inline: image001.gif>>

Reply via email to