Re: [users@httpd] adding footer to all web pages

2017-06-20 Thread Rose, John B
Thanks for reply.

SSI seemed to only work if an “include” was added to pages.

Using php_value in Apache or the file append in php.ini seemed the best options.

Also briefly looked at AddOutputFilter/Substitute and the cgi options. Did not 
explore mod_layout very closely.

From: Adam Powell <a...@adaminfinitum.com<mailto:a...@adaminfinitum.com>>
Reply-To: "users@httpd.apache.org<mailto:users@httpd.apache.org>" 
<users@httpd.apache.org<mailto:users@httpd.apache.org>>
Date: Thursday, May 25, 2017 at 11:04 PM
To: "users@httpd.apache.org<mailto:users@httpd.apache.org>" 
<users@httpd.apache.org<mailto:users@httpd.apache.org>>
Subject: Re: [users@httpd] adding footer to all web pages

Google Analytics, by default, only tracks pages by path.

Meaning if you add a Google Analytics snippet to all virtual hosts visitors to 
the home page of each site will be almost impossible to distinguish from each 
other in the reports...there are ways around this but you should be aware of it.

I believe you'll want to review the documentation for server side includes 
(SSI).

Adam Powell
http://www.adaminfinitum.com


On Thu, May 25, 2017 at 9:32 PM, Rose, John B 
<jbr...@utk.edu<mailto:jbr...@utk.edu>> wrote:

If we wanted to add a Google Analytics footer to all pages on our server, 
meaning all virtual hosts, what is the best way to do that via Apache without 
having to touch the individual web sites?



Re: [users@httpd] adding footer to all web pages

2017-05-25 Thread Adam Powell
Google Analytics, by default, only tracks pages by path.

Meaning if you add a Google Analytics snippet to all virtual hosts visitors
to the home page of each site will be almost impossible to distinguish from
each other in the reports...there are ways around this but you should be
aware of it.

I believe you'll want to review the documentation for server side includes
(SSI).

Adam Powell
http://www.adaminfinitum.com


On Thu, May 25, 2017 at 9:32 PM, Rose, John B  wrote:

> If we wanted to add a Google Analytics footer to all pages on our server,
> meaning all virtual hosts, what is the best way to do that via Apache
> without having to touch the individual web sites?
>


[users@httpd] adding footer to all web pages

2017-05-25 Thread Rose, John B
If we wanted to add a Google Analytics footer to all pages on our server, 
meaning all virtual hosts, what is the best way to do that via Apache without 
having to touch the individual web sites?