I do the same at www.support.net using

     <CFSET URLPAIRS = LISTLAST(SCRIPT_NAME, '/')>
         <!--- 1 //---><CFIF ISDEFINED("Urlpairs")>
         <!--- 2 //---><CFIF NOT ISNUMERIC(URLPAIRS)>
         <!--- 3 //---><CFIF LISTLAST(SCRIPT_NAME,'.') IS "htm">
         <CFSET ATT = LISTLAST(SCRIPT_NAME, '/')>
         <CFSET ATTRIBUTE.COLDFUSION = LISTFIRST(ATT, '.')>
         <!--- 3 //---><CFELSE>
         <CFSET ATTRIBUTE.COLDFUSION = LISTLAST(SCRIPT_NAME, '/')>
         <!--- 3 //---></CFIF>
         <!--- 2 //---><CFELSE>
         <CFSET ATTRIBUTE.ID = LISTLAST(SCRIPT_NAME, '/')>
         <CFSET SHORT_SCRIPT_NAME = LISTREST(SCRIPT_NAME, '/')>
         <CFSET ATTRIBUTE.COLDFUSION = LISTFIRST(SHORT_SCRIPT_NAME, '/')>
         <!--- 2 //---></CFIF>
         <!--- 1 //---></CFIF>

in act_globals.cfm

best,  paul


At 09:42 PM 5/10/00 -0400, you wrote:
>Howdy,
>
>I've set up my site to pass variables like so,
>http://www.mycompany.com/page.cfm/variable.htm
>
>Then at the top of page.cfm I have a little ditty to look for htm in the
>cgi.path_info and fish out the variable.
>
>This is working on my test servers, but not in production, where I get an
>ugly 404.  NT 4 SP5 IIS4 CF 4.0.1.  The only difference I can think of is
>the production servers run Cluster Cats, build 356.
>
>Maybe it's my brain rebeling for working through 90210, but I'm not making
>progress.
>
>Any ideas?
>
>TIA,
>
>
>Sean
>[EMAIL PROTECTED]
>------------------------------------------------------------------------------
>Archives: http://www.eGroups.com/list/cf-talk
>To Unsubscribe visit 
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or 
>send a message to [EMAIL PROTECTED] with 'unsubscribe' in 
>the body.

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to