You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Perrin Harkins <pe...@elem.com> on 2011/01/03 01:18:20 UTC

Re: perlRequestHandler

This is a general apache configuration question, so you should be able
to find some documentation about it.  A common approach would be to
attach your handler to / with a Location or LocationMatch block.

- Perrin

On Mon, Dec 27, 2010 at 2:53 PM, Maikel Punie <ma...@gmail.com> 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,
>
> Maikel
>
>