CFHEADER 301 shows up as 302 Object Moved

I am trying to redirect certain pages under one domain to another and have the links show up to search engine spiders as 301 Moved Permanently.  The solution is quite common and works well on our Windows 2003/IIS6 CF7 Server.

However on windows 2000/IIS5/CF 5 I do a 301 redirect and when I check the header, I get a 302 Object moved.  

This is the ONLY code on the page.

<cfheader statuscode="301" statustext="Moved Permanently" />
<cfheader name="Location" value="" />

The Headers come back as

HTTP Status Code: HTTP/1.1 302 Object Moved
Server: Microsoft-IIS/5.0
Content-Type: text/html
Content-Length: 152
Redirect Target:

Any ideas why this is happening?


Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


What's wrong with cflocation

moneygripAuthor Commented:
cflocation will definetley throw a 302.  I think I have it solved.  By making sure location is all lowercase, a 301 seems to happen.  Location throws a 302!  CF5 was so quirky!
Closed, 500 points refunded.
The Experts Exchange
Community Support Moderator of all Ages

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Servers

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.