Debian
Member
- Joined
- Aug 8, 2010
- Messages
- 194
- Reaction score
- 6
First open lighttpd.conf And it follows the indications:
1º Descoment these mods
2º search
Give him enter and it puts this:
3ºThen they look for this line.
Under this
Then to save and to restart
Explanation of values:
connection.kbytes-per-second = Limit of band for every connected user
evasive.max-conns-per-ip = It limits the conecciones for ip
Example I put value 4
This borders to that the user have 4 connection to the servant an example of unload
Example I put value 2
I wait that this him nanny served someone
If it is that if rep++
^^
PD:Now I have one mod_evasive with the same functions that the Apache's modevasive but only it is for the one who compiles it lighttpd:/
example file
View attachment lighttpd.rar
1º Descoment these mods
Code:
server.modules = (
"mod_access",
"mod_alias",
"mod_accesslog",
"mod_compress",
# "mod_rewrite",
"mod_redirect",
"mod_evhost",
# "mod_usertrack",
# "mod_rrdtool",
# "mod_webdav",
# "mod_expire",
# "mod_flv_streaming",
"mod_evasive"
)
2º search
Code:
## server.virtual-* options
Code:
connection.kbytes-per-second = 32
3ºThen they look for this line.
Code:
#var.mystring = "foo"
Code:
evasive.max-conns-per-ip = 4
Then to save and to restart
Explanation of values:
connection.kbytes-per-second = Limit of band for every connected user
evasive.max-conns-per-ip = It limits the conecciones for ip
Example I put value 4
This borders to that the user have 4 connection to the servant an example of unload
Example I put value 2
I wait that this him nanny served someone
If it is that if rep++
^^
PD:Now I have one mod_evasive with the same functions that the Apache's modevasive but only it is for the one who compiles it lighttpd:/
example file
View attachment lighttpd.rar
Last edited: