Re: Can't get 301 permanent redirect to work properly

2009-01-12 Thread Scott Doc
Thanks Paul and Brad, Looks like I'll have to ask the host about this one. I have no idea what CRLFCRLF is nor anything about web proxies or IIS.. a bit beyond me. And yes, the downloading the source must be why it is rendered as text in the browser. Strange indeed. Cheers

Re: Can't get 301 permanent redirect to work properly

2009-01-12 Thread Dave Watts
Looks like I'll have to ask the host about this one. I have no idea what CRLFCRLF is nor anything about web proxies or IIS.. a bit beyond me. And yes, the downloading the source must be why it is rendered as text in the browser. Strange indeed. CRLF is carriage return and line feed. Your

Re: Can't get 301 permanent redirect to work properly

2009-01-09 Thread Paul Cormier
Here's my actual page: http://www.wildasia.net/rt/ OK, I believe one of two things may be happening: 1. Is there a web proxy somewhere in the chain? If possible, try it again from a web browser right on the server. 2. Your IIS install/ColdFusion connector is hosed. Not only do I get a 302

RE: Can't get 301 permanent redirect to work properly

2009-01-09 Thread brad
. ~Brad Original Message Subject: Re: Can't get 301 permanent redirect to work properly From: Paul Cormier pcorm...@win-soft.com Date: Fri, January 09, 2009 9:21 am To: cf-talk cf-talk@houseoffusion.com Here's my actual page: http://www.wildasia.net/rt/ OK, I believe

Re: Can't get 301 permanent redirect to work properly

2009-01-08 Thread Paul Cormier
I just confirmed that the following code did correctly return HTTP/1.x 301 Moved permanently under CF8. Sorry no CF5 available to test: cfheader statuscode=301 statustext=Moved permanently cfheader name=Location value=http://www.besthomepro.com/; Try removing the cfabort. Paul Cormier

Re: Can't get 301 permanent redirect to work properly

2009-01-08 Thread Scott Doc
I removed the cfabort but still the same status when checking with firefox return: HTTP/1.1 302 Object Moved My code is the same as yours below (except, obviously, the value of the second line) Here's my actual page: http://www.wildasia.net/rt/ I just confirmed that the following code did

Re: Can't get 301 permanent redirect to work properly

2009-01-07 Thread Scott Doc
Thanks for the responses. First off, apologies to HouseOfFusion - I duplicated this thread because something was wrong or slow at the time and I didn't think my posting went through: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:58281 I downloaded the firefox plug-in, but it

Re: Can't get 301 permanent redirect to work properly

2008-12-13 Thread Jochem van Dieten
On Wed, Dec 10, 2008 at 6:08 AM, Scott Doc wrote: So I added the following code on effected pages: cfheader statuscode=301 statustext=Moved permanently cfheader name=Location value=http://www.example.net/test.cfm?page=4; cfabort Recently I checked our redirects with a tool found here:

RE: Can't get 301 permanent redirect to work properly

2008-12-11 Thread Hugo Ahlenius
| Why is that? And, more importantly, does this matter? It | seems it has moved it isn't a 302 Found but it isn't a | 301 either... I'm confused. Why is it ignoring my cfheader statuscode? cURL is such a handy tool: curl -I http://www.example.net/test.cfm?page=4 Get it here, if it is not in

RE: Can't get 301 permanent redirect to work properly

2008-12-10 Thread Steve Keator
The company that I used to work at came across the same issue a while back. We found that it was actually the redirect tester itself, and not the CF redirects, that was reporting 302's incorrectly. Consider checking a few alternate sources to make sure it is not that particular redirect tester

Re: Can't get 301 permanent redirect to work properly

2008-12-10 Thread Alan Rother
Scott, If you want to be sure it's working I'd recommend testing the headers yourself. Open up firefox and download the HttpFox plugin. It will allow you to see all of the raw response headers a page generates on the fly. We had a similar project and it was the only way we could validate it to