Hi Roger,
Roger Oberholtzer wrote:
> What happens? Are you prompted for a password? Are you NOT prompted for a
> password? Is the password not accepted?
>
When attempting to login to the admin account, I get promted for a
username/password. I enter admin/admin (default password for admin is admin,
according to the docs I have), and I get an authorization failed dialog
> ???
>
> 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
>
I execute, "locate .htaccess" and get
/var/www/cgi-bin/webcal/protected/.htaccess
Cat /var/www/cgi-bin/webcal/protected/.htaccess shows
AuthUserFile /var/webcal/.htpasswd
AuthName WebCal
AuthType Basic
require valid-user
/var/webcal/.htpasswd shows entries for nobody, admin, usholiday, tpw, Temporary
tpw and Temporary are names f calendars that I set up.
> 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
>
I execute, "locate apache|grep user" and nothing gets listed.
> 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.
>
They are there and NOT commented out.
>
>
Seems to me like it should work. Could it be a firewall problem? Permissions
issue? host.allow/host.deny problem?
Thanks,
Tim
_______________________________________________
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc
->http://linux.nf/mailman/listinfo/linux-users