End User Monitoring (EUM)

cancel
Showing results for 
Search instead for 
Did you mean: 

adum.conf

Highlighted
Explorer

adum.conf

We are working on EUM and we try to configure automatic injection trought Apache. Below our adrum.conf and contents. 

<Location />
AddOutputFilterByType SUBSTITUTE text/html
Substitute "s$<title>$<title>\
<script>\
window['adrum-start-time'] = new Date().getTime();\
</script>\
<script>\
(function(config){\
config.appKey = 'EUM-AAB-AXV';\
config.adrumExtUrlHttp = 'http://cdn.appdynamics.com';\
config.adrumExtUrlHttps = 'https://cdn.appdynamics.com';\
config.beaconUrlHttp = 'http://NA-APPD-DEV-EUM.chubb.com:7001';\
config.beaconUrlHttps = 'https://NA-APPD-DEV-EUM.chubb.com:7002';\
config.xd = {enable : false};\
})(window['adrum-config'] || (window['adrum-config'] = {}));\
</script>\
<script src='https://cdn.appdynamics.com/adrum/adrum-latest.js'>\
</script>$inq"
</Location>

 

We are trying to add meta tags on this file unsuccessfully. The goal of the meta tag is to fix any issue in our application through Internet Explore. Our application lose the fields formats and we try to fix it. 

The meta tags that we are trying to use are these:

 

  <meta name="keywords" content="HTML,CSS,XML,JavaScript">

  <meta name="author" content="John Doe">

  <meta name="viewport" content="width=device-

 

the file that we are trying to use is this but when we try start the apache we recieved an sintaxe error. 

Someone can help me to fix it?

 

<Location />
AddOutputFilterByType SUBSTITUTE text/html
<head>
<meta charset="UTF-8">
<meta name="description" content="Fancy Web Page">
<meta name="keywords" content="HTML,CSS,XML,JavaScript">
<meta name="author" content="John Doe">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

// Injection of the JavaScript Agent after the last <meta> tag
<script charset='UTF-8'>
window['adrum-start-time'] = new Date().getTime();
(function(config){
config.appKey = 'SH-AAB-AAC-XAR';
config.adrumExtUrlHttp = 'http://cdn.appdynamics.com';
config.adrumExtUrlHttps = 'https://cdn.appdynamics.com';
config.beaconUrlHttp = 'http://eum-col.appdynamics.com';
config.beaconUrlHttps = 'https://eum-col.appdynamics.com';
config.xd = {enable : false};
})(window['adrum-config'] || (window['adrum-config'] = {}));
</script>
<script src='//cdn.appdynamics.com/adrum/adrum-latest.js' type='text/javascript' charset='UTF-8'/>
</head>
</Location>

 

 

 

adum.conf