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

Certain links in awstats report don't work….

Reply to Post Add a New Topic
UserPost

5:42 pm
February 23, 2012


clashley

Member

posts 3

Links that have http://www.awstats-7.0/wwwroot…..?http.2011.***.html work fine. Any report that opens a new window will change the url to http://www.awstats-7.0/wwwroot/http.2011.***.html. the awstats in front of the http.2011 will be removed. These are monthly reports for the year. The issue is with the following links:

 

Full  List

Last Visit 

Unresolved IP Address

Entry 

Exit

Versions  

Unknown

 Referring Search Engines   Referring Search Sites

Search Keyphrases  Search Keywords

Pages not found

 

Is there something I'm missing in the config file for this? 

8:36 am
February 24, 2012


Jean-Luc

Admin

posts 1095

Hi,

Please paste here the command you are using to generate the reports.

4:31 pm
February 24, 2012


clashley

Member

posts 3

Hello and thank you for the response!

 

The command I am running is from the following:

 

sudo ./pagerefresh-7.0.sh 2011 http.2011.****.net  ( a script that calls this below)

 

byear=$1

config=$2

yy=`date +%y`

yyyy=`date +%C%y`

perl /apps/www/awstats-7.0/tools/awstats_buildstaticpages.pl -awstatsprog=/apps/www/awstats-7.0/wwwroot/cgi-bin/awstats.pl -config=$config -staticlinks -dir=/apps/www/awstats-7.0/wwwroot/ -month=01 -year="$byear" -builddate="$byear"0131

perl /apps/www/awstats-7.0/tools/awstats_buildstaticpages.pl -awstatsprog=/apps/www/awstats-7.0/wwwroot/cgi-bin/awstats.pl -config=$config -staticlinks -dir=/apps/www/awstats-7.0/wwwroot/ -month=02 -year="$byear" -builddate="$byear"0228

perl /apps/www/awstats-7.0/tools/awstats_buildstaticpages.pl -awstatsprog=/apps/www/awstats-7.0/wwwroot/cgi-bin/awstats.pl -config=$config -staticlinks -dir=/apps/www/awstats-7.0/wwwroot/ -month=03 -year="$byear" -builddate="$byear"0331

perl /apps/www/awstats-7.0/tools/awstats_buildstaticpages.pl -awstatsprog=/apps/www/awstats-7.0/wwwroot/cgi-bin/awstats.pl -config=$config -staticlinks -dir=/apps/www/awstats-7.0/wwwroot/ -month=04 -year="$byear" -builddate="$byear"0430

perl /apps/www/awstats-7.0/tools/awstats_buildstaticpages.pl -awstatsprog=/apps/www/awstats-7.0/wwwroot/cgi-bin/awstats.pl -config=$config -staticlinks -dir=/apps/www/awstats-7.0/wwwroot/ -month=05 -year="$byear" -builddate="$byear"0531

perl /apps/www/awstats-7.0/tools/awstats_buildstaticpages.pl -awstatsprog=/apps/www/awstats-7.0/wwwroot/cgi-bin/awstats.pl -config=$config -staticlinks -dir=/apps/www/awstats-7.0/wwwroot/ -month=06 -year="$byear" -builddate="$byear"0630

perl /apps/www/awstats-7.0/tools/awstats_buildstaticpages.pl -awstatsprog=/apps/www/awstats-7.0/wwwroot/cgi-bin/awstats.pl -config=$config -staticlinks -dir=/apps/www/awstats-7.0/wwwroot/ -month=07 -year="$byear" -builddate="$byear"0731

perl /apps/www/awstats-7.0/tools/awstats_buildstaticpages.pl -awstatsprog=/apps/www/awstats-7.0/wwwroot/cgi-bin/awstats.pl -config=$config -staticlinks -dir=/apps/www/awstats-7.0/wwwroot/ -month=08 -year="$byear" -builddate="$byear"0831

perl /apps/www/awstats-7.0/tools/awstats_buildstaticpages.pl -awstatsprog=/apps/www/awstats-7.0/wwwroot/cgi-bin/awstats.pl -config=$config -staticlinks -dir=/apps/www/awstats-7.0/wwwroot/ -month=09 -year="$byear" -builddate="$byear"0930

perl /apps/www/awstats-7.0/tools/awstats_buildstaticpages.pl -awstatsprog=/apps/www/awstats-7.0/wwwroot/cgi-bin/awstats.pl -config=$config -staticlinks -dir=/apps/www/awstats-7.0/wwwroot/ -month=10 -year="$byear" -builddate="$byear"1031

perl /apps/www/awstats-7.0/tools/awstats_buildstaticpages.pl -awstatsprog=/apps/www/awstats-7.0/wwwroot/cgi-bin/awstats.pl -config=$config -staticlinks -dir=/apps/www/awstats-7.0/wwwroot/ -month=11 -year="$byear" -builddate="$byear"1130

perl /apps/www/awstats-7.0/tools/awstats_buildstaticpages.pl -awstatsprog=/apps/www/awstats-7.0/wwwroot/cgi-bin/awstats.pl -config=$config -staticlinks -dir=/apps/www/awstats-7.0/wwwroot/ -month=12 -year="$byear" -builddate="$byear"1231

#perl /apps/www/awstats-7.0/tools/awstats_buildstaticpages.pl -awstatsprog=/apps/www/awstats-7.0/wwwroot/cgi-bin/awstats.pl -config=$config -staticlinks -dir=/apps/www/awstats-7.0/wwwroot/ -month=$bmonth

 

Again, the links on the report work if they are any other than the ones above listed previously.

 

The link generated is:

 

http://****.net/awstats-7.0/ww…..******.net

 

The pages that open a new window will have the following that does not work:

 

http://****.net/awstats-7.0/ww…..mains.html

 

For some reason, it will not add the "awstats." in front of the part of the link

 

http://****.net/awstats-7.0/ww…..mains.html

 

If i add awstats to the link, like so, it will work and the reports are there:

 

http://****.net/awstats-7.0/wwwroot/awstats.http.2011.********.20111231.alldomains.html

4:05 pm
February 27, 2012


Jean-Luc

Admin

posts 1095

Hello,

This looks like a bug.

I made it work by replacing line 426 in awstats_buildstaticpages.pl

my $smallcommand=""$Awstats" -config=$SiteConfig".($BuildPDF?" -buildpdf":"").($NoLoadPlugin?" -noloadplugin=$NoLoadPlugin":"")." -staticlinks".($OutputSuffix ne $SiteConfig?"=$OutputSuffix":"");

by

my $smallcommand=""$Awstats" -config=$SiteConfig".($BuildPDF?" -buildpdf":"").($NoLoadPlugin?" -noloadplugin=$NoLoadPlugin":"")." -staticlinks".($OutputSuffix ne $SiteConfig?"=awstats.$OutputSuffix":"");

7:53 pm
February 27, 2012


clashley

Member

posts 3

Yes! That fixed it! Thank you very very much! I tried several edits to the way I was doing it and nothing worked when I used the buildstaticpages tool. Thanks again!

Reply to Post

Reply to Topic:
Certain links in awstats report don't work….

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:
12 + 3
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 201

Currently Online: gnjdaxkja
38 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 601
Posts: 2623

Membership:

There are 17965 Members
There have been 286 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

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

Recent New Members: HVteEJbypj, Jessiepl, tsdummettwilli, Melaniema, WIswHAbfqj, GVggABilwl

Administrators: Jean-Luc (1095 Posts)

Moderators: Jean-Luc (1095 Posts)