From: Rich Bowen If you would prefer only the last dot-separated part of the
filename to be mapped to a particular piece of meta-data, then do
not use the Add* directives. For example, if you wish
- to have the file foo.html.cgi processed as a CGI
- script, but not the file bar.cgi.html, then instead
- of using AddHandler cgi-script .cgi, usefoo.html.asis served by the send-as-is
+ handler provided by bar.asis.html, then instead
+ of using AddHandler send-asis .asis, use
Files having the name extension will be served by the
specified handler-name. This
mapping is added to any already in force, overriding any mappings that
- already exist for the same extension. For example, to
- activate CGI scripts with the file extension .cgi, you
- might use:
.var files with the type-map handler provided by
+ Once that has been put into your httpd.conf file, any file containing
- the .cgi extension will be treated as a CGI program.
The extension argument is case-insensitive and can be specified with or without a leading dot. Filenames may have multiple extensions and the