httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Stoddard <b...@wstoddard.com>
Subject Re: handler per extension
Date Mon, 07 Mar 2005 15:00:49 GMT
Laszlo wrote:
> Hi all,
> 
> Is there a way to set up (in httpd.conf) a content-handler module
> to be executed only for a specific extension?
> More clear, I have a mod_abc.c. I have to test if the
> 
>     request_rec *r->filename ends with ".abc"
> 
> or I can set up my module in httpd.conf, by specifying
> the extension ".abc"?
> 
> ---
> László Graf
> 

Laszlo,
This is a developers mailing list, not a place to ask for server configuration help. I think
what your looking 
for is here:

http://httpd.apache.org/docs-2.0/mod/mod_mime.html#addhandler

See the default httpd.conf for several more examples.

Bill


Mime
View raw message