Re: perlRequestHandler

André Warnier <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
Maikel Punie wrote:
> hey,
> 
> i created a custom requesthandler that handles the request for a certain
> filetype,
> 
> but now i want to register it with apache, how can i do this?
> 
> at the moment i have it working for a specifick location,
> but i want to get it working for every file (specifick mime type) that is
> serverd with apache.
> 
> where do i start?
> 
> the current apache config:
> PerlRequire /etc/apache2/sin/rstHandler.pm
> <Location /rst>
>     SetHandler modperl
>     PerlResponseHandler sin::rstHandler
> </Location>
> 
> 
> any help would be appreciatie,
> 

You could configure it in a <FilesMatch ..> section.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.