I haven't had a chance to look at the FakeURL tag, but I made something
like that quite a while back, and had the same problem. That was my
solutions as well, I put a request variable in the application called
#Request.urlPath#
But here is what my "FakeURL" tag looked like:
<cfscript>
//first get everything after the script file
qstring = replace(CGI.path_info,CGI.script_name,"");
//next loop through each variable and set them accordingly
for(i=1; listlen(qstring,"/") GTE i; i=i+1){
if(i MOD 2){
qstringvariable = listgetat(qstring,i,"/");
}else{
"URL.#qstringvariable#" = listgetat(qstring,i,"/");
}
}
</cfscript>
_____________________________
steve oliver
senior internet developer
atnet solutions, inc.
http://www.atnetsolutions.com
-----Original Message-----
From: Roger B. [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 08, 2002 5:01 AM
To: CF-Talk
Subject: Re: CF_FakeURL problems
On Fri, 8 Mar 2002 14:48:44 +0900, "list peters" <[EMAIL PROTECTED]>
wrote:
>find and replace hell now......
>basehref would work if it wasnt for those pesky mac os X IE browsers.
While you're doing that, take a minute to drop the following into your
application.cfm:
<cfset request.abspath = "http://myabsolutepath.com/dir/">
.and then replace your relative URLs with something like:
<a href="#request.abspath#myimage.gif">
That way you'll never need to do a global s&r again... changing the
path of all your links will be as simple as changing one line of code.
--
______________________________________________________________________
Why Share?
Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
Instant Activation � $99/Month � Free Setup
http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists