Mailing List Archive

is there a way to...
Do we have a way to override .ext -> mime mapping on
a directory by directory basis ?

We have some .tar[.gz|Z] and other .gz and .Z files which
we'd like to send with a different content-type to the defaults
specified in mime.types and srm.conf.

We've been sending the files via a script in the past, but this
adds unnecesary i/o and CGI intervention.

Can the content-negotiation stuff be made to send
foo.tar.Z when say foo.tar.Z.bar is requested ?
I scanned the docs, and it suggests that var files are needed
for each file.


rob
Re: is there a way to... [ In reply to ]
Do we have a way to override .ext -> mime mapping on
a directory by directory basis ?

AddType in a .htaccess file for the directory certainly *ought* to
do the job...

rst