On Tue, 11 May 1999, Paul Matthew Reilly wrote:
> Ed Korthof <[EMAIL PROTECTED]> writes:
>
> > This patch should not be integrated into JServ.
>
> I totally agree. It isn't a problem with JServ, Apache, or the
> rewrite module, but it shows up with the three combined when using
> Redhat 5.2. As near as I could tell, it is a problem with stat(2):
Other people have used all three pieces of software, in various versions
of RedHat, without encountering this problem. I just tested it out using
RedHat 5.1; I find it difficult to believe this changed from 5.1 to 5.2.
> int stat(const char *file_name, struct stat *buf);
>
> During debugging, line 245 of http_request.c returns
>
> r->finfo.st_mode == 0
>
> All subsequent calls return something bogus like:
>
> r->finfo.st_mode == 2345
>
> I assumed this was a bug with stat(2). Please correct me if this
> seems like normal behavior.
[snip]
> I agree that something else is really quite messed up. I think it is
> the stat() system call that is messed up, but that is where I drew the
> line. I'm 100% confident that it has nothing to do with the
> configuration.
I'll look at it with gdb. I believe that all the code I've seen is quite
correct; and what's more, even if it wasn't, the addition or removal of
mod_rewrite should not in any way change this.
Unless you had a mod_rewrite rule which set things up so that you'd get an
error if the file didn't exist. That's entirely possible, which is why I
asked if you've got any sections which say '<IfModule mod_rewrite.c>'.
It's possible that there's a bug, but if so, it's a bug which is somehow
triggered by your configuration (IMO, of course).
Ed
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
READ THE FAQ!!!! <http://java.apache.org/faq/>
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]