Forum Moderators: phranque
/~aardvark
/~aadam
/~blah blah
....
/~zzzzt
Always in middle of night, different IP. Maybe not even same guy.
I assume he's fishing for customer directories?
Anyways, I was wondering if there was any way in .htaccess to make ANY request for a "~" directory, since I don't have any, goto a special page
Thanks
Dan
What is the server response code for requests of /~ directories? Any 200-OK response may indicate that your server has mod_userdir enabled, and this might affect the solution.
If not, a simple mod_rewrite [httpd.apache.org] rule (assuming you already have other working rules) would likely take care of this problem:
RewriteRule ^~[a-z] - [F]