Re: htaccess/htpasswd working in only one computer

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

 



Eric,

The IPs aren't the same. See: 10.0.0.1 and 100.10.10.1 (this is only a way to omit my real IPs) And they are different machines, of course.

This is my Apache's error.log:

[Tue Mar 23 15:21:09 2010] [error] [client 10.0.0.1] client denied by server configuration: /var/www/cvsweb/icons/dir.gif, referer: http://100.10.10.1/cgi-bin/cvsweb/ [Tue Mar 23 15:21:09 2010] [error] [client 10.0.0.1] client denied by server configuration: /var/www/cvsweb/css/cvsweb.css, referer: http://100.10.10.1/cgi-bin/cvsweb/ [Tue Mar 23 15:21:12 2010] [error] [client 10.0.0.1] File does not exist: /var/www/favicon.ico Root '/var/lib/cvs' defined in @CVSrepositories is not a directory, entry ignored at /usr/lib/cgi-bin/cvsweb line 497.

This weird thing is: this client (10.0.0.1) is able to access the Rancid via cvsweb without the authentication (user/password).

In other hand, I myself (from my client 10.0.0.2) need to access the Rancid server, via cvsweb, providing and user and password, like I previously configured (htaccess/htpasswd).

And that's what the error.log logged into it:

[Tue Mar 23 18:25:46 2010] [error] [client 10.0.0.2] (13)Permission denied: Could not open password file: /var/www/cvsweb/.htpasswd, referer: http://100.10.10.1/cgi-bin/cvsweb/ [Tue Mar 23 18:25:46 2010] [error] [client 10.0.0.2] (13)Permission denied: Could not open password file: /var/www/cvsweb/.htpasswd, referer: http://100.10.10.1/cgi-bin/cvsweb/ [Tue Mar 23 18:25:49 2010] [error] [client 10.0.0.2] File does not exist: /var/www/favicon.ico

Although, I am able to access the Rancid, after I informed the user/password.

--

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:
On Tue, Mar 23, 2010 at 3:25 PM, Wagner Pereira <wpereira@xxxxxxxxxxxxx> wrote:
Hi, Eric.

I am using the Satisfy All. Do I supposed to use Satisfy Any? Can this make
difference if two computers, from different networks, are accessing the
Rancid via cvsweb?

That's my Apache's access log:

10.0.0.1 - - [23/Mar/2010:15:21:08 -0300] "GET /cgi-bin/cvsweb/ HTTP/1.1"
200 1805 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.1; pt-BR; rv:1.9.2.2)
Gecko/20100316 Firefox/3.6.2 (.NET CLR 3.5.30729)"
10.0.0.1 - - [23/Mar/2010:15:21:09 -0300] "GET /cvsweb/icons/dir.gif
HTTP/1.1" 403 193 "http://100.10.10.1/cgi-bin/cvsweb/"; "Mozilla/5.0
(Windows; U; Windows NT 6.1; pt-BR; rv:1.9.2.2) Gecko/20100316 Firefox/3.6.2
(.NET CLR 3.5.30729)"
10.0.0.1 - - [23/Mar/2010:15:21:09 -0300] "GET /cvsweb/css/cvsweb.css
HTTP/1.1" 403 190 "http://100.10.10.1/cgi-bin/cvsweb/"; "Mozilla/5.0
(Windows; U; Windows NT 6.1; pt-BR; rv:1.9.2.2) Gecko/20100316 Firefox/3.6.2
(.NET CLR 3.5.30729)"
10.0.0.1 - - [23/Mar/2010:15:21:12 -0300] "GET /favicon.ico HTTP/1.1" 404
183 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.1; pt-BR; rv:1.9.2.2)
Gecko/20100316 Firefox/3.6.2 (.NET CLR 3.5.30729)"

Why are all the IP addresses the same?

Why is 1 client addressing the webserver as if it were a fwd proxy?

What "authentication" are you talking about?

If you got an unexpected 403, what did your error log say?


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