>- see footer for list info -< Fusebox 5.1 introduces type="moved" and type="javascript". "moved" causes a 301 Moved Permanently status to be returned to the browser along with the new URL as a Location: header. "javascript" causes some JavaScript?<http://trac.fuseboxframework.org/fusebox/wiki/JavaScript>code to be output that when executed in the browser will change the href of the current window to the new URL.
http://trac.fuseboxframework.org/fusebox/wiki/RelocateVerb On 22/02/2008, Nick Tong <[EMAIL PROTECTED]> wrote: > > fusebox supports 301s? > > http://trac.fuseboxframework.org/fusebox/ticket/128 > > On 22/02/2008, Simon Baynes <[EMAIL PROTECTED]> wrote: > > > > >- see footer for list info -< > > > > I don't know if the same thing exists in ISAPI, but in Mod_Rewrite you > > can use a RewriteCond to make a rule only work if it hasn't been > > rewritten already:- > > RewriteCond %{ENV:REDIRECT_STATUS} ^$ > > > > RewriteRule /index.cfm/fuseaction/mycircuit.myfuseaction.cfm > > /myurl/ [I,RP] > > > > > > The latest version of ISAPI rewrite is really similar to Mod_Rewrite > > so it could well wok! > > > > > > On Fri, Feb 22, 2008 at 3:55 PM, Allan Cliff <[EMAIL PROTECTED]> > > wrote: > > > >- see footer for list info -< > > > thanks, that was my idea too. > > > I solves the problem of links that come from within the site but not > > urls from search engines. > > > > > > My problem in ISAPI is that I want to map > > > > > > RewriteRule /myurl/ /index.cfm/fuseaction/mycircuit.myfuseaction.cfm > > [I,L] > > > (so the correct code gets read, as the underlying structure will be > > fusebox still) > > > > > > and also > > > > > > RewriteRule /index.cfm/fuseaction/mycircuit.myfuseaction.cfm > > /myurl/ [I,RP] > > > > > > as a 301 which is a conflict as they redirect causing a loop. > > > > > > I've only just started using ISAPI so maybe I'm missing something and > > am going through the docs at the moment. > > > > > > Snake <[EMAIL PROTECTED]> wrote: >- 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. > > > > > > > > > "myfuseaction"> > > > > > > > > > > > > > > > > > > > > > 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 -< > > > > > > > > > > > > --------------------------------- > > > 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 -< > > > > > > > > > > > > > -- > > Simon Baynes > > www.simonbaynes.com > > LinkedIn profile:- http://www.linkedin.com/in/simonbaynes > > > > _______________________________________________ > > > > > > 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 > > -< > > > > > > -- > Nick Tong > > web: http://talkwebsolutions.co.uk > blog: http://succor.co.uk > f..works: http://cfframeworks.com > short urls: http://wapurl.co.uk > green link: http://wapurl.co.uk/?4Z2YDLX -- Nick Tong web: http://talkwebsolutions.co.uk blog: http://succor.co.uk f..works: http://cfframeworks.com short urls: http://wapurl.co.uk green link: http://wapurl.co.uk/?4Z2YDLX _______________________________________________ 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 -<
