LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 03-08-2005, 02:06 PM   #1
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
doubt on configuring apache2


How do I config apache2 in order to have it discouraging people using dl accelerators? As I write, someone is using 18 connections to my server to download an iso. I'd like apache2 to be more responsive to a greater number of users, instead of using all bandwidth for only one.
Thanks for the help!
 
Old 03-10-2005, 05:50 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Take a look at this modules:
http://dominia.org/djao/limitipconn2.html

One thing to keep in mind is that if you have multiple users comming from the same network using NAT then they will all be blocked if the limit is reached. Although you could just restrict it to downloading isos and make the rest of the site unrestricted.
 
Old 03-11-2005, 08:36 PM   #3
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Original Poster
Rep: Reputation: 46
Thanks David, it seems the exact piece I need. I'll do some reading and try it, then I post the results here.

Restricting the isos dl is more adequate, in fact.
 
Old 03-13-2005, 10:49 PM   #4
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Original Poster
Rep: Reputation: 46
Hi David,
I tried to use that module, but it complains my server isn't compatible. Its weird, cause the guy from the site said he used apache2 version 2.0.39, and mine is 2.0.52. I also tried to apt-get install the package (there is one lib-mod-limitipconn) but the same error poped up. I'm confused. It seems the module isn't developed anymore. Shall I downgrade my server?

Here it is:

gigante:~# /etc/init.d/apache2 restart
Restarting web server: Apache2apache2: module "mod_limitipconn.c" is not compatible with this version of Apache (found 20020628, need 20020903).
Please contact the vendor for the correct version.
 
Old 03-14-2005, 11:18 AM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
I assume you used the source and not the binary?
 
Old 03-14-2005, 02:03 PM   #6
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Original Poster
Rep: Reputation: 46
I used the binary available at the apt repository. Would the source solve it?

EDIT: The binary was for apache 1.3! How stupid... At least now I have a focus. Let's compile.

Last edited by bruno buys; 03-14-2005 at 02:42 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
configuring apache2 bob_man_uk Debian 4 01-27-2005 10:17 AM
Configuring Tomcat 5.0.27 to connect with Apache2 using JDK1.2.6 yea420 Linux - Software 8 08-30-2004 03:49 AM
Doubt about configuring YOU - suse Yast Online Update bruno buys Linux - Software 0 05-07-2004 02:07 AM
Apache2 and php4 problems configuring linoob Linux - General 2 07-01-2003 05:21 AM
Configuring the Apache2 config file to use PHP4 mindstormsguy Linux - Software 3 05-29-2003 12:59 PM


All times are GMT -5. The time now is 05:07 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration