You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rasmus Lerdorf <ra...@lerdorf.on.ca> on 1998/09/25 07:30:07 UTC

[PHP-DEV] Bug #784: stat() bug introduced in 3.0.4? (fwd)

Does this ring a bell?  I have been getting a number of reports from
people who upgraded to PHP 3.0.4 and Apache-1.3.2.  The lstat thing he
mentions has nothing to do with it.  Looks like the error-notes changes
have something to do with this.

---------- Forwarded message ----------
Date: Fri, 25 Sep 1998 02:54:28 +0000
From: russell@flora.org
To: php-dev@lists.php.net
Subject: [PHP-DEV] Bug #784: stat() bug introduced in 3.0.4?

From:             russell@flora.org
Operating system: Slackware 3.5 (Linux 2.0.35,libc.so.5.4.44) 
PHP version:      3.0.4
PHP Bug Type:     Other
Bug description:  stat() bug introduced in 3.0.4?

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).





Re: [PHP-DEV] Bug #784: stat() bug introduced in 3.0.4? (fwd)

Posted by Marc Slemko <ma...@znep.com>.
Sorry, I mean open().  

Try to get some info on that from people; the Apache message is designed
to be printed when open() on a htaccess fails with a unknown error.

On Fri, 25 Sep 1998, Rasmus Lerdorf wrote:

> > What does a truss/strace/ktrace/etc. show of the area where the stat() is
> > happening?
> > 
> > In particular, what is it stat()ing and what is the stat returning?
> 
> No idea.  I can't reproduce it, and the stat() thing is a red herring as
> far as I am concerned.  It is the same bug as the .htaccess thread on
> comp.infosystems.www.servers.unix, I think.
> 
> -Rasmus
> 
> 


Re: [PHP-DEV] Bug #784: stat() bug introduced in 3.0.4? (fwd)

Posted by Rasmus Lerdorf <ra...@lerdorf.on.ca>.
> What does a truss/strace/ktrace/etc. show of the area where the stat() is
> happening?
> 
> In particular, what is it stat()ing and what is the stat returning?

No idea.  I can't reproduce it, and the stat() thing is a red herring as
far as I am concerned.  It is the same bug as the .htaccess thread on
comp.infosystems.www.servers.unix, I think.

-Rasmus


Re: [PHP-DEV] Bug #784: stat() bug introduced in 3.0.4? (fwd)

Posted by Marc Slemko <ma...@worldgate.com>.
What does a truss/strace/ktrace/etc. show of the area where the stat() is
happening?

In particular, what is it stat()ing and what is the stat returning?

On Fri, 25 Sep 1998, Rasmus Lerdorf wrote:

> Does this ring a bell?  I have been getting a number of reports from
> people who upgraded to PHP 3.0.4 and Apache-1.3.2.  The lstat thing he
> mentions has nothing to do with it.  Looks like the error-notes changes
> have something to do with this.
> 
> ---------- Forwarded message ----------
> Date: Fri, 25 Sep 1998 02:54:28 +0000
> From: russell@flora.org
> To: php-dev@lists.php.net
> Subject: [PHP-DEV] Bug #784: stat() bug introduced in 3.0.4?
> 
> From:             russell@flora.org
> Operating system: Slackware 3.5 (Linux 2.0.35,libc.so.5.4.44) 
> PHP version:      3.0.4
> PHP Bug Type:     Other
> Bug description:  stat() bug introduced in 3.0.4?
> 
> 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).
> 
> 
> 
>