perlRequestHandler

--0016e64cbb30176aa5049869af85
Content-Type: text/plain; charset=UTF-8

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

--0016e64cbb30176aa5049869af85
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

hey,<br><br>i created a custom requesthandler that handles the request for =
a certain filetype,<br><br>but now i want to register it with apache, how c=
an i do this?<br><br>at the moment i have it working for a specifick locati=
on,<br>
but i want to get it working for every file (specifick mime type) that is s=
erverd with apache.<br><br>where do i start?<br><br>the current apache conf=
ig:<br>PerlRequire /etc/apache2/sin/rstHandler.pm<br><Location /rst><=
br>
=C2=A0=C2=A0=C2=A0 SetHandler modperl<br>=C2=A0=C2=A0=C2=A0 PerlResponseHan=
dler sin::rstHandler<br></Location><br><br><br>any help would be appr=
eciatie,<br><br>Maikel<br><br>

--0016e64cbb30176aa5049869af85--
Maikel Punie [ Mo, 27 Dezember 2010 20:53 ] [ ID #2052108 ]

Re: perlRequestHandler

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.
aw [ Mo, 27 Dezember 2010 20:57 ] [ ID #2052109 ]

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 <maikel.punie [at] gmail.com> wrot=
e:
> 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>
> =A0=A0=A0 SetHandler modperl
> =A0=A0=A0 PerlResponseHandler sin::rstHandler
> </Location>
>
>
> any help would be appreciatie,
>
> Maikel
>
>
Perrin Harkins [ Mo, 03 Januar 2011 01:18 ] [ ID #2052401 ]
Webserver » gmane.comp.apache.mod-perl » perlRequestHandler

Vorheriges Thema: [mp2] php response handler clears authenticated user in mod_perl
Nächstes Thema: Apache2::SizeLimit for threaded MPM's