httpd-users mailing list archives

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

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...)

Best,
Baldvin


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message