This patch should not be integrated into JServ.  It doesn't solve the
problem -- and someone might well choose to mount servlets under
/fooservlets/ rather than /servlets/ -- in which case this would break.

I'd look through your conf files for any block which has <IfModule
mod_rewrite.c> -- if that doesn't turn up anything, could you reduce this
to a simple failure case (or send me all your conf files, either way) and
send me that?  I'll see if I can reproduce the problem.

I'm guessing that it's a configuration issue, though.  Apache does allow
you to use handlers when there is no file whose name matches the URI -- if
that's not working, something else is really quite messed up.

Ed

On Mon, 10 May 1999, Paul Matthew Reilly wrote:

> Frank Flannery <[EMAIL PROTECTED]> writes:
> 
>  > [Mon May 10 20:21:48 1999] [error] [client
>  > 209.110.235.2] object is not a file,
>  > directory or symlink: /servlets/quick                 
>  >                         
>  > which makes it sound like it isn't ever going to the
>  > servlet engine.
> 
> This sounds familiar.  I tracked down the problem that I was having to
> the stat system call.  I submitted a bug report to the JServ
> development site, but I think I was in error in doing so.  I think it
> is really a linux (Redhat 5.2) bug, but it shows up with Apache, the
> rewrite module, and JServ.  I planned on following through by
> debugging this in the kernel, but I got side tracked.
> 
> I wrote a workaround, so that coding could continue here until the bug
> got fixed in the proper place.  This is definitely a less than ideal
> hack, though.
> 
> [paul@gsxr main]# pwd
> /usr/local/src/apache_1.3.6/src/main
> [paul@gsxr main]# diff http_request.c http_request.c.orig
> 243,248d242
> <         else if (! strcmp("/servlets", path) )
> <         {
> <           errno = 0;
> <           rv = stat(path, &r->finfo);
> <           r->finfo.st_mode = 0;
> <         }
> 
> -Paul
> 
> 
> ----------------------------------------------------------------
> 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]
> 



----------------------------------------------------------------
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]

Reply via email to