![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
So Fucking Banned
Join Date: Jul 2002
Location: Dis
Posts: 4,751
|
apache question
How do you limit the number of downloads a user may make simultaneously? Is there a virtual server directive that will do it?
Thanks |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
So Fucking Banned
Join Date: Sep 2001
Location: shell beach
Posts: 7,938
|
when will you guys finaly realize that google can answer any questions you have ... well, almost any.
the secret is the "search phrase" http://www.google.com/search?sourcei...wnloads+apache |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Mar 2002
Location: how'd I get here?
Posts: 264
|
I believe you should google for the term "mod_throttle" it's helped me out in these situations before.
Also, you may find a mix of using mod_rewrite to transform all image/movie requests through a PHP script which uses ram based sessions provides nearly unlimited control over serving content.
__________________
[this signature intentionally left blank] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Jun 2003
Location: Ft Myers, FL
Posts: 135
|
RTFM
__________________
t-minus whenever it feels right |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
So Fucking Banned
Join Date: Jul 2002
Location: Dis
Posts: 4,751
|
Thanks. I did check google before I posted but didn't get what I needed under the search string I used.. just some stuff about limiting server threads, which I don't want to do.
mod_throttle looks really interesting ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Nov 2002
Posts: 880
|
My solution to a similar problem was php.
It's logging the ip temporarily to mysql (or a plain text if needed) while downloading. Then removes it from the list either when downloading finished or canceled by user. You may also cap the bandwith with same script if needed. |
![]() |
![]() ![]() ![]() ![]() ![]() |