httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: 2.0 bug? trailing / redirect problem in mod_dir
Date Thu, 05 Jun 2003 06:18:16 GMT
Stas Bekman wrote:
> http://httpd.apache.org/docs-2.0/mod/mod_dir.html says:
> 
> A "trailing slash" redirect is issued when the server receives a
> request for a URL http://servername/foo/dirname where dirname is a
> directory. Directories require a trailing slash, so mod_dir issues a
> redirect to http://servername/foo/dirname/
> 
> However if you have a non-trailing / config to be handled by
> non-default handler, e.g.:
> 
> <Location /foo/dirname>
>     SetHandler perl-script
>     PerlHandler Apache::HelloWorld
> </Location>
> 
> it should honour this configuration and not ignore it, issuing a
> redirect, despite the existence of DocumentRoot/foo/dirname. This is
> how it worked in Apache-1.3 and appears to be broken in Apache-2.0.

There is one more problem with this issue. The path_info record is always ''.


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Mime
View raw message