All your images will need to be referenced off the top level. (i.e.
"/images/myimage.gif") as the browser will ALWAYS interpret safe url's as a
path.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 31, 2000 3:59 PM
To: Cf-Talk
Subject: Problem with <cf_formURL2attributes>
Hi Folks,
Now I am on track for getting the Search Engine Safe URLs going. But I have
a new issue. Since adding the new <cf_formURL2attributes> tag, suddenly my
images are all broken. I did find this reference in the
<cf_formURL2attributes> tag:
<!--- this is so that your relative images will work, this is only needed if
your using search engine urls --->
<cfif attributes.displaybase>
<CFSET caller.Base = REReplace(CGI.SCRIPT_NAME, "[^/]+\.cfm.*", "")>
<CFSET caller.Base= "http://" & CGI.SERVER_NAME & caller.Base>
<cfoutput><base href="#caller.Base#"></cfoutput>
</cfif>
The trouble is that its coming up with an incorrect base URL.
Instead of:
<base href="http://www.mydomain.com/source/test/">
Its coming up with:
<base href="http://http://www.mydomain.com//source/test/">
Anyone one know why this happens and how to fix it?
Sorry I have so many questions.
Eron
----------------------------------------------------------------------------
--
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.