I'm a novice web developer.
I'm trying to to use mod_qos to limit the concurrent downloads/ segment downloads per visitor for my video streaming project to prevent IDM or download accelerator from hogging my vps' resources.
The project is running on Apache 2.4.29/ Ubuntu 18.04 LTS, mod_qos v.11.44-1build1.
Videos played by calling fuction in "videoplayback.php"
The uri looks like this: /videoplayback/?sid=abcdef12345xyz
Here is my config in virtual host.
1) RequestURI: this is the path portion of the request URL only (/videoplayback/) which means that your regular expression does not match.
2) Noticed that you configured QS_ClientIpFromHeader twice (doesn't cause any problems but I wonder if you use this directive by intention)
3) You might also check if you want to use QS_ClientSerialize.
regards, Pascal
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I'm a novice web developer.
I'm trying to to use mod_qos to limit the concurrent downloads/ segment downloads per visitor for my video streaming project to prevent IDM or download accelerator from hogging my vps' resources.
The project is running on Apache 2.4.29/ Ubuntu 18.04 LTS, mod_qos v.11.44-1build1.
Videos played by calling fuction in "videoplayback.php"
The uri looks like this: /videoplayback/?sid=abcdef12345xyz
Here is my config in virtual host.
It turns out not working. May there's something wrong with the config? Idk.
If you could give a suggestion, it'd be very appreciated.
Thanks.
Last edit: Will Ng 2022-04-15
1) RequestURI: this is the path portion of the request URL only (/videoplayback/) which means that your regular expression does not match.
2) Noticed that you configured QS_ClientIpFromHeader twice (doesn't cause any problems but I wonder if you use this directive by intention)
3) You might also check if you want to use QS_ClientSerialize.
regards, Pascal