Help - Search - Members - Calendar
Full Version: Help Me! mod_limitipconn How-To required
The Planet Forums > Control Panels > cPanel/WHM
IRCdPR
Hi,

I have my Cpanel in my P-4 and I need to install mod_limitipconn.c . This program will limit simultaneous download per IP. It does this much better than mod_throttle. I need one How-To. Could someone help? :confused:

I know a lot of people need this mod, especially for those running download site/mp3 site.

You can find this mod here : http://dominia.org/djao/limitipconn.html

Thanks
Ps: Excuse my English
eth00
Have you tried doing what is listed on the website:

On systems that support Apache dynamic shared objects (DSOs), the recommend installation procedure using apxs is:

tar xzvf mod_limitipconn-0.04.tar.gz
cd mod_limitipconn-0.04
make
make install
Nenad ®
QUOTE
// ----- How to install Mod_Limitipconn -----

// If you are not root you will need to su - to root

//  if not there already
cd /root

wget http://dominia.org/djao/limit/mod_limitipc...onn-0.04.tar.gz

tar xzvf mod_limitipconn-0.04.tar.gz

cd mod_limitipconn-0.04

pico Makefile

//Find the line that reads APXS = apxs and edit it to show

APXS=/usr/local/apache/bin/apxs

make

make install

pico -w /usr/local/apache/conf/httpd.conf

// Find #ExtendedStatus On
// and remove the # to show
ExtendedStatus On

// Goto the first directive

// Before that put this


   
MaxConnPerIP 3
# exempting images from the connection limit is often a good
# idea if your web page has lots of inline images, since these
# pages often generate a flurry of concurrent image requests
NoIPLimit image/*
   




// Location is the folder that you want to restrict, the full address
// MaxConnPerIP is obviously  the max connections per ip
// NoIPLimit means that it excludes certain files and folders from
// the Limit

save the file (ctrl+x Y)

service httpd restart

// Test it out  
// Written by Matt - SeeksAdmin


In do not enter full path... like /home/virtual/user/public_html/download... just enter /download because limitipconn user httpd log files to limit number of download...

GET /download/file.mp3 itd... not GET /home/virtual/.../download/file.mp3

Have a nice day icon_wink.gif
IRCdPR
Ok I tried...
IRCdPR
Thanks eth0 and Nenad ® for a great How-To Work me Fine Thanks.... icon_biggrin.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.