What happens? Are you prompted for a password? Are you NOT prompted for a
password? Is the password not accepted?
???
Where I use passwords with Apache, I use the .htaccess method in the
directory of interest. The .htaccess file contains lines like:
AuthName "Text to put in password heading"
AuthType Basic
AuthUserFile xxx/users
require user name1 name2 etc
The AuthUserFile file is in /usr/local/apache (if apache is installed
there). So, the file containing my passwords in this example would be
/usr/local/apache/xxx/users
The passwords in this file are maintained by the htpasswd command.
The 'require' directive just lists which users you will let in.
In the Apache config file, you need these entries:
AccessFileName .htaccess
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
They may already be there but commented out.
--
=====================================================================
Roger Oberholtzer E-mail: [EMAIL PROTECTED]
OPQ Systems AB WWW: http://www.opq.se
Erik Dahlbergsgatan 41-43 Phone: Int + 46 8 314223
115 32 Stockholm Mobile: Int + 46 733 621657
Sweden Fax: Int + 46 8 302602
_______________________________________________
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc
->http://linux.nf/mailman/listinfo/linux-users