Current User: Guest Login Register
Please consider registering


Register? | Lost Your Password?

Search Forums:


 






Minimum search word length is 3 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Awstats working, but website is not

Reply to Post Add a New Topic
UserPost

5:38 pm
February 11, 2009


raginbullsht

New Member

posts 1

This is the process I have used so far.

I installed 

activeperl (current)

awstats (6.9)

I did the default install of activeperl and did the “hello world” test and that worked fine.

I installed awstats and at the configuration prompts I chose “none” for the first step

I chose yes to build a configuration file

and named my profile “stats” and that all worked fine

Now, with IIS I created a new web service ext called Perl (all this was done with the perl install, but I checked to verify) added the path c:\\Perl\\bin\\perl.exe “%s” %s, but I got the error enviroment variables in file names will not be expanded, so I removed the “%s” and just used c:\\Perl\\bin\\perl.exe %s

Next I checked the Web service extensions Perl & Perl CGI ext and both we set to allow

The .pl extension was already set

I moved the awstats folders from the defaul c:\\program files to c:\\inetpub\\wwwroot\\awstats and moved the icon folder to the wwwroot folder

added a data folder (for log file dumps)

setup a virtual directory and pointed at c:\\intepub\\wwwroot\\awstats and added exectue and scripts.

setup my log file proper

changed my settings in awstats.stats.conf

 I ran  awstats.pl -config=stats –update

everything appears to have read fine and processed and dumped a new file in my data directory.

http://statistics.stats.com/cg…….ig=stats

The problem is when I try to view the page I get nothing. Do I need to setup something more? I have tried everything I can think of to get this to view, but nothing seems to work. I think I am missing a step beyond my tutorial guide.

My system configuration is as follows

windows server 2003

IIS v. 6

Hosting 19 virtual websites for ArcGIS server pages

2:27 am
February 12, 2009


Jean-Luc

Admin

posts 1063

Hi,

Here is a "hello world" script that you can put in the same directory as awstats.pl :

#!/usr/bin/perl

print "Content-type: text/html\\n\\n";
print "\\nHello world!" ;
exit ;

Can you run it from the browser ?

Reply to Post

Reply to Topic:
Awstats working, but website is not

Guest Name (Required):

Guest Email (Required):

NOTE: New Posts are subject to administrator approval before being displayed

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
11 + 7
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 201

Currently Online:
11 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 513
Posts: 2447

Membership:

There are 4127 Members
There have been 254 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

cssfsu – 55
albert_newton – 30
deepakgupta – 28
cosminpana – 20
DTNMike – 19
ahtshun83 – 17

Recent New Members: eniko, leptserkhan, JohnnyB, dweb3d, buck, newtoawstat

Administrators: Jean-Luc (1063 Posts)

Moderators: Jean-Luc (1063 Posts)