>- see footer for list info -<
Presumably in ISAPI rewrite you converting your URL's back to querystrings
right?

In which case coldfusion still receives the URL as
www.mysite.com/index.cfm?fuseaction=mycircuit.myfuseaction.cfm

and not
www.mysite.com/index.cfm/fuseaction/mycircuit.myfuseaction.cfm

which may be  your problem

Russ

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Allan Cliff
Sent: 22 February 2008 11:56
To: Coldfusion Development
Subject: [CF-Dev] Fusebox and redirecting

>- see footer for list info -<
Friday brain fart time,

I have a site which is written in fusebox and then later with SES urls.

i.e. www.mysite.com/index.cfm/fuseaction/mycircuit.myfuseaction.cfm

I now what to rewrite the urls using ISAPI which i can do but I also want to
do a 301 redirect on the existing urls.

<cfif fusebox.circuit is "mycircuit" and fusebox.fuseaction is
"myfuseaction">
     <cfheader statuscode="301" statustext="Moved permanently">
     <cfheader NAME="Location" value="/newurl/">
</cfif>

but this just goes round and round in a loop as the IF is always true.
Damn fusebox always calls "index.cfm" in SCRIPT_NAME.
As far as I can see I have no other variable to test against so I can't find
a solution.

Anyone awake on a Friday?

Thanks
Allan

       
---------------------------------
 Rise to the challenge for Sport Relief with Yahoo! for Good
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<



_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to