Hey guys,
 
    In my quest to try all things linux I migrated my server from Fedora to SuSE 9.0 Pro.  Everything seems to work except the webserver.  I'd like Apache to request a password.  Here's what I did.
 
    I placed the .htaccess file in /srv/www/htdocs
 
AuthType Basic
AuthName "Invitation Only"
AuthUserFile /etc/httpd/passwd/.htpasswd
Require user doug
 
I executed the following command:  htpasswd -c /etc/httpd/passwd/.htpasswd doug
 
I used YaST2 to 'enable' the Network Service - Http Server.
 
    At this point I can view my site no problem, but it's not requiring a password.  Not sure where I'm going wrong.
 
I verified that the httpd.conf file in /etc/apache2 shows the following:
 
# use .htaccess files for overriding,
AccessFileName .htaccess
 
    I'm new to SuSE so I'm stumbling along here.  Thanks to anybody who can point me in a direction.
 
Doug
 
_______________________________________________
clug-talk mailing list
[EMAIL PROTECTED]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca

Reply via email to