On Thu, Jul 08, 2004 at 12:23:52AM +0200, Andr? Malo wrote:
> * Graham Leggett <[EMAIL PROTECTED]> wrote:
> 
> > Dmitri Tikhonov wrote:
> > 
> > > Sure, check out bug 29961; you are CC'd:
> > > 
> > >   http://nagoya.apache.org/bugzilla/show_bug.cgi?id=29961
> > 
> > According to http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15112 
> > this problem is fixed in v2.1 - can you try that version and confirm if 
> > it's fixed? If so, then we can organise it gets into v2.0
> 
> Or just the mod_dir patch provided in the report as link.

I applied the patch to a freshly downloaded apache 2.0.50, but something
does not add up:

  [Wed Jul 07 18:52:45 2004] [debug] proxy_http.c(66): proxy: HTTP: 
canonicalising URL //localhost:8088/index.cgi
  [Wed Jul 07 18:52:45 2004] [error] [client 127.0.0.1] File does not exist: 
proxy:http://localhost:8088/index.cgi

However, changing from

  ap_internal_fast_redirect(rr, r);

to

  ap_internal_redirect(rr->uri, r);

made it work, but not without a glitch (index.cgi is a redirector, and
thus returns no body): an error body is appended to the document and error
is logged:

  [Wed Jul 07 18:56:44 2004] [error] [client 127.0.0.1] Attempt to serve 
directory: /var/www/

This error is generated by default_handler() in server/core.c; I am not
sure how the request gets there, as it is handled by mod_proxy.

  - Dmitri.

Attachment: pgp9SIRd3hAGH.pgp
Description: PGP signature

Reply via email to