So when you output cgi.http_url, what do you see?
On Thu, Nov 15, 2012 at 11:31 AM, fun and learning <[email protected]>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:353186 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

