Author: H.Salvisberg (17 May 15 10:09am)
I would like to see an answer to this, too. Or rather I would like to see a confirmation that this works.
I have a multi-language Drupal site that provides subdomains like:
The subdomain determines the language of the user interface, but the content is the same for all domains. The http:bl Drupal module lets me enter just one honeypot path. So, if I have my a honeypot at example/honeypotscript.php, it will be one of...
... depending on which subdomain the bot is looking at.
Your instructions seem to indicate that I should create three different scripts for the three domains, like...
... or can I put the same script into three different places, like...
... but the Drupal module does not let me differentiate by subdomain. Does the Drupal module need to be enhanced to provide that capability?
Taking this one step further -- I find that some bots are set to visit certain adresses even though these don't exist and return "404 not found". Examples of such paths are:
It seems only fair to give the bots something to eat ;-) and I would like to put honeypots there, so I would end up with the following honeypot addresses
(For node/register I'd probably have to store the script as node/register/index.php,)
What exactly is needed to make this work?
Could one of the 30x redirects help? Which one?
Or some .htaccess magic?
Could the script be changed to be more tolerant about where it runs, or is it already?
Thank you for your fine work with Project Honeypot!