perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arshavir Grigorian>
Subject Re: site layout
Date Wed, 15 Dec 2004 22:21:03 GMT
Michael Peters wrote:

> Arshavir Grigorian wrote:
>> Hi,
>> I have a module called Application that pretty much acts as a 
>> dispatcher and handles the root URI of my application.
>> The problem is the images that I would like to put under the same URI 
>> path, but can't do because I don't know how to return the request 
>> back to Apache from Application when the request is for an image.
>> In other words, I would like to have:
>> <Location />
>>    SetHandler perl-script
>>    PerlResponseHandler MCAM::Application
>> </Location>
>> and the URI for images be /images/. When Application detects that the 
>> request is for anything under /images/, it returns the control to 
>> Apache to serve the image, otherwise it displatches the request to 
>> the right module.
> I think adding this would solve the problem:
> <Location /images >
>    SetHandler default
> </Location>
Thanks. I don't have a way to test it right now, but it does make sense.


Report problems:
Mail list info:
List etiquette:

View raw message