Running apache 2.0.50 Mod_perl 1.99 On a debian sarge machine.
All compiled by hand and no errors during compilation/installation.
included in httpd.conf :
LoadModule perl_module modules/mod_perl.so
PerlModule Apache2Then i made a vhost according to the example's on perl.apache.org and included also a snippet of
simple authentication that is there.
<Perl> use Apache2 (); use Apache::PerlSections ();
$VirtualHost{"0.0.0.0"} = {
ServerName => 'test01',
DAVLockDB => '/tmp/lock.db',
Documentroot => '/usr/local/apache-dav/htdocs/DAVTEST',
$Directory{"/usr/local/apache-dav/htdocs/DAVTEST"} = {
AuthUserFile => '/tmp/htpasswd',
AuthType => 'Basic',
AuthName => 'test',
DirectoryIndex => [qw(index.html index.htm)],
AllowOverride => 'None',
Limit => {
METHODS => 'GET POST',
require => 'valid-user',
Order => 'allow,deny',
Allow => 'from all',
},
},
};
print Apache::PerlSections->dump;
</Perl>If i use these directives 'plain' apache style they work flawless, i must supply a password when browsing to the directory or when i mount the webdav.
When used with mod_perl i can enter the directory without authentication, and the same goes for webdav, no authentiction needed. Tho the vhost i created works like a charm.
What am i doing wrong?
Thanx in advance.
Martijn van Buytene
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html
