You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Ted <mp...@san.rr.com> on 2004/11/30 07:10:46 UTC

[users@httpd] Strange access log entries and .htaccess

Hello all I'm new to the list and happy to be here!

First is the following log entries:
-------------------------------snip---------------------------------

80.41.5.42 - - [28/Nov/2004:16:04:11 -0800] "GET
/uri-res/N2R?urn:sha1:Q3HN2HMDF4RQWGCATGYWROGAGWBX576U HTTP/1.1" 416 387 "-"
"BearShare 4.6.0.61"
4.26.76.78 - - [28/Nov/2004:16:04:16 -0800] "GET
/uri-res/N2R?urn:sha1:Q3HN2HMDF4RQWGCATGYWROGAGWBX576U HTTP/1.1" 416 387 "-"
"LimeWire/4.0.5 (Pro)"
81.130.69.35 - - [28/Nov/2004:16:04:19 -0800] "GET
/uri-res/N2R?urn:sha1:Q3HN2HMDF4RQWGCATGYWROGAGWBX576U HTTP/1.1" 416 387 "-"
"BearShare 4.6.1.1"
201.1.95.48 - - [28/Nov/2004:16:04:23 -0800] "GET
/uri-res/N2R?urn:sha1:Q3HN2HMDF4RQWGCATGYWROGAGWBX576U HTTP/1.1" 416 387 "-"
"iMesh 0.0.0.1 (GnucDNA 1.1.1.0)"
68.111.61.15 - - [28/Nov/2004:16:04:43 -0800] "GET
/uri-res/N2R?urn:sha1:Q3HN2HMDF4RQWGCATGYWROGAGWBX576U HTTP/1.1" 416 387 "-"
"BearShare 4.6.0.55"
66.133.230.7 - - [28/Nov/2004:16:04:53 -0800] "GET
/uri-res/N2R?urn:sha1:Q3HN2HMDF4RQWGCATGYWROGAGWBX576U HTTP/1.1" 416 387 "-"
"BearShare 4.6.0.59"
80.41.5.42 - - [28/Nov/2004:16:05:11 -0800] "GET
/uri-res/N2R?urn:sha1:Q3HN2HMDF4RQWGCATGYWROGAGWBX576U HTTP/1.1" 416 387 "-"
"BearShare 4.6.0.61"
81.130.69.35 - - [28/Nov/2004:16:05:10 -0800] "GET
/uri-res/N2R?urn:sha1:Q3HN2HMDF4RQWGCATGYWROGAGWBX576U HTTP/1.1" 416 387 "-"
"BearShare 4.6.1.1"
80.41.5.42 - - [28/Nov/2004:16:05:18 -0800] "GET
/uri-res/N2R?urn:sha1:Q3HN2HMDF4RQWGCATGYWROGAGWBX576U HTTP/1.1" 416 387 "-"
"BearShare 4.6.0.61"
81.130.69.35 - - [28/Nov/2004:16:05:24 -0800] "GET
/uri-res/N2R?urn:sha1:Q3HN2HMDF4RQWGCATGYWROGAGWBX576U HTTP/1.1" 416 387 "-"
"BearShare 4.6.1.1"
80.41.5.42 - - [28/Nov/2004:16:05:24 -0800] "GET
/uri-res/N2R?urn:sha1:Q3HN2HMDF4RQWGCATGYWROGAGWBX576U HTTP/1.1" 416 387 "-"
"BearShare 4.6.0.61"
81.130.69.35 - - [28/Nov/2004:16:05:30 -0800] "GET
/uri-res/N2R?urn:sha1:Q3HN2HMDF4RQWGCATGYWROGAGWBX576U HTTP/1.1" 416 387 "-"
"BearShare 4.6.1.1"
-----------------snip--------------------

These entries are made as long as I have httpd running. Any suggestion on
what is going on plus how to halt this without shutting off the server would
be helpfull.


Second: I cannot get the .htaccess to have any effect on password protecting
certain (or any)directories. I have tried the following in my .htaccess
file:
---------------
<Directory "/var/www/html/">
AuthUserFile /my/dir/.htpasswd
AuthGroupFile /dev/null
AuthName "Private"
AuthType Basic
require user user1 user2
</Directory>
----------------
no effect.
I pretty much have the same thing in my httpd.conf and that causes a
password prompt but I want tto do this from the .htaccess file.
In my httpd.conf file I have 'AccessFileName .htaccess' so from there I
lost.
I am running RedHat 9.0.


Thanks in advance

ted



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.289 / Virus Database: 265.4.3 - Release Date: 11/26/2004


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Strange access log entries and .htaccess

Posted by parviz <de...@nikasolutions.net>.
so for your htaccess stuff. Lets say you want to have access control for
/mydir/test. You need to create .htaccess file in your /mydir/test and
content should be like this:


AuthUserFile /mydir/test/.htpasswd
AuthGroupFile /dev/null
AuthName "Private"
AuthType Basic
Require user user1

you also need to change your AllowOverride directive in your httpd.conf
to something like this:

AllowOverride All

Also make sure your .htpasswd is readable by your apache user ( userid
that apache is running on, it should be apache).

Look at this document if you need more help or more options:

http://httpd.apache.org/docs-2.0/howto/htaccess.html

Parviz

On Mon, 2004-11-29 at 22:10, Ted wrote:
> Hello all I'm new to the list and happy to be here!
> 
> First is the following log entries:
> -------------------------------snip---------------------------------
> 
> 80.41.5.42 - - [28/Nov/2004:16:04:11 -0800] "GET
> /uri-res/N2R?urn:sha1:Q3HN2HMDF4RQWGCATGYWROGAGWBX576U HTTP/1.1" 416 387 "-"
> "BearShare 4.6.0.61"
> 4.26.76.78 - - [28/Nov/2004:16:04:16 -0800] "GET
> /uri-res/N2R?urn:sha1:Q3HN2HMDF4RQWGCATGYWROGAGWBX576U HTTP/1.1" 416 387 "-"
> "LimeWire/4.0.5 (Pro)"
> 81.130.69.35 - - [28/Nov/2004:16:04:19 -0800] "GET
> /uri-res/N2R?urn:sha1:Q3HN2HMDF4RQWGCATGYWROGAGWBX576U HTTP/1.1" 416 387 "-"
> "BearShare 4.6.1.1"
> 201.1.95.48 - - [28/Nov/2004:16:04:23 -0800] "GET
> /uri-res/N2R?urn:sha1:Q3HN2HMDF4RQWGCATGYWROGAGWBX576U HTTP/1.1" 416 387 "-"
> "iMesh 0.0.0.1 (GnucDNA 1.1.1.0)"
> 68.111.61.15 - - [28/Nov/2004:16:04:43 -0800] "GET
> /uri-res/N2R?urn:sha1:Q3HN2HMDF4RQWGCATGYWROGAGWBX576U HTTP/1.1" 416 387 "-"
> "BearShare 4.6.0.55"
> 66.133.230.7 - - [28/Nov/2004:16:04:53 -0800] "GET
> /uri-res/N2R?urn:sha1:Q3HN2HMDF4RQWGCATGYWROGAGWBX576U HTTP/1.1" 416 387 "-"
> "BearShare 4.6.0.59"
> 80.41.5.42 - - [28/Nov/2004:16:05:11 -0800] "GET
> /uri-res/N2R?urn:sha1:Q3HN2HMDF4RQWGCATGYWROGAGWBX576U HTTP/1.1" 416 387 "-"
> "BearShare 4.6.0.61"
> 81.130.69.35 - - [28/Nov/2004:16:05:10 -0800] "GET
> /uri-res/N2R?urn:sha1:Q3HN2HMDF4RQWGCATGYWROGAGWBX576U HTTP/1.1" 416 387 "-"
> "BearShare 4.6.1.1"
> 80.41.5.42 - - [28/Nov/2004:16:05:18 -0800] "GET
> /uri-res/N2R?urn:sha1:Q3HN2HMDF4RQWGCATGYWROGAGWBX576U HTTP/1.1" 416 387 "-"
> "BearShare 4.6.0.61"
> 81.130.69.35 - - [28/Nov/2004:16:05:24 -0800] "GET
> /uri-res/N2R?urn:sha1:Q3HN2HMDF4RQWGCATGYWROGAGWBX576U HTTP/1.1" 416 387 "-"
> "BearShare 4.6.1.1"
> 80.41.5.42 - - [28/Nov/2004:16:05:24 -0800] "GET
> /uri-res/N2R?urn:sha1:Q3HN2HMDF4RQWGCATGYWROGAGWBX576U HTTP/1.1" 416 387 "-"
> "BearShare 4.6.0.61"
> 81.130.69.35 - - [28/Nov/2004:16:05:30 -0800] "GET
> /uri-res/N2R?urn:sha1:Q3HN2HMDF4RQWGCATGYWROGAGWBX576U HTTP/1.1" 416 387 "-"
> "BearShare 4.6.1.1"
> -----------------snip--------------------
> 
> These entries are made as long as I have httpd running. Any suggestion on
> what is going on plus how to halt this without shutting off the server would
> be helpfull.
> 
> 
> Second: I cannot get the .htaccess to have any effect on password protecting
> certain (or any)directories. I have tried the following in my .htaccess
> file:
> ---------------
> <Directory "/var/www/html/">
> AuthUserFile /my/dir/.htpasswd
> AuthGroupFile /dev/null
> AuthName "Private"
> AuthType Basic
> require user user1 user2
> </Directory>
> ----------------
> no effect.
> I pretty much have the same thing in my httpd.conf and that causes a
> password prompt but I want tto do this from the .htaccess file.
> In my httpd.conf file I have 'AccessFileName .htaccess' so from there I
> lost.
> I am running RedHat 9.0.
> 
> 
> Thanks in advance
> 
> ted
> 
> 

Re: [users@httpd] Strange access log entries and .htaccess

Posted by Eugene <li...@fsck.net>.
Stop running Gnutella?


On Mon, Nov 29, 2004 at 10:10:46PM -0800, Ted wrote:
: 
: First is the following log entries:
: -------------------------------snip---------------------------------
: 
: 80.41.5.42 - - [28/Nov/2004:16:04:11 -0800] "GET
: /uri-res/N2R?urn:sha1:Q3HN2HMDF4RQWGCATGYWROGAGWBX576U HTTP/1.1" 416 387 "-"
: "BearShare 4.6.0.61"
: 4.26.76.78 - - [28/Nov/2004:16:04:16 -0800] "GET
: /uri-res/N2R?urn:sha1:Q3HN2HMDF4RQWGCATGYWROGAGWBX576U HTTP/1.1" 416 387 "-"
: "LimeWire/4.0.5 (Pro)"
: 81.130.69.35 - - [28/Nov/2004:16:04:19 -0800] "GET
: /uri-res/N2R?urn:sha1:Q3HN2HMDF4RQWGCATGYWROGAGWBX576U HTTP/1.1" 416 387 "-"
: "BearShare 4.6.1.1"
: 201.1.95.48 - - [28/Nov/2004:16:04:23 -0800] "GET
: /uri-res/N2R?urn:sha1:Q3HN2HMDF4RQWGCATGYWROGAGWBX576U HTTP/1.1" 416 387 "-"
: "iMesh 0.0.0.1 (GnucDNA 1.1.1.0)"
: 68.111.61.15 - - [28/Nov/2004:16:04:43 -0800] "GET
: /uri-res/N2R?urn:sha1:Q3HN2HMDF4RQWGCATGYWROGAGWBX576U HTTP/1.1" 416 387 "-"
: "BearShare 4.6.0.55"
: 66.133.230.7 - - [28/Nov/2004:16:04:53 -0800] "GET
: /uri-res/N2R?urn:sha1:Q3HN2HMDF4RQWGCATGYWROGAGWBX576U HTTP/1.1" 416 387 "-"
: "BearShare 4.6.0.59"
: 80.41.5.42 - - [28/Nov/2004:16:05:11 -0800] "GET
: /uri-res/N2R?urn:sha1:Q3HN2HMDF4RQWGCATGYWROGAGWBX576U HTTP/1.1" 416 387 "-"
: "BearShare 4.6.0.61"
: 81.130.69.35 - - [28/Nov/2004:16:05:10 -0800] "GET
: /uri-res/N2R?urn:sha1:Q3HN2HMDF4RQWGCATGYWROGAGWBX576U HTTP/1.1" 416 387 "-"
: "BearShare 4.6.1.1"
: 80.41.5.42 - - [28/Nov/2004:16:05:18 -0800] "GET
: /uri-res/N2R?urn:sha1:Q3HN2HMDF4RQWGCATGYWROGAGWBX576U HTTP/1.1" 416 387 "-"
: "BearShare 4.6.0.61"
: 81.130.69.35 - - [28/Nov/2004:16:05:24 -0800] "GET
: /uri-res/N2R?urn:sha1:Q3HN2HMDF4RQWGCATGYWROGAGWBX576U HTTP/1.1" 416 387 "-"
: "BearShare 4.6.1.1"
: 80.41.5.42 - - [28/Nov/2004:16:05:24 -0800] "GET
: /uri-res/N2R?urn:sha1:Q3HN2HMDF4RQWGCATGYWROGAGWBX576U HTTP/1.1" 416 387 "-"
: "BearShare 4.6.0.61"
: 81.130.69.35 - - [28/Nov/2004:16:05:30 -0800] "GET
: /uri-res/N2R?urn:sha1:Q3HN2HMDF4RQWGCATGYWROGAGWBX576U HTTP/1.1" 416 387 "-"
: "BearShare 4.6.1.1"
: -----------------snip--------------------
: 
: These entries are made as long as I have httpd running. Any suggestion on
: what is going on plus how to halt this without shutting off the server would
: be helpfull.


-- 
Eugene
http://www.coxar.pwp.blueyonder.co.uk/

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org