Web Hosting Talk







View Full Version : Server Side not working


rod2512
06-13-2001, 05:05 PM
Dear all,

I am trying to implemet Webtrendslive code into my .html pages for tracking my visitors & sales.

The manual of Webtrends tells me to copy and paste the code, and name it tracking.inc and put in my html the command line !--#include virtual="hostingtrack.inc'.

However when I do that the script is not working, i.e. the statistics are still zero.

What am i doing wrong here ?

thanks,

Rod

P.S. Anybode familiar with implement webtrends ecommerce?

cheatman
06-13-2001, 05:15 PM
If you run your own server, you need to copy the 2 lines in your httpd.conf file that have .shtml at the end and paste them with .html at the end below that..

then restart apache,


if you do not have your own server, ask you host to..

jtan15
06-13-2001, 05:46 PM
The line cheatman is referring to is:

AddHandler server-parsed .html

Instead of putting it in the master httpd.conf file, I recommend you put it in a .htaccess file in the directory where WebTrends resides, because parsing each html file takes up a considerable amount of resources.