note 92383 rejected from function.header by thiago

From: Date: Wed, 22 Jul 2009 13:36:13 +0000
Subject: note 92383 rejected from function.header by thiago
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-158574@lists.php.net to get a copy of this message
Note Submitter: 44448888 at mail dot ru ---- Hello! I have php 5.2.9, and i need change header from "HTTP/1.0 404 Not Found" to "HTTP/1.0 301 Moved Permanently", but it's don't working. Other line of header - replacing and adding, but not "HTTP/1.0 404 Not Found". How I can replace "HTTP/1.0 404 Not Found" to "HTTP/1.0 301 Moved Permanently"? P.S.: I need redirect some "error inbox url" from CMS (content manag sys), adding "Location: ..." and "HTTP/1.0 301 Moved Permanently", but "HTTP/1.0 404 Not Found" - is stay and redirect not working.

« previous php.notes (#158574) next »