Once you have the module enabled, you just need the following changes to your httpd.conf file:
- Enable the mod if it isn't enabled already.
1LoadModule substitute_module modules/mod_substitute.so
- Configure the module to add the script tag to all html pages.
1<Location "/">2AddOutputFilterByType SUBSTITUTE text/html3Substitute "s|<head>|<head><script src='https://us.jsagent.tcell.insight.rapid7.com/tcellagent.min.js' tcellappid='ADD_APP_ID' tcellapikey='ADD_API_KEY'></script>|niq"4</Location>
Note: You can get your app ID and API key from the tCell management console as described here.