Drew Taylor wrote:
> Chris Winters wroe:
> >
> > This always worked for me:
> >
> >  <Location />
> >   SetHandler perl-script
> >   PerlHandler ModuleName
> >  </Location>
> Well, seems like I tried that, and then it ALWAYS used that handler. I
> also have other handlers, and I _think_ the setup above overrode the
> others. I'll give it a try again now. OK, I just tried it, and it
> overrode everything else. :-(

I use this:

   <LocationMatch "^/$">
   SetHandler perl-script
   PerlHandler $MATCH::method_objs::provider_project_selector->handler
   </LocationMatch>

It does not override everything else, and you get the right handler called.

The problem is that <Location /> matches any URI that BEGINS with that
substring. LocationMatch is a regular expression driven thing, so you can make
it just match that one specific URI.

David Harris
President, DRH Internet Inc.
[EMAIL PROTECTED]
http://www.drh.net/


Reply via email to