John Hiemenz wrote:

> On Friday 21 September 2001 11:15, Tim Wunder wrote:


<snip>

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


Did that, no difference.


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


I changed permissions on the .htpasswd file in /var/webcal directory to 
-rw-r--r--. It was owned by apache with group root. I changed its group to 
apache, still no difference. I stopped and started httpd after each change and 
reloaded the page in the browser.

Any other ideas?

Thanks, 

Tim




_______________________________________________
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
->http://linux.nf/mailman/listinfo/linux-users

Reply via email to