And if you output some text before the cflocation, does it work?

On Thu, Nov 15, 2012 at 11:34 AM, funand learning
<funandlrnn...@gmail.com>wrote:

>
> I see "/test/folder1"
>
> On Thu, Nov 15, 2012 at 11:32 AM, Raymond Camden <raymondcam...@gmail.com
> >wrote:
>
> >
> > So when you output cgi.http_url, what do you see?
> >
> >
> >
> > On Thu, Nov 15, 2012 at 11:31 AM, fun and learning
> > <funandlrnn...@gmail.com>wrote:
> >
> > >
> > > Hi All -
> > >
> > > I am using the following code to redirect a page
> > >
> > > <cfif cgi.http_host EQ "abc.com">
> > >      <cfif cgi.http_url EQ "/test/folder1">
> > >          <cflocation statuscode="301" addtoken="false" url="
> > > http://abc.com/test/folder2";>
> > >      </cfif>
> > > </cfif>
> > >
> > > The second if statement does not work. if I do the redirect just using
> > the
> > > first if statement, it works. ANy ideas on why this could be happening?
> > >
> > >
> >
> >
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353190
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to