If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
access stats - base_dir problems  XML
Forum Index » Support Forum
Author Message
htm
Newbie

Joined: 31/07/2003 14:37:39
Messages: 2
Offline

Hi All,

I'm new on the forum! I used the searched before I admit this one.
Let me tell you my story, I couldn't get my access stat to work, but finally I managed to get it! I used the following script:

I found out that "/home/virtual/site9/fst/var/www/html" was my rootdirectory on the website. I changed my base_dir to:
/home/virtual/site9/fst/var/www/html/stat/logfiles
That worked, it cost me a while to figure this out. Perhaps it is a good idea to put this in the readme.txt.
Even don't use the -w option on the perl rule in line 1.

I hope you all will get it to work, it is a great script!

htm
Anonymous



htm wrote:Hi All,

I'm new on the forum! I used the searched before I admit this one.
Let me tell you my story, I couldn't get my access stat to work, but finally I managed to get it! I used the following script:

I found out that "/home/virtual/site9/fst/var/www/html" was my rootdirectory on the website. I changed my base_dir to:
/home/virtual/site9/fst/var/www/html/stat/logfiles
That worked, it cost me a while to figure this out. Perhaps it is a good idea to put this in the readme.txt.
Even don't use the -w option on the perl rule in line 1.

I hope you all will get it to work, it is a great script!

htm


Thank you SO VERY MUCH for this! This little script should be included in the packages. I figured out the rest of the script I was using (the FFA Links Script) except this -- and it was driving me NUTS.

You made my day...

Mark Magill
www.wordforlife.com
Anonymous



I was able to install the script but a cannot see any data for this month. Please help?
Anonymous



My ISP server uses CGIWrap to run cgi & perl scripts. I was told that my root directory was: "/home/kevint/www/" and therefore I've tried using /home/kevint/www/stats/logfiles" as my base_dir but can still only see the 02-2001.txt example Logfile when I run stat.pl.

When I use the following script, it returns: "/web/bigip-apache/htdocs/", which is so totally different from /home/kevint/www/

Code:

#!/usr/bin/perl

print "Content-type: text/html\n\n";
print "Document Root is: ";
print $ENV{'DOCUMENT_ROOT'};


Any ideas of what else I can do to make the seemingly great Access Stats scripts to work?
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum