httpd-dev mailing list archives

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

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     mod_perl Guide --->

View raw message