Re: Authentication method by htaccess/htpasswd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



** Thanks, Libo.

Eric (and Tom Evans),

I changed my httpd.conf. Now it is as follows:

Allow from [ip_01]/32
Allow from [ip_02]/32

Then I tried to access the Rancid, via browser, from my computer [ip_01]. User/Pass were required. Nice!

But, when I tried to access it from the other computer [ip_02] either user and password weren't required.

Below it is my Apache log (what is weird, because I am able to access the Rancid via cvsweb, although this (13)Permission denied).

error.log
==============
[Wed Mar 24 12:19:15 2010] [error] [client ip_01] (13)Permission denied: Could not open password file: /var/www/cvsweb/.htpasswd, referer: http://ip_rancid_server/cgi-bin/cvsweb/ [Wed Mar 24 12:19:15 2010] [error] [client ip_01] (13)Permission denied: Could not open password file: /var/www/cvsweb/.htpasswd, referer: http://ip_rancid_server/cgi-bin/cvsweb/ [Wed Mar 24 12:19:18 2010] [error] [client ip_01] File does not exist: /var/www/favicon.ico
==============

--

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901



Eric Covener escreveu:
When I access the Rancid via cvsweb, from my computer, it is required the
user/password which I generated by htpasswd. That's right.

But, when I try to access it through other two different computers, that
authentication method is not required.


"Satisfy all"?

Allow from 10.0.0.1/255.255.255.0
Allow from 10.0.0.2/255.255.255.0

This is odd on a number of levels, try using individual IP addresses
to simplify or look at the examples in the manual.

Please do not create additional unnecessary threads.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux