On 1/25/09, Michael Peters <[email protected]> wrote:
> P Kishor wrote:
>
> > How can I make C::A::Dispatch ignore URLs that
> > point to anything in the <server>/img/ directory?
> >
>
>  Let's try re-phrasing that question... How do I make my webserver not call
> C::A::Dispatch for anything under /img?
>
>  Even if Dispatch had a way of ignoring certain urls, what would it do?
> Exit? What does that accomplish? The webserver itself needs to serve that
> content and since Dispatch runs under lots of different web servers there's
> no way for it to tell that server that it has decided it now doesn't want to
> handle that object after the server has passed control over to Dispatch.
>
>  The webserver needs to make the decision as to whether or not Dispatch
> should serve it, not Dispatch.
>


Very well put. So, how do I make the webserver (in my case, Apache
without mod_perl, for now) serve directly anything under /img (or any
other specified folder) without invoking C::A::Dispatch?

Many thanks in advance.

Puneet.

#####  CGI::Application community mailing list  ################
##                                                            ##
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp    ##
##                                                            ##
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:          http://cgiapp.erlbaum.net/                 ##
##                                                            ##
################################################################

Reply via email to