I place the module in sites/mysitename/modules directory
How do I fill out the settings for a multisite install?
where "localhost" is now do I put in the name of my installation?
do I need to somehow specify a different tmp file like /tmp/radioactivity-sitename ?
can I do this in the cfg.inc file that is produced?
will this conflict with the settings page?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Anonymous’s picture

Just done the same thing - you can't specify a different /tmp folder for each site as that's a global setting for the module.

My quick fix was to change lines 25+44 of includes/RadioactivityFileIncidentStorage.inc to:

$file = $tmp . '/radioactivity-payload-' . $_SERVER['SERVER_NAME'] . '.txt';

It's a hack, but without it radioactivity for each site will come from a single file, and no filtering will be done. You'll end up getting Duplicate Key errors when adding new content on probably all of the sites.

René-Marc Simard’s picture

Component: Documentation » Code
Category: Support request » Bug report
Issue summary: View changes
Status: Active » Needs review
FileSize
1.02 KB

Here is _isos' approach rolled into a simple patch, along with some hardening to filter out any characters that could be problematic within file names, like the columns in an IPV6 address for instance.