Hello, as you say here:
[18 Jul 11:54pm] [EMAIL PROTECTED] I've got a patch now that "fixes" this. <http://www.slamb.org/php-apache2-safemode.patch> It makes a stat(2) system call that isn't strictly necessary - rec->finfo has this information, but not in the struct stat form. It will probably put a lot of stuff in your error log if you try serve things that aren't files, which Apache2 is capable of. (I.e., coming from a Subversion repository.) I think it's better not to stat() as this is quite an expensive operation. It would be awesome if you could make a patch which uses the rec->finfo stuff. regards, Derick On Thu, 29 Aug 2002, Scott Lamb wrote: > The attached patch fixes <http://bugs.php.net/bug.php?id=17858>. Please > apply. This is definitely a bug people want fixed. There are nine votes > for it. The patch has been downloaded from my webpage 59 times. It's > apparently linked to by linuxfr.org. I sent it to this list a week ago > and got no response. > > It doesn't help if people are using non-file generators, but that's > gotta be like 1% of the usage. > > -- > Scott Lamb > --------------------------------------------------------------------------- Did I help you? http://www.derickrethans.nl/link.php?url=giftlist Frequent ranting: http://www.derickrethans.nl/ --------------------------------------------------------------------------- PHP: Scripting the Web - [EMAIL PROTECTED] All your branches are belong to me! SRM: Script Running Machine - www.vl-srm.net --------------------------------------------------------------------------- -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php