Thanks Bobby,

The whole script is:

<cfif #len(this.HTTPSecure)# eq 0>
<cflocation url="http://localhost:8301/"; addtoken="no"  />
<cfelse>
<cfset application.secureAppPath = 'https://' & 
#application.configuration.configvariables.Application_Path# & '/wddx' />
</cfif>

I've based that statement on the result 0 because that's the current value in 
the CGI variable list, but you're right, the original code was looking for 
'off'. It's just testing that has taken me down this route.

The problem isn't coming from there though because if I even type in 
https://localhost:8301 straight into the address it isn't running (it's meant 
to just forward to the file which holds the code above). It just hangs, so it 
doesn't look like that code is the root of the problem. The two other machines 
are showing this problem as well and they don't have any CF code running on 
them at the moment. 

Cheers,
James


> Hi everyone,
> 
> I'm currently working on migrating our applications from CF5.0 to MX7.
> 02. I'm running this over a JRun4 multi-server configuration and 
> everything is up and running apart from the SSL which I'm really 
> struggling with.
> 
> The problem I have is coming from a simple bit of code in a 
> onRequestStart function:
> 
> <cfscript>
> this.HTTPSecure = #cgi.https#;
> </cfscript>
>       
> <cfif #len(this.HTTPSecure)# eq 0>
> <cflocation url="https://localhost:8301/"; addtoken="no"  />
> <cfelse>
.....
> 
> </cfif>
> 
> -----------
> 
> If I try and run that the browser just sits there thinking about 
> something and then times out on me. Taking out the secure protocol on 
> the http works fine.
> 
> Things I tried so far are:
> 
> 1) Tried this on three separate machines and all are showing the same 
> signs
> 
> 2) Following Adobe's Technotes on setting up SSL and LDAP by importing 
> my certificates into the C:\JRun4\jre\lib\security\cacerts and 
> confirmed that they've been installed fine through a command prompt - 
> http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19139
> 
> 3)Tried to follow another Technotes about setting up SSL in JRun Web 
> Server Connector here: http://www.adobe.
> com/cfusion/knowledgebase/index.cfm?event=view&id=KC.
tn_18203&extid=tn_18203&dialogID=194654303&iteration> 
ID=1&sessionID=4830fc7d7b9e6c96bc6c&stateID=1+0+194658323&mode=simple
> 
> I'm not sure if this is what I'm meant to be doing though as I'm a 
> complete JRun newbie.
> 
> 4) Enabling SSL in java.xml and changing the port address from 9100 to 
> 443. 
> 
> I wasn't sure if there might have been a conflict in me calling port 
> 8301 for my Instance through the CFlocation and alos trying to secure 
> at the same using a different port. I'm assuming when the instance was 
> setup that the usual port 80 for http requests is just repointed to 
> the instance port 8301?
> 
> Does have anybody have any pointers that might help?
> 
> Thanks,
James

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260670
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to