httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kovacs Baldvin <>
Subject [users@httpd] selected handler and mod_dir
Date Mon, 29 Mar 2004 14:29:41 GMT

There is a change in the behaviour of mod_dir.c from apache1 to 2.
It can be delibarate, however, I did not find it mentioned in the docs.
I found it because it prevents working request tracker3 in debian.

The thing is that now if one has 

<Directory ...>
 SetHandler perl-script

then mod_dir.c will refuse to work, even for directories:

mod_dir.c, 2.0.49, line 126:
  if (strcmp(r->handler, DIR_MAGIC_TYPE)) {
        return DECLINED;

Too bad, since the intentions of the authors of the 3rd party program
were to let mod_dir.c send us to index.html, and then let perl-script
to handle it.

My question: is this change intentional? Removing those 3 lines simply
solves the problem... 

However: if one really would like to force 
the module set by "SetHandler" to handle everything, even directories,
than okey, leave it as it is, and one needs to rework request-tracker...
But I think in this case it should be empasized in the docs (maybe I
am fool, and I did not find it in the docs, sorry then...)


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message