Results 1 to 2 of 2

Thread: Limit 1 Download at a time with Apache?

  1. #1
    408nate08 is offline New Member: Posts Will Be Moderated
    Join Date
    Mar 2011
    Posts
    1

    Question Limit 1 Download at a time with Apache?

    There are multiple tutorials that I've looked up through Google that show me how to limit my users to 1 download at a time using Apache (e.g.: http://skullboxx.net/kb/node/216). I've tried following the tutorial to the best of my novice SSH skills, but I'm always getting errors halfway through the tutorial.

    From what I'm understanding, I need to get the "mod_limitipconn.c" from this site: http://dominia.org/djao/limitipconn.html

    I'm using Apach 2.0.63, so I'm using the mod_limitipconn.c from here:
    http://dominia.org/djao/limitipconn2.html

    The problem is, whenever I try to "tar xzvf mod_limitipconn-0.23.tar.bz2" after downloading it, I get this error:

    Code:
    gzip: stdin: not in gzip format
    tar: Child returned status 1
    tar: Error exit delayed from previous errors
    I've read that I can convert it to a tar.gz file, but I don't have Linux to be able to do that. Is there another approach that I can use to limit my guests' downloads to 1 file per IP?

    Thank you!

    - Nate

  2. #2
    Join Date
    Mar 2011
    Location
    Palm Beach
    Posts
    12
    Try this:
    Code:
    tar xvjf mod_limitipconn-0.23.tar.bz2
    The "j" operator should let you unzip the bz2 file. Let us know if it works.

Similar Threads

  1. How to limit simplepie cache size?
    By youlichika in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 0
    Last Post: 24 Oct 2010, 02:49 PM
  2. PM Size Limit
    By Cory in forum WDF Suggestions
    Replies: 1
    Last Post: 27 Apr 2010, 07:10 AM

Posting Permissions

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