|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[1998-09-24 22:54 UTC] russell at flora dot org
Between 3.0.3 and 3.0.4 a bug was introduced where Apache (1.3.2 in this case) will report missing files as "403 forbidden" rather than "404 not found". Reading the changelog I note a reference to an added lstat() function which might relate (Although I'm not sure how). If you are not able to reproduce this easily, please let me know and I will try to do more debugging here. Note: I do not have a php3.ini file. This is from a freshly built system where I noticed this problem before I had a chance to modify any configuration. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Mon Jun 15 05:00:01 2026 UTC |
This turned out to be an Apache bug. It's fixed in the 1.3.3-dev tree, with this patch: *** Ohttp_config.c Fri Sep 25 13:26:55 1998 --- http_config.c Fri Sep 25 11:40:57 1998 *************** *** 1247,1253 **** *result = dc; } else { ! if (errno == ENOENT || errno == ENOTDIR) dc = NULL; else { ap_log_rerror(APLOG_MARK, APLOG_CRIT, r, --- 1247,1253 ---- *result = dc; } else { ! if (errno == ENOENT || errno == ENOTDIR || (!access_name[0])) dc = NULL; else { ap_log_rerror(APLOG_MARK, APLOG_CRIT, r,