perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From foobar <>
Subject mod_perl2 handler headache
Date Mon, 02 Apr 2007 14:23:06 GMT


Im hoping someone here can help me, im really struggling with an annoying
problem :(

I have an Apache2 server running mod_perl2. I'm name based virtual host
which has a location match directive to map requests for "/" to my Response

<LocationMatch "/">
     PerlResponseHandler MySite::Request

This works fine, it returns an XML document which is transformed by
mod_transform. All is well there.

Then I have a PerlAccessHandler which should be called on any request to

<LocationMatch "/gallery">
   PerlAccessHandler MySite::Gallery

With this in place I cannot access any of my images :( If I wget the URL I
can see the 200 response but the served file is zero bytes....

Connecting to||:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 0 [image/jpeg]

I'm not sure if this is a configuration problem or a design fault. I can see
that both handlers are called but why my image file length is zero bytes is
beyond me. 

Any help greatly appreciated

View this message in context:
Sent from the mod_perl - General mailing list archive at

View raw message