PDA

View Full Version : want to know about usage by country in webalizer


sunpetch
11-26-03, 10:25 PM
Dear everyone..

I would like to know how to check the usage by country from webalizer stats ?? Thsi webalizer stats is come with my first start helding in powwer server... I have no idea, which country that visti my website... I am very interested to know the country record..becuase of this stats..it will be my usefull to do some target group... Since I don;t know the IP loging ..T_T.. I don;t know which IP belong to which country..

I also just see that there is Awstats...
If i install the Awstats, and remain the webalizer..is there any problem at it ??? ??

Thank you

(jj)
11-29-03, 06:03 AM
If you are running the standard "default" Webalizer which you turned on in OPs, then there is no way to turn on the country codes.

If you are running your own copy of Webalizer, then you have to edit the webalizer.conf file and add these two lines to the bottom.

DNSCache DNSCachefile
DNSChildren 1

Yes, you can run both Webalizer and Awstats on your site.

sunpetch
11-29-03, 02:12 PM
Dear JJ,


Thank you very much for your kindly... I still have more question..T_T..

For WEbalizer, I will leave it just like that..Don;t want to edit them...actaully do;t want to mess with it..lol...I didn;t creat my own webalizer..it is come together when i first using powweb..:):)

Anyway..I have more question about Awstats..

1. last two day ago , I just install the Awstats...and I follow the Powweb tuturial..and There is no updaet stats at all...so I do double check it again...so Last 8 hours ago, I do a Manual Update ( ofcourse i set it to 1 instead of 0 )..and it can update my stats..:):) , but right now, I am trying to do a manual upate again...I got a " 500 internal server error " again..T_T..DOn;t know why ??

2. in the awstats page..I cannot see any image at all..T_T.. I ftp icon directories in to htdocs... I don;t know why ?? Do I ftp to the wrong directories ??

Thank you very much

(jj)
11-29-03, 09:46 PM
Double check your awstats.pl file and make sure that it's chmod to 755. Most server 500 errors are caused by not having the correct permissions (chmod) set.

In your awstats.conf file, look for the line that looks like this

DirIcons="/icon"

This is where awstats will look for your images. This icon folder should be within your htdocs folder, not your cgi-bin. If you put the graphics into a different folder then change that line to point to the one you are using.

snodghag
11-29-03, 10:15 PM
I just have the default webstats and until August the various countries used to be marked on the pie chart.

From August on all it it says is unresolved. Did powweb change the way the stats work or is something else going on?

(jj)
11-30-03, 07:44 AM
Yes, as per this Announcement (http://forum.powweb.com/showthread.php?s=&threadid=26794) Powweb no longer supports the old Webalizer stats. They removed the option to setup Webalizer to view countries some time back.

If you check the "sticky" posts at the top of this forum, you will find alternative methods for webstats.

Powweb is still working on finding a better solution to this problem, but for the time being if you want accurate stats you need to use one of the alternatives.

sunpetch
11-30-03, 11:10 AM
Daer JJ,

I did upload the icon folder into htdocs folder...I did follow from the first time..but I cannot see any image at all..T_T..

So I upload the icon to the main directories... I can see.. cgi-bin, htdocs,etc,icon..etc... But the image doesn;t show again..T_T..

What is the path that you should make ??

sunpetch
11-30-03, 11:22 AM
You can this link out... It doesn;t show the image as well..T_T.. the image is there..and it is in htdocs folder...
Is it because of the png file ???

http://ebetta2u.com/icon/clock/hr10.png

(jj)
11-30-03, 01:22 PM
From what I see in that error message (cannot be displayed because it contains errors), I wonder if you uploaded those image files in ASCII mode.

All textual files (html, php, pl, cgi, conf) HAVE to be uploaded in ASCII mode. All image files (jpg, gif, png, bmp) HAVE to be uploaded in Binary mode.

Folders at the same level as your htdocs can not be accessed for web viewing, so the image folder HAS to be inside of your htdoc folder.

PNG files are viewable on the Internet, so that is not the problem. So you either uploaded them in ASCII mode, or they were corrupted during upload.

sunpetch
11-30-03, 01:41 PM
ok..

I am using Ws FTP , I saw that there is three option for the transfer mode..there is ASCII Binary and Auto.. If i select Auto, the program will know that the text file must be ASCII and photo must be Binary ???

Normally, I set it to ASCII and I alway upload my picture to show in the interest...and there is no problem to display ?? Why is it ?? What is the differnt ?? because of PNG ?? or something ??
sorry for lot of question..I just know this thing..:)

I am going to upload them again..hope it is working..:)

(jj)
11-30-03, 01:47 PM
I don't see how any image would display if it's uploaded in ASCII format. Doing so will corrupt any image file.

Most WS_FTP users use the Auto feature, you just have to make sure that in "Program Options" that the "ASCII Filenames" includes all textual type file extensions. That way it uploads everything in Binary EXCEPT those in the ASCII Filename list.

sunpetch
11-30-03, 02:14 PM
Some Image appear..and some are don.t ..T_T... ??
Thank yuo veyr much for you kindly help...