Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CFLOCATION: Bad Redirect

Status
Not open for further replies.

ingernet

Programmer
Feb 5, 2001
68
US
Okay, I'm officially frustrated.

I have a CF page: mypage.cfm

All it has in it is this tag:

Code:
<cflocation url=&quot;[URL unfurl="true"]http://www.yahoo.com/&quot;>[/URL]

No bells or whistles, just a redirect. I get &quot;Bad Redirect.&quot;

Is there some server setting or install configuration that was missed that would cause this? I'm at my wits' end.

Thanks,
Inger
 
Hey ingernet

If you want to post the error message in its entirety here we might be able to pin point the problem, but that tag looks perfect to me.
 
This is definitely a server-related issue. I've contacted my local sysadmin and hope to find a resolution. I have a feeling it has something to do with the Apache config. Did you folks have any special Redirect directives in your .conf files?
 
Try using a <CFINCLUDE> Instaed of CF Location, I had the same issue and CFINCLUDE did the redirection with no error.

I don't know why one tag would work over another, and I didn't get an answer from my host on why one worked and the other didn't either... Which brings up the question, who is your host? I wonder if we are on the same server.

Good Luck,

SteelDragon
 
Heh! This is an intranet that I'm working on. I'm guessing our sysadmins went to the same school of administration, though. {:
I hadn't thought of the CFInclude thing. Duh. Thanks!

(But I will continue to bug my sysadmin, just for grins.)

ingernet
 
I am now having the same problem. a <cflocation> will not redirect but an include will do the job. did anyone ever figure out what the problem here was?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top