After searching the archives (I searched on <Limit not on <Perl>
like the first time) I've changed my code to
But the limit does not work properly. I get a Directory index
forbidden by rule: /usr/local/apache/htdocs/users/supervisor/
in the error log.
Is the syntax still wrong or does anyone have any ideas about this?
Scott
<Perl>
#!perl
$Location {"/users/supervisor"} = {
DAV => 'On',
AllowOverride => 'None',
Options => 'None',
AuthName => '"Test"',
AuthType => 'Basic',
Auth_MySQL_Password_Table => 'users',
Auth_MySQL_Username_Field => 'user',
Auth_MySQL_Password_Field => 'passwd',
Auth_MySQL_Encryption_Types => 'Plaintext',
Auth_MYSQL => 'on',
Limit => {
METHODS => `GET POST`,
require => `user supervisor`,
},
} ;
__END__
</Perl>
_________________________
scott alexander
tietoverkkosuunnittelija
humak amk - finland
+358(0)407505640