|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-06-16 08:58 UTC] sander@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 13 20:00:01 2025 UTC |
<?php header('Location: http://www.php.net/'); ?> always successfully sends the right headers to the client. However, when I request the page that contains this code as a directory, e.g. http://www.example.com/foo/ Apache logs a 200 status code, not 302. http://www.example.com/foo/index.html causes a 302 to correctly be logged. I'm not sure whether this is a PHP or an Apache issue. I'm using Apache 1.3.9.