Re: site layout
[prev]
[thread]
[next]
[Date index for 2004/12/15]
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