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

First, is there a reason you're not using an external web server, like IIS
or Apache? That's usually going to be easier to manage, and will give you
functionality that the JRun Web Server doesn't.

Second, is the JRun Web Server configured to listen for HTTP on TCP/80? By
default it isn't, obviously, but once you configure it to listen on the port
of your choice, it no longer uses the original port used when initially
installed.

Third, can you just go to the SSL URL directly? What happens when you do
this? The best way to test this is to create a static HTML file and try to
access that.

Finally, what happens when you output CGI.HTTPS? Different web servers
expose different CGI server variables. This variable may not be available
when using JRun Web Server.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
 
Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore and Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:260659
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