I have something like:

<Location /foo>
  SetHandler perl-script
  PerlHandler My::Foo
</Location>

<Location />
  SetHandler perl-script
  PerlHandler My::Bar

  AuthName Bar
  AuthType Basic
  PerlAuthenHandler My::Auth::Bar
  PerlAuthzHandler  My::Authz::Bar
  require valid-user
</Location>

What I want is for My::Foo to handle all URLs that start with "/foo",
without any authentication of any kind.  Then I want the remaining URLs to
be handled by My::Bar using its authentication handlers.

What I get is that My::Bar handles everything.  Changing the order of the
Location directives doesn't seem to help.  The Apache docs say that Location
directives are "done simultaneously", whatever that means.

So, any pointers?

-John

Reply via email to