[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

handlers


Hi everyone!

I have Authentication handler, which I set like:

  <Location />
      PerlAuthenHandler Promtelecom::Authentication
      AuthType Basic
      AuthName "Promtelecom Network"
      Require valid-user
  </Location>

Alseo I have 2 simple PerlHandler's: Debitor and DebitorDocuments, which
set like:

    PerlModule Promtelecom::Debitor
    <Location /debitor>
      SetHandler perl-script
      PerlHandler Promtelecom::Debitor
    </Location>

    PerlModule Promtelecom::DebitorDocuments
    <Location /debitor/documents>
      SetHandler perl-script
      PerlHandler Promtelecom::DebitorDocuments
    </Location>

When I go to http://localhost/ by my browser, I see working
Authentication Handler. When I go for the first time to
http://localhost/debitor/ or http://localhost/debitor/documents I see
Authentication Handler too.
So, the question is: when I go to http://localhost/debitor/documents
will the Debitor handler called ?
Or will be the next chain: Authentication -> Debitor -> DebitorDocuments
invoked ?


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.