I finally got it to work like it should.

Syntax I found in the archives even written by dougm was wrong. 

But after reading http://perl.apache.org/guide/config.html

it was written correctly.


My final question is: Is it possible to have the name of the 
REMOTE_USER in the httpd.conf file?

ie 

$user = $ENV{REMOTE_USER} ;
my $location = "/users/". $user ;
my $require = "user " . $user ;

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 PUT DELETE PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK',
    Require => 'user alexsc01',
  },
} ;
__END__
</Perl>
------- End of forwarded message -------
_________________________
scott alexander
tietoverkkosuunnittelija
humak amk - finland
+358(0)407505640

Reply via email to