note 92383 added to function.header

From: Date: Wed, 22 Jul 2009 12:41:47 +0000
Subject: note 92383 added to function.header
Groups: php.notes 
Request: Send a blank email to php-notes+get-158573@lists.php.net to get a copy of this message
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. ---- Server IP: 78.41.104.8 Probable Submitter: 193.164.146.121 ---- Manual Page -- http://www.php.net/manual/en/function.header.php Edit -- https://master.php.net/note/edit/92383 Del: integrated -- https://master.php.net/note/delete/92383/integrated Del: useless -- https://master.php.net/note/delete/92383/useless Del: bad code -- https://master.php.net/note/delete/92383/bad+code Del: spam -- https://master.php.net/note/delete/92383/spam Del: non-english -- https://master.php.net/note/delete/92383/non-english Del: in docs -- https://master.php.net/note/delete/92383/in+docs Del: other reasons-- https://master.php.net/note/delete/92383 Reject -- https://master.php.net/note/reject/92383 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#158573) next »