Any Clue?! Any the same experience TIA Best Regards -- Mehdi Sarmadi http://msarmadi.googlepages.com/ On 5/25/06, Mehdi Sarmadi <msarmadi@xxxxxxxxx> wrote:
My Purpose is to write an acl to match multipart and also big download contents, e.g. more than 3MB. In my oppinion these headers are what should I try to match by acl: ---In request header Range: bytes=77455844-\r\n ---In reply header HTTP/1.1 206 Partial Content\r\n Accept-Ranges: bytes\r\n Content-Length: 88635807\r\n Content-Range: bytes 77455844-166091650/166091651\r\n ----- The original entry of access.log 1148533570.809 20145 192.168.7.54 TCP_MISS/206 346834 GET http://y.mrbass.org/ubcd34-full.zip arpc DIRECT/70.84.90.170 application/zip [Host: y.mrbass.org\r\nAccept: */*\r\nReferer: http://www.mrbass.org/ubcd/\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 5.00; Windows 98)\r\nRange: bytes=77455844-\r\nPragma: no-cache\r\nCache-Control: no-cache\r\nProxy-Authorization: Basic YXJwYzoxMjM0\r\nConnection: close\r\n] [HTTP/1.1 206 Partial Content\r\nDate: Tue, 23 May 2006 19:35:23 GMT\r\nServer: Apache/1.3.33 (Debian GNU/Linux)\r\nLast-Modified: Wed, 15 Feb 2006 00:55:42 GMT\r\nETag: "218015-9e65b83-43f27c0e"\r\nAccept-Ranges: bytes\r\nContent-Length: 88635807\r\nContent-Range: bytes 77455844-166091650/166091651\r\nKeep-Alive: timeout=15, max=100\r\nConnection: Keep-Alive\r\nContent-Type: application/zip\r\n\r] 1148533571.001 20338 192.168.7.54 TCP_MISS/206 299050 GET http://y.mrbass.org/ubcd34-full.zip arpc DIRECT/70.84.90.170 application/zip [Host: y.mrbass.org\r\nAccept: */*\r\nReferer: http://www.mrbass.org/ubcd/\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 5.00; Windows 98)\r\nRange: bytes=161378158-\r\nPragma: no-cache\r\nCache-Control: no-cache\r\nProxy-Authorization: Basic YXJwYzoxMjM0\r\nConnection: close\r\n] [HTTP/1.1 206 Partial Content\r\nDate: Tue, 23 May 2006 19:35:23 GMT\r\nServer: Apache/1.3.33 (Debian GNU/Linux)\r\nLast-Modified: Wed, 15 Feb 2006 00:55:42 GMT\r\nETag: "218015-9e65b83-43f27c0e"\r\nAccept-Ranges: bytes\r\nContent-Length: 4713493\r\nContent-Range: bytes 161378158-166091650/166091651\r\nKeep-Alive: timeout=15, max=100\r\nConnection: Keep-Alive\r\nContent-Type: application/zip\r\n\r] ============================End I guess I should need something like this: acl lessthan3MB rep_header Content-Length ^(1|2)?+[0-9]{0,6}?$ acl multiparts req_header Range ^Bytes=[0-9]+ On 5/25/06, Henrik Nordstrom <henrik@xxxxxxxxxxxxxxxxxxx> wrote: > ons 2006-05-24 klockan 20:46 +0330 skrev Mehdi Sarmadi: > > Any clue or same experience? > > Send a few examples of what you want to match with "log_mime_hdrs on" > and it will be easier to discuss. > > Regards > Henrik > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.3 (GNU/Linux) > > iD8DBQBEdMzEB5pTNio2V7IRAgBsAKC6pmpQdTLTSh9uEp/UcPZZ6O/jFQCgh21d > aKetV6YEHpebPhzH07F4z1c= > =5/uw > -----END PGP SIGNATURE----- > > > -- Mehdi Sarmadi
-- Mehdi Sarmadi