Hi
I'm a little baffled why I'm getting "bad request" messages from a small
percentage of my web clients. 99% of my web clients are working just
fine with Pound in front of Apache 2.0.54. The few that I'm having
trouble with have one thing in common. They don't send Referral or
User-Agent information in the HTTP request. I've done IPF traces on the
packets, and they look just fine, aside from the missing Referral and
User-agent info.
Why would this matter to Pound ? Any ideas on how to fix this ?
Pound version: 1.9
System: Solaris 10
Pound config:
--------------------
ListenHTTP 129.41.240.14,80
User nobody
Group nobody
CheckURL 0
UrlGroup ".*/uhtbin/getenrich/.*"
BackEnd 192.168.0.14,80,1
BackEnd 192.168.0.20,80,3
EndGroup
From Syslog:
--------------------
Mar 6 18:23:44 stardust pound: [ID 702911 daemon.warning] bad request
"GET /uhtbin/getenrich/0385323069/SUMMARY/0" from 216.56.9.114
Mar 6 18:23:44 stardust pound: [ID 702911 daemon.warning] bad request
"GET /uhtbin/getenrich/0385323069/REVIEW/0" from 216.56.9.114
Mar 6 18:23:45 stardust pound: [ID 702911 daemon.warning] bad request
"GET /uhtbin/getenrich/0152956026/SUMMARY/2" from 63.192.20.50
Mar 6 18:23:53 stardust pound: [ID 702911 daemon.warning] bad request
"GET /uhtbin/getenrich/0842364390/SUMMARY/0" from 216.56.9.120
From IPF:
--------------
07/06/2006 18:23:02.041404 bge0 (at)0:4 p 216.56.9.120,3847 ->
129.41.240.14,80 PR tcp len 20 86 -AP K-S IN
47 45 54 20 2f 75 68 74 62 69 6e 2f 67 65 74 65 GET /uhtbin/gete
6e 72 69 63 68 2f 30 35 35 33 37 31 32 34 31 31 nrich/0553712411
2f 53 55 4d 4d 41 52 59 2f 30 0d 0a 0d 0a /SUMMARY/0....
If I turn off Pound and turn on Apache, this is from the access_log for
those IP's I have problems with:
216.56.9.120 - - [21/Feb/2006:18:11:57 -0600] "GET
/uhtbin/getenrich/0452272998/SUMMARY/0" 200 326 "-" "-"
216.56.9.120 - - [21/Feb/2006:18:12:08 -0600] "GET
/uhtbin/getenrich/0060014237/REVIEW/0" 200 1369 "-" "-"
216.56.9.120 - - [21/Feb/2006:18:12:09 -0600] "GET
/uhtbin/getenrich/0452275873/SUMMARY/0" 200 343 "-" "-"
216.56.9.120 - - [21/Feb/2006:18:12:09 -0600] "GET
/uhtbin/getenrich/0452275873/REVIEW/0" 200 1292 "-" "-"
216.56.9.120 - - [21/Feb/2006:18:12:43 -0600] "GET
/uhtbin/getenrich/0452283191/REVIEW/0" 200 1418 "-" "-"
Normal log entries from Apache:
69.243.249.26 - - [21/Feb/2006:10:18:22 -0600] "GET
/uhtbin/getenrich/0671318489/COVER_GIF HTTP/1.1" 200 6948
"http://opac.mcpl.lib.mo.
us/uhtbin/cgisirsi/wxjQhf1VYe/LEESSUMMIT/230560058/2/24" "Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Fi
refox/1.5.0.1"
216.125.168.2 - - [21/Feb/2006:10:20:42 -0600] "GET
/uhtbin/getenrich/0679642730/COVER_GIF HTTP/1.1" 200 3543
"http://216.125.140.34/uh
tbin/cgisirsi/x/0/0/57/5?searchdata1=twain%2C+mark&srchfield1=SU%5ESUBJE
CT%5ESUBJECTS%5E%5Esubject&submit=Search&user_id=jolietmainweb&
password=2135" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1;
.NET CLR 1.1.4322)"
216.125.168.2 - - [21/Feb/2006:10:20:42 -0600] "GET
/uhtbin/getenrich/0761419500/COVER_GIF HTTP/1.1" 200 5784
"http://216.125.140.34/uh
tbin/cgisirsi/x/0/0/57/5?searchdata1=twain%2C+mark&srchfield1=SU%5ESUBJE
CT%5ESUBJECTS%5E%5Esubject&user_id=jolietmainweb&password=2135"
"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR
1.1.4322)"
2
Burt Gedney
Managed Client Services
1276 North Warson Rd.
St. Louis, MO 63132-1806
800-325-0888 x246 (toll-free)
314-432-1100 x246 (main)
314-993-8927 (fax)
314-265-6131 (cell)
burt.gedney(at)sirsidynix.com
|