This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Make client connections speed lower?
#4
RE: Make client connections speed lower?
Well, I have the answer:

How to rate limit server UPLOAD speed (so, the speed the web visitor use)

First of all, lets activate apache module called mod_ratelimit: (that is installed by default)
Edit /etc/httpd/conf.modules.d/00-base.conf
and uncomment the line:

Code:
#LoadModule
ratelimit_module modules/mod_ratelimit.so

Then, just add the following to CUSTOM ENTRY (Module Admin>Apache Config>Override a Virtual Host Setting>[select domain]>Custom Entry):

Code:
<IfModule mod_ratelimit.c>
   <Location /downloads>
       SetOutputFilter RATE_LIMIT
       SetEnv rate-limit 350
   </Location>
</IfModule>

Where:
"/downloads" indicates the domain folder. Eg: "/" for all locations inside client root.
"SetEnv rate-limit 350" indicates speed in KB/s.

Using apache 2.4, and CentOS 7.

If you use Windows, you need to fix the paths.

PS: This is just for HTTP, SQL and FTP will not change their speed.
Reply
Thanks given by: Me.B


Messages In This Thread
Make client connections speed lower? - by Tango - 11-22-2014, 03:08 AM
RE: Make client connections speed lower? - by Tango - 11-24-2014, 11:43 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Update extplorer and panels client poseidon97 0 4 ,121 02-06-2020, 11:40 PM
Last Post: poseidon97
confused to make an decision please help nscloud 4 9 ,565 09-14-2018, 09:52 AM
Last Post: wormsunited
Change client's data folder problem dimnas 1 5 ,839 02-14-2018, 03:49 AM
Last Post: TGates

Forum Jump:


Users browsing this thread: 1 Guest(s)