Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
Hello Guys, I have configured a proxy in my company. Users are resticted to download any file more than of 5mb of size. This has been implimented successfully. But some ...
  1. #1
    Just Joined!
    Join Date
    Dec 2009
    Posts
    34

    Squid problem

    Hello Guys,
    I have configured a proxy in my company. Users are resticted to
    download any file more than of 5mb of size. This has been implimented
    successfully. But some guys are still downloading file of more than of
    5 mb size by just adding '?' sign at the end of the URL. Now what
    should i do.

    Thanks & Regards,
    Vinod Pundir
    Linux Administrator

  2. #2
    Linux Enthusiast scathefire's Avatar
    Join Date
    Jan 2010
    Location
    Western Kentucky
    Posts
    616
    Are you using the reply_body_max_size directive?
    linux user # 503963

  3. #3
    Just Joined!
    Join Date
    Dec 2009
    Posts
    34
    Hi Scathefire

    Yes, i am using 'reply_body_max_size' directive.

  4. #4
    Linux Enthusiast scathefire's Avatar
    Join Date
    Jan 2010
    Location
    Western Kentucky
    Posts
    616
    What's your ACL look like?
    linux user # 503963

  5. #5
    Just Joined!
    Join Date
    Dec 2009
    Posts
    34

    Squid Problem

    reply_body_max_size 5000000 allow all.extensions

  6. #6
    Just Joined!
    Join Date
    Sep 2011
    Posts
    15
    make it

    Code:
    reply_body_max_size 10 MB

  7. #7
    Just Joined!
    Join Date
    Dec 2009
    Posts
    34
    Hi
    As you said i changes size in MB and it looks now "reply_body_max_size 5 MB allow all.extensions" . Now when i reload squid, it shows following error:-

    2011/12/01 14:03:29| squid.conf line 1983: reply_body_max_size 5 MB allow all.extensions
    2011/12/01 14:03:29| aclParseAccessLine: expecting 'allow' or 'deny', got 'MB'.

  8. #8
    Just Joined!
    Join Date
    Sep 2011
    Posts
    15
    Code:
    reply_body_max_size 10 MB allow all.extensions
    I guess this will be the format in your case

    as I work with
    Code:
    reply_body_max_size 10 MB
    and works fine

  9. #9
    Just Joined!
    Join Date
    Dec 2009
    Posts
    34

    SQUID problem

    Same problem again.

    Error:

    2011/12/01 16:29:13| squid.conf line 1983: reply_body_max_size 5 MB
    2011/12/01 16:29:13| aclParseAccessLine: expecting 'allow' or 'deny', got 'MB'

  10. #10
    Just Joined!
    Join Date
    Sep 2011
    Posts
    15
    Code:
    reply_body_max_size 10000000 allow all.extensions

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...