httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Petr Lampa <la...@fee.vutbr.cz>
Subject Re: [STATUS] and the river flows on
Date Fri, 21 Feb 1997 22:44:52 GMT
> 
> Ain't gonna happen before 1.2b7 unless magic happens:
> 
...
>   * multiviews not behaving properly with path info (PR#40)
> 

This is not related with multiviews. It does the same for

	http://myhost/foo.html/bar

The question is what should be done, if path info is not null
and the referenced file is not a CGI script. Default handler in http_core.c
checks path_info at least from 1.0:

   if (r->finfo.st_mode == 0 || (r->path_info && *r->path_info)) {
       	log_reason("File does not exist", r->filename, r);
	return NOT_FOUND;
   }

So the error is OK, but it should contain path_info:

       	log_reason("File does not exist", r->path_info?pstrcat(r->pool, 
			r->filename, r->path_info, NULL):NULL, r);


							Petr 

-- 
Department of Computer Science and Engineering  E-mail: lampa@fee.vutbr.cz
Faculty of El. Engineering and Comp. Science	Phone: (+42 5) 7275/225,111
Technical University of Brno			Fax:  (+42 5) 41211141
Bozetechova 2, 612 66 Brno, Czech Republic

Mime
View raw message