You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Scott Alexander <sc...@humak.edu> on 2001/01/01 08:04:19 UTC

Help with Limit in

Hi,

I've looked thru the archives and suggestions posted earlier do not 
help.

My code is at the moment like this:
<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", 'Require' => "valid-user",
    #'METHODS' => "POST", 'Require' => "valid-user",
},
} ;
__END__
</Perl>

If I uncomment the last methods line then it doesn't work at all. But 
with only one methods line like it is now it works. 

How do I use 

Apache->httpd_conf ?

regards

Scott
_________________________
scott alexander
tietoverkkosuunnittelija
humak amk - finland
+358(0)407505640