Some months ago, I added the getout.php and a fake htaccess.txt to my site. It has successfully collected a few dozen bad bot ip's. Thank you.
My problem is, that I must set the permission to 777 on the /trap directory and the fake /htaccess.txt file for the script to write to it.
I wonder how to fix that. the scripts run as httpd.
If I write a small one-time script, to create the directory and the htaccess file, will the other scripts then have permission to use them?
Will I have permission to use them?
Another, unrelated question:
I had in place a cron job that used find to report any changed files. My host has since made 'find' unavailable. Is their a way to use grep or sed or something to accomplish the same thing?