Page 1 of 1

When did PHP communicate back to Apache HTTP header codes?

Posted: Sat Feb 14, 2009 11:21 pm
by JAB Creations
There was a time I think perhaps only several years ago that this...

Code: Select all

<?php
header("HTTP/1.0 403 Forbidden");
?>
...would not effect the HTTP code in Apache generated access logs. Since when was this fixed? At the time it always bugged me and I'm very grateful this has been fixed! :)

Re: When did PHP communicate back to Apache HTTP header codes?

Posted: Sun Feb 15, 2009 12:40 am
by josh
I noticed that the other day, a regular header redirect logs a 3xx I think