PDA

View Full Version : [Request] Timelimit for reloading a vB-Page


scotty
06-26-2002, 07:01 AM
I just searched the whole board, but couldn't find...

so - why this hack?

- stop flooding the server by just hitting "reload" in browser or doing this by tool
- only for reloading the same page

maybe realize through "bblastvisit" - I don't know.

If someone has a idea, please post it here!

maybe there is a solution through .htaccess?

THX!

scotty

Neo
06-26-2002, 03:04 PM
well since there is a tool bar that has a reload button and the right click.. it might be very hard to do that without some javascript and frame editing.

scotty
06-26-2002, 04:50 PM
ok - went a little further... ;)

to stop someone from a specific IP flooding your board with requests, you can use the rewrite rules of the apache! (the request therefore doesn't reach the board and its engine)

RewriteEngine On
Options +FollowSymlinks
RewriteBase /
RewriteCond %{REMOTE_HOST} ^123.456.789.123 [OR]
RewriteCond %{REMOTE_HOST} ^456.789.123.456
RewriteRule ^.*$ stopflooding.html [L]

so the problem is now:
a) detecting a flood (requesting many threads in a short period of time)
b) altering the .htaccess file by adding the IP

can someone please help? :)