On Friday 21 September 2001 11:15, Tim Wunder wrote:
> 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
>

<clip>

>
> 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
>

<clip>
Sounds like the password may be wrong between the docs and the 
.htpasswd file?  Make sure .htpasswd is readable by all users, esp. if 
httpd is not running with root permissions.

Try this From the command line:

htpasswd /var/webcal/.htpasswd admin 

and set the password for the user admin.

If you get 'htpasswd not found' error, then prefix the command with 
your Apache/bin directory, ie if Apache/bin is located at 
/usr/local/apache:  
/usr/local/apache/bin/htpasswd /var/webcal/.htpasswd admin

My htpasswd is in /usr/bin on my Caldera distro, /usr/lib/apache/bin on 
my SCO distro.
-- 
 
The Universal Joint - Connecting Unix, Linux, and that other OS ....
                    Operated by Linux user #201684 
 11:26am  up 13 days, 20:37,  5 users,  load average: 1.36, 1.31, 1.47
_______________________________________________
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
->http://linux.nf/mailman/listinfo/linux-users

Reply via email to