Hi,
I'm running Squid 1.1.20 (Linux 2.0.27),
my question is: how to configure squid so that posting file greater
than 100Kbytes is not allowed ?
my squid.conf:
=============
# TAG: request_size
# Maximum allowed request size in kilobytes. If people are using
# POST to upload files, then set this to the largest acceptable
# filesize plus a few extra kbytes.
#
request_size 100
==============
But it seems that this doesn't work, 'cause I created one document (post.html)
using POST method. After submitting, a file which size is 800 kbytes was sent
successfully through Squid.
post.html:
=========
<form action="/cgi-bin/post.cgi" method="POST" enctype="multipart/form-data">
<input type="file" name="filename" size=32>
access.log:
==========
894890359.971 61 pc5084.swh.sk TCP_MISS/304 134 GET http://home.swh.sk/misc/exp/post/post.html - DIRECT/home.swh.sk -
894890365.494 361 pc5084.swh.sk TCP_MISS/000 225 POST http://home.swh.sk/cgi-bin/post.cgi - DIRECT/home.swh.sk -
Any help would be appreciated,
Benarson.
Received on Mon May 11 1998 - 06:07:37 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:40:07 MST