Hey guys. Long time no post. Any help and or advice would be greatly 
appreciated. i will respond as time allows.
this one has got me scratching my head.
Upgrading from cf 7 to 9. from webSphere to jBoss.

jboss-5.0.1.GA, apache2-2.2.10-2.24.5 
Jboss one box Apache on another..

if we use default (long and ugly) url our sessions are fine and persist.
if we re-write the url to make it pretty, before it hits the browser then we 
loose scope.

I know this has got to work for thousands of other apps...

-----------------------------------------------------------------------
###newest working
RewriteCond %{SERVER_NAME}= ^(.*)(cda-dev)
RewriteCond %{REQUEST_URI}= !^Rule_1
RewriteCond %{REQUEST_URI}= !^/cfmx02/(.*)
RewriteCond %{REQUEST_URI}= ^/=
RewriteRule ^/(.*) /cfmx02/cda/ [PT,QSA,L]

RewriteCond %{SERVER_NAME}= ^(.*)(cda-dev)
RewriteCond %{REQUEST_URI}= !^Rule_2
RewriteCond %{REQUEST_URI}= !^/cfmx02/(.*)
RewriteCond %{REQUEST_URI}= !^/server-status(.*)
RewriteCond %{REQUEST_URI}= !^/jmx-console/(.*)
RewriteCond %{REQUEST_URI}= ^/(.*)$
RewriteRule ^/(.*) /cfmx02/cda/$1 [PT,QSA,L]

JkMount /jmx-console/* jmx_console
JkMount /cfmx02/* load_balancer

-----------------------------------------------------------------------
System Information
Server Details
Server Product  ColdFusion
Version         9,0,1,274733  
Edition         Enterprise  
Operating System        UNIX  
OS Version      2.6.32.27-0.2-default  
Adobe Driver Version    4.0 (Build 0005)  
-----------------------------------------------------------------------
application.cfm

<CFAPPLICATION NAME="CDA-dev" clientManagement="yes" clientStorage="Cookie" 
setClientCookies = "yes" sessionManagement="yes" loginStorage="session" 
sessionTimeout = "#CreateTimeSpan(0,10,0,0)#">

<cfif NOT IsDefined("session.t_Id")>
  <!--- set default values --->
  <cflock name="#session.sessionID#"  timeout="10" TYPE="Exclusive">
    <cfset session.t_Id = ''>
    <cfset session.Msg = 'Please Login'>
  </cflock>
</cfif>

<cfinclude template = "common/app_globals.cfm" />
-----------------------------------------------------------------------

Thanks! 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343582
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to