httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject 2.0 bug? trailing / redirect problem in mod_dir
Date Mon, 02 Jun 2003 01:23:10 GMT
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.


__________________________________________________________________
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