httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Malo>
Subject Re: automatic type identification (by extension) in virtual DAV repositories
Date Fri, 30 May 2003 00:34:55 GMT
* Chris Knight wrote:

> So, Catacomb and other mod_dav backends that handle GET requests would
> like to have the Content-Type of resources be automatically identified
> based on the path information of that resource in the same manner as
> file resources.
> How would I best approach this problem? It appears that the mod_dav.c
> hooks are defined as MIDDLE as is the mod_mime.c hooks...Should I force
> a specific ordering of execution? Only other problem is find_ct in
> mod_mime.c wants to see the finfo structure which doesn't apply to
> virtual resources.

ModMimeUsePathInfo was created for this purpose IIRC.

HTH, nd
Wenn nur Ingenieure mit Diplom programmieren würden, hätten wir
wahrscheinlich weniger schlechte Software.
Wir hätten allerdings auch weniger gute Software.
                                   -- Felix von Leitner in dasr

View raw message