httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yehuda Katz <yeh...@ymkatz.net>
Subject Re: [users@httpd] Full Request URI in access_log
Date Tue, 05 Apr 2011 18:11:22 GMT
On Tue, Apr 5, 2011 at 1:00 PM, Chad Morland <cmorland@gmail.com> wrote:

> I've got a domain hosted on one of our servers that seems to be getting a
> ton of junk traffic from Bit Torrent clients.
>
> The request that is showing up in my access_log is:
>
>
> /announce...cedc031275%20430?info_hash=%CE%0Az%19%3C%3B~%84%2F.%8Cc%8A%DDyZ%C7%18%18%26&peer_id=-BC0109-%5E%02%B2%FDw%AB%19%DD%D9%BDxB&port=24668&natmapped=1&localip=192.168.1.11&port_type=wan&uploaded=0&downloaded=0&left=31457280&numwant=100&compact=1&no_peer_id=1&key=48054&event=started
>
> As you can see the full URI is not displayed after "announce". What is
> causing this to be clipped? I've tried different LogFormat options but
> nothing seems to display the full URI.
>

You might be able to use "%U" for the URL without the query string and
separately "%q" for the query string only.

- Y

Mime
View raw message