[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

.htaccess in Sarge



Hi guys,

I'm not sure what I'm missing.  I migrated some web apps from a SLES9
box to a Sarge box, and all is fine, except one page that is protected
by a .htaccess file.

Apache2 simply doesn't see it - nothing in the logs, and no password
prompt.

Here is the content of the .htaccess:

AuthUserFile /var/www/mailadmin/admin/.htpasswd
AuthName "Enter Password"
AuthType Basic
Require valid-user

And in /etc/apache2/apache2.conf, I have:

AccessFileName .htaccess
    
<Files ~ "^\.ht"> 
    Order allow,deny
    Deny from all 
</Files>


What am I missing?

Thanks
Hans



Reply to: