Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 2.x support forum
 Helicon Tech : ISAPI_Rewrite 2.x support forum
Subject Topic: Accessing the URL in cold fusion Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
letsport
Newbie
Newbie


Joined: 20 August 2008
Location: Great Britain
Online Status: Offline
Posts: 5
Posted: 20 August 2008 at 9:02am | IP Logged Quote letsport

We are using the variable CGI.SCRIPT_NAME (on a cold fusion platform) to drive certain actions on our site. We are using ISAPI rewrite. But when I use CGI.SCRIPT_NAME it is giving me the re-written (ie dynamic) url not the original one (ie non-dynamic). How do I access the original url before it is translated using the isapi rules? I tried using X_Rewrite_URL but this just gives me the full dynamic translated URL and I want the URL that is entered by the user (ie the user friendly, non-dynamic one).
Back to Top View letsport's Profile Search for other posts by letsport Visit letsport's Homepage
 
tilly
Groupie
Groupie


Joined: 24 June 2008
Location: Neutral Zone
Online Status: Offline
Posts: 50
Posted: 21 August 2008 at 10:59am | IP Logged Quote tilly

Hi les,

Please see if the following helps
Code:
#CGI.HTTP_X_REWRITE_URL#<br/>#SCRIPT_NAME##QUERY_STRING#

 

Back to Top View tilly's Profile Search for other posts by tilly
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum