Do you also have a cflocation tag in that page?

On 9/5/07, Ian Skinner <[EMAIL PROTECTED]> wrote:
> I'm experimenting with setting a 301 'Moved Permanently" header for a
> large reorganization of our site.
>
> My first experiment was with using .htaccess with the following line in it:
>
> redirect 301 /301_old.html http://dprweb:2222/301_new.html
>
> This immediately caused my entire website to crash and return a 500 error.
>
> My second experiment was with using some ColdFusion code:
> <cfheader statuscode="301" statustext="Moved permanently">
> <cfheader name="Location" value="http://dprweb:2222/301_new.html";>
>
> This seemed to work on the surface, as when I put the 301_old.cfm URL in
> a browser I ended up on the 301_new.html page.  But looking at the
> actual HTTP requests and responses I seem to be getting a 301 Found
> status instead of a 301 Moved Permanently.  Is this expected?  My
> understanding of what I have read indicates otherwise.



-- 
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287760
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to