Re: site layout

[prev] [thread] [next] [Date index for 2004/12/15]

From: Arshavir Grigorian
Subject: Re: site layout
Date: 22:21 on 15 Dec 2004
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.

Arshavir

        -- 
        Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

site layout
Arshavir Grigorian 20:02 on 15 Dec 2004

Re: site layout
Michael Peters 20:34 on 15 Dec 2004

Re: site layout
Arshavir Grigorian 22:21 on 15 Dec 2004

Generated at 11:26 on 21 Dec 2004 by mariachi v0.52