Results 1 to 1 of 1
Hybrid View
-
21st Dec 2011, 06:14 PM #1OPBanned
[PHP] Secure .htaccess protection
Secure .htaccess protection - 10 USD
"In short this is watching your server load, if gets bigger as defined,
system will write nice .htaccess with deny all requests, after server
load is gets normal, the secured .htaccess becomes replaced with that
one original."
Payment & info -> via PM
Config:
define( "MY_IP", "" );
define( "MAX_SERVER_LOAD", "1" );
MY_IP -> Your ip, example -> define( "MY_IP", "127.1.2.3" );
MAX_SERVER_LOAD -> Maximal server load, example -> define( "MAX_SERVER_LOAD", "10" );
Make cron at your server and add into it this url index.php?action=api
And run it every minute/half hour/hour or as you wish.
If the server load becomes bigger as you defined in index.php in MAX_SERVER_LOAD
server automatically write new htaccess to deny all requests.
You must yourself lock out that secured htaccess by going to aka admin panel
at index.php and click to .htaccess -> RESTORE.
Script writes the following files ONLY:
*htaccess_tmp
*srvr_load
Script re-writes the following files ONLY:
*.htaccess
*srvr_load
devNULL Reviewed by devNULL on . [PHP] Secure .htaccess protection Secure .htaccess protection - 10 USD "In short this is watching your server load, if gets bigger as defined, system will write nice .htaccess with deny all requests, after server load is gets normal, the secured .htaccess becomes replaced with that one original." Payment & info -> via PM :) Config: Rating: 5
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
htaccess help
By saninokia in forum vBulletinReplies: 2Last Post: 4th May 2012, 06:30 AM -
help with htaccess
By softleaks in forum Webmaster DiscussionReplies: 2Last Post: 3rd Jun 2011, 06:43 PM -
How to Improve Your Website's Security and Protection Using .htaccess
By Profit in forum Useful SitesReplies: 0Last Post: 18th Jan 2011, 03:14 AM -
[Shared] Secure and Reliable Offshore Webhosting | With RioRey? DDos Protection
By Hillside in forum ArchiveReplies: 2Last Post: 28th Nov 2010, 03:49 PM -
.htaccess help
By Nemesis in forum Webmaster DiscussionReplies: 1Last Post: 21st Mar 2010, 07:13 PM
themaLeecher - leech and manage...
Version 5.03 released. Open older version (or...