Apache Authentication - ApacheCon 2005
PerlAccessHandler
  • Provide access control based on arbitrary criteria

    
     package Example::AccessHandler;
     use Apache::Constants qw(:common FORBIDDEN);
    
      
    
     sub handler {
        my ($class, $r) = @_; 
        if (goodconditions($r)) {
            return OK;
        } else {
            return FORBIDDEN;
        }
     }
    
      

Index
Back to Writing an AC module with mod_perl
Forward to PerlAccessHandler configuration

ApacheCon 2005 : Apache Authentication - Slide #33 of 45