Jimmy Legs Posted February 5, 2003 Share Posted February 5, 2003 is there a way to set options for AWstats, such as editing the skiphosts file to exclude my IP address? also is there a way to get the access log directly, not as an archive? Quote Link to comment Share on other sites More sharing options...
KevinW Posted February 6, 2003 Share Posted February 6, 2003 Jimmy, Not sure if this will help, but the Awstats web site had a link that discussed the subject of skipping your own IP address: http://awstats.sourceforge.net/docs/awstat...ml#EXCLUDEHOSTS -kw Quote Link to comment Share on other sites More sharing options...
Jimmy Legs Posted February 6, 2003 Author Share Posted February 6, 2003 yeah, it says i need to edit the skiphosts parameter. but i don't know how to get to the config file. oh, and i see the links to server logs under the FTP section of cpanel, so i got that covered at least Quote Link to comment Share on other sites More sharing options...
TCH-Rick Posted February 6, 2003 Share Posted February 6, 2003 The config file is located in the tmp directory (outside of your public_html directory.) I looked through the config file on my site trying to figure out why I'm not getting stats through AWStats yet. Seems I remember seeing something about skipping an IP address while I was sorting through it. Quote Link to comment Share on other sites More sharing options...
KevinW Posted February 6, 2003 Share Posted February 6, 2003 Agree -- that's where I thought it was located also (/home/tmp) -- but I didn't see it -- even though I had my filters on my FTP program set to show hidden/system files. Guess I'll check again in a bit. -kw Quote Link to comment Share on other sites More sharing options...
Jimmy Legs Posted February 6, 2003 Author Share Posted February 6, 2003 thanks for the pointers! i edited the file to rule out my ip, enabled the DNSlookup, and added that "update now" link on it. much better! Quote Link to comment Share on other sites More sharing options...
KevinW Posted February 7, 2003 Share Posted February 7, 2003 Thanks for letting us know that the information helped! -kw Quote Link to comment Share on other sites More sharing options...
TCH-Rick Posted February 7, 2003 Share Posted February 7, 2003 Any idea when AWStats will be working on all sites. I still get a Never Updated message when I run it. I noticed on a new domain I just moved here that AWStats is the only package in the CPanel. I checked my conf file and all looked in order so I'm not sure why I'm not seeing anything. Quote Link to comment Share on other sites More sharing options...
alison Posted February 7, 2003 Share Posted February 7, 2003 I'd like to alter my config file for webalizer--but I can't find it in my TMP folder. What should it be called?? Quote Link to comment Share on other sites More sharing options...
Lianna Posted February 7, 2003 Share Posted February 7, 2003 Although this doesn't answer your question, I'm not sure that I would spend time trying to config Webalizer. It may be going away soon. Please visit this poll thread to see why. Lianna Quote Link to comment Share on other sites More sharing options...
SEO Posted February 7, 2003 Share Posted February 7, 2003 Any idea when AWStats will be working on all sites. I still get a Never Updated message when I run it. I have the same question as Rickvz in reference to the www.driedflowersdirect.com domain. D. Scott Quote Link to comment Share on other sites More sharing options...
Jimmy Legs Posted February 7, 2003 Author Share Posted February 7, 2003 this is odd ... this morning my awstats config file updated itself (i guess) and all the settings reverted to their defaults. what's up with that? Quote Link to comment Share on other sites More sharing options...
dukeblue219 Posted February 8, 2003 Share Posted February 8, 2003 My configuration file reverted as well... are we not allowed to modify it or something?? Quote Link to comment Share on other sites More sharing options...
KevinW Posted February 8, 2003 Share Posted February 8, 2003 Guess we will need to take a look at it, and get back to you. -kw Quote Link to comment Share on other sites More sharing options...
TCH-Rick Posted February 9, 2003 Share Posted February 9, 2003 I was able to update my stats in AWStats for the first time tonight. I only have a couple of days of stats. I editted the conf file to allow updating from the browser and then hit update now to get them. The default config file doesn't have reverse DNS enabled and that is one of the things I like about Webalizer--I can tell easily which countries are visiting my sites. I enabled that and checked a subdomain and it worked fine. Quote Link to comment Share on other sites More sharing options...
SEO Posted February 10, 2003 Share Posted February 10, 2003 What am I doing wrong? I changed my config file for AWStat (DNSLookup=1; AllowToUpdateStatsFromBrowser=0) and nothing changed. The changes are definitely made in the config file but no update button and no domain names .... What am I missing? Thanks for any help. D. Scott Quote Link to comment Share on other sites More sharing options...
TCH-Rick Posted February 10, 2003 Share Posted February 10, 2003 What am I doing wrong? I changed my config file for AWStat (DNSLookup=1; AllowToUpdateStatsFromBrowser=0) and nothing changed. The changes are definitely made in the config file but no update button and no domain names .... What am I missing? The AllowToUpdateStatsFromBrowser would need to be set to 1 to get the update option. The DNSLookup variable only affects the IPs processed after you set it, not previous ones. Quote Link to comment Share on other sites More sharing options...
SEO Posted February 10, 2003 Share Posted February 10, 2003 Sorry, typo ... AllowToUpdateStatsFromBrowser=1 And still no IPs with names. I am doing something wrong. It is as thou it is not reading the altered .conf file. Quote Link to comment Share on other sites More sharing options...
Lianna Posted February 10, 2003 Share Posted February 10, 2003 Hey, don't get all worked up about config for awstats just yet. There are some known issues that are being looked into. I don't know specifically if it would impact your goal here, but I would hate to think you were beating yourself up over something that is not in your control...... Hang tight guys. Be assured that the problems with AWStats are being investigated. Lianna Quote Link to comment Share on other sites More sharing options...
Jimmy Legs Posted February 10, 2003 Author Share Posted February 10, 2003 thanks Lianna, for checking this stuff out. meanwhile, dsdemmin, have you manually reloaded the stats page after you uploaded the edited config file? also be aware of this weird thing that seems to be resetting the config file to its default state every day. stats are fun to obsess over but of debatable usefulness. still, if i don't obsess over my stats, who will? Quote Link to comment Share on other sites More sharing options...
KevinW Posted February 10, 2003 Share Posted February 10, 2003 Keep in mind that by the end of this week, the head guru will be making a decision on stats, and will only offer one standard stats package on TCH. So, if you have a preference, vote for your favorite one! -kw Quote Link to comment Share on other sites More sharing options...
patsplitt Posted February 11, 2003 Share Posted February 11, 2003 I just recieved this reply from tech support: << (Bill Kish) had responded with: AWstats are a global setting, thus each user can not control the settings. Sorry about that. ------------- Regards, Bill Kish General Manager TotalChoice Hosting Services >> I also want to set DNS Lookup to 1, so that I can see which countries are visiting my site. Webalizer does this! If AWstats can't, get rid of it, not Webalizer. Pat Splitt Quote Link to comment Share on other sites More sharing options...
TCH-Rick Posted February 11, 2003 Share Posted February 11, 2003 Since it is a global setting, will it be possible to set up the global file to default to reverse DNS? I like the look of AWStats but would change my vote to stay with Webalizer if the only info we get from AWSTats is IP address. Quote Link to comment Share on other sites More sharing options...
SEO Posted February 11, 2003 Share Posted February 11, 2003 Are these two statements not contradictory? I was able to update my stats in AWStats for the first time tonight. I only have a couple of days of stats. I editted the conf file to allow updating from the browser and then hit update now to get them. The default config file doesn't have reverse DNS enabled and that is one of the things I like about Webalizer--I can tell easily which countries are visiting my sites. I enabled that and checked a subdomain and it worked fine. AWstats are a global setting, thus each user can not control the settings. Quote Link to comment Share on other sites More sharing options...
Lianna Posted February 11, 2003 Share Posted February 11, 2003 Yes, they are D. That's the point. See, as folks started to explore the possibilites with AWStats in configuring them to do what they want, they discovered that some changes would effect all. Hmmmm. So here we are at the proverbial dilemma, eh? Lianna Quote Link to comment Share on other sites More sharing options...
SEO Posted February 11, 2003 Share Posted February 11, 2003 Gotcha. Would enabling DNS Lookup globally be to taxing? I like the 'feel' of AWStates but it really needs to be able to resolve IP addresses. I was also looking forward to customizing the look (colors, fonts, etc.) which looked possible form review of the config file. I send stat reports to my clients and I was considering moving more sites here and that was a definite plus. Right now, I use Analog and Report Magic. Having it already on the server would save me time. Keep us posted. Again, thanks for your quick responses. I am enjoying it more and more around here ... and that is because of you'all! (Yes, you'all is a word ... and a dad-gum good one!) Quote Link to comment Share on other sites More sharing options...
shammer Posted February 13, 2003 Share Posted February 13, 2003 I say keep AWstats, it's not that hard to upload the .conf file in the morning and I really like the stats they give. I just keep a copy on my desktop and before I check stats that day I upload it again and voila. Quote Link to comment Share on other sites More sharing options...
Jimmy Legs Posted February 13, 2003 Author Share Posted February 13, 2003 i'm hoping somebody will figure out how to keep the config files from getting reset to the defaults. i can't imagine this is something that can't be helped. for now, i'm doing the same thing, uploading the .conf file every day. not hard, but all this duplication of effort seems rather counter-intuitive. can you tell i'm at work right now? Quote Link to comment Share on other sites More sharing options...
KevinW Posted February 13, 2003 Share Posted February 13, 2003 There is a prior post in this thread where the Head Guru was quoted: "AWstats are a global setting, thus each user can not control the settings. Sorry about that." -kw Quote Link to comment Share on other sites More sharing options...
shammer Posted February 13, 2003 Share Posted February 13, 2003 We can control the settings though. Just by modding that .conf file I can make it look and work how I like. The file is overwritten the next day though. Quote Link to comment Share on other sites More sharing options...
KevinW Posted February 13, 2003 Share Posted February 13, 2003 why not create a crontab entry to automatically copy over a saved version of your .conf file each morning - and schedule it for sometime after the stats have been updated? -kw Quote Link to comment Share on other sites More sharing options...
shammer Posted February 13, 2003 Share Posted February 13, 2003 that's a good idea, I might just do that. I haven't really had a problem doing this since it takes me 30 seconds but that would be nice too. Quote Link to comment Share on other sites More sharing options...
shammer Posted February 14, 2003 Share Posted February 14, 2003 Ok, linux Guru's please help. I tried with my limited knowledge to do the cron job but it didn't work. Here is what I did. >cp /awstats.cyberhigh.net.conf /tmp/awstats/awstats.cyberhigh.net.conf and I set it at 01*** so it would copy every day at 1AM. I have the file in the root hence the "/awstats.cyberhigh.net.conf" and you can see where I want it to go. On second thought, perhaps the files are reset after 1. I will go change that to 5 to see when it is. If anyone can see an error in my cronjob let me know though. Quote Link to comment Share on other sites More sharing options...
TCH-Rick Posted February 14, 2003 Share Posted February 14, 2003 Rather than using crontab or copying a a file I just tried changing the permissions of the .conf file to read only (444). I tried that yesterday morning and it didn't get overwritten this morning as it had previously. Quote Link to comment Share on other sites More sharing options...
KevinW Posted February 15, 2003 Share Posted February 15, 2003 Now aren't you the smart one to come up with an easier solution. Way to go! As your reward, you can take the rest of tonight off! -kw Quote Link to comment Share on other sites More sharing options...
shammer Posted February 15, 2003 Share Posted February 15, 2003 hmmm, well I guess that would work too . I noticed that the last update on my page this morning was at 5:46 so I changed the cronjob to 6. Guess I will be changing the perms on that file just in case. Quote Link to comment Share on other sites More sharing options...
TCH-Rick Posted February 15, 2003 Share Posted February 15, 2003 Yeah, the problem with trying to set up a cronjob is that the update time seems to drift forward which means eventually it would creep past the time you copied the file and would rewrite it. Looks like the easiest solution is the permission route. It's worked for me for over 24 hours now on two accounts. Quote Link to comment Share on other sites More sharing options...
shammer Posted February 15, 2003 Share Posted February 15, 2003 Thanks, I went ahead and did it your way. Quote Link to comment Share on other sites More sharing options...
section31 Posted February 15, 2003 Share Posted February 15, 2003 Great thread. I'm also in favor of enabling dns loockup on awstats...Great info guys... Quote Link to comment Share on other sites More sharing options...
Jimmy Legs Posted February 16, 2003 Author Share Posted February 16, 2003 yes, kudos to Rick for figuring this one out! my stats are remaining constant at long last. i gotta admit, one of the main reasons i chose TCH was because of these discussion boards. and here is the proof! Quote Link to comment Share on other sites More sharing options...
dukeblue219 Posted February 16, 2003 Share Posted February 16, 2003 Be aware though that CHMODing the file to 444 is dangerous, you will not be able to change the file ever again from your end! Make sure the file is setup as you like it before you do this! Quote Link to comment Share on other sites More sharing options...
Jimmy Legs Posted February 16, 2003 Author Share Posted February 16, 2003 i don't seem to have this problem, i just tried changing permissions and it worked. what are you using to CHMOD? i'm just using ws_ftp. Quote Link to comment Share on other sites More sharing options...
Head Guru Posted February 16, 2003 Share Posted February 16, 2003 Hi, Couple of issues with the chmod workaround. Its ok if you do that but I would advise against that fix. When you disallow the file to be updated you are essentially bypassing any updates to the stats file. Thus if my admin team trys to push a update for AWstats your left behind. So this could be a problem. For example we are pushing updates to AWstats soon because of a mandatory update required from Cpanel. Now, this means that everyone gets that update cept the clients who altered the permissions. Just my 2 cents. Quote Link to comment Share on other sites More sharing options...
TCH-Rick Posted February 16, 2003 Share Posted February 16, 2003 I was reluctant to post that message for the very reason Head Guru mentions. I left a subdomain .conf file alone and do check it from time to time to see if there has been an update. As for changing permissions, it is easy to go back and change them back to allow writing in the future but it's not a change that should be made if you are not willing to risk potential problems. Quote Link to comment Share on other sites More sharing options...
terbear0007 Posted February 16, 2003 Share Posted February 16, 2003 BOY... I thought I was "starting" to pick up a little bit off of these forums, but you guys have made me realize I am trying to read a "foreign" language. I wonder if I might get a few suggestions? I submitted an inquiry to the help desk, about not getting any stats on my AWstats page, and they looked into it and updated them manually. That has been done twice, by them, and they said they were aware of a problem and that they are working on it. They have always been great, but I hate to keep asking them to update my stats, but I really do need them. My question is this...how can "I" update my AWSTATS manually? And, please, if anyone is kind enough to answer me on this method, please be very specific and don't leave out any of the steps, ok? You guys have a fantastic forum and, obviously, some very knowledgeable participants. Thanks again, Terry Quote Link to comment Share on other sites More sharing options...
SEO Posted February 16, 2003 Share Posted February 16, 2003 Well I can answer you in theory ... but I am having difficulty in actual practice. Inside your tmp directory, you will find a directory called awstats (this is outside of your public_html directory). In here, you will see your config file (.conf) for awstats. If you look at this file, you will see there is good documentation on a number of good options including AllowToUpdateStatsFromBrowser, which is exactly what it says. Set this parameter to =1 (default is 0). Now that is the theory. Read the rest of the threads for potential problems ... not really problems but it seems that the config file gets rewritten each day. Again, read the other posts on this thread. Here is my 'in practice' problem ... the above sounds good (and apparently works for everyone) but I can not get the darn thing to change. I am using ws_ftp and I actually have two config files: awstats.conf and awstats.driedflowersdirect.com.conf. Now I have changed several parameters (e.g. DNS, Allow Update, Skip Hosts, etc.) and nothing is working. My stats are updated daily, the config files are changed and are stable (CHMOD 444) but nothing is taking affect. I just do not get it. What am I doing wrong? Thanks. Quote Link to comment Share on other sites More sharing options...
terbear0007 Posted February 16, 2003 Share Posted February 16, 2003 Back again... Well...thanks to Rickvz (advanced member), I am now up and running! I have an "update now" button on my awstats page and it works fine. Rick walked me through each step...and I want to publicly acknowledge his help. I'm not sure if I am opening up a can of worms here by posting the steps that he walked me through, but I am sure there are a lot of people out there who would love to know "step by step" how to get the "update now" button on their AWStats. So...here goes. (Rick...I hope this doesn't get you in any hot water...) First, go to your Cpanel and click on "file manager". Once in there, click on the "folder" beside the letters "Tmp". Then click on the folder besides the word "awstats". Then click on the file that says "awstats.your.site.conf" . Then go to the upper right of the page and click "edit file". A window will pop up. Scroll that window down till you get to... AllowToUpdateStatsFromBrowser=0" and change the "0" to a "1". Then go down to the bottom of the page and "save". I hope this helps someone and doesn't create a headache for Tech support or help desk! Best of luck to everyone, and special thanks to Rickvz for his help! Terry Quote Link to comment Share on other sites More sharing options...
SEO Posted February 16, 2003 Share Posted February 16, 2003 More kudos for Rick. Turns out that my changes using ws_ftp were not taking affect. Once I used the Cpanel's file manager, she worked perfectly. I still do not understand, everytime I looked at the config file with ws_ftp, the changes were there. Thanks Rick ... you the man! Quote Link to comment Share on other sites More sharing options...
Lianna Posted February 16, 2003 Share Posted February 16, 2003 No headaches/can of worms from Tech Support. I think Head Guru stated the position quite clearly: Its ok if you do that but I would advise against that fix. So, do as you like but know that we can't support it. If you miss updates, etc. because of a change that you've made, please don't expect that your subsequent request for update will be taken as a priority issue. Ok? Lianna Technical Support Services Quote Link to comment Share on other sites More sharing options...
SEO Posted February 17, 2003 Share Posted February 17, 2003 I think Head Guru stated the position quite clearly I think that TCH's position is very clear. It is just that there is so much flexibility built into the awstat config file, which I (and others) would love to utilize. Besides the obvious (DNS lookup, SkipHost, etc.), I plan to reconfigure the appearance to give it more of a 'My Company' look (colors, logos, etc.). It would be nice if these changes were static (i.e. 444) ... you know save time. Maybe in the future you could post that an update is coming? That way we could all 'adjust'. Asking too much? Quote Link to comment Share on other sites More sharing options...
Lianna Posted February 17, 2003 Share Posted February 17, 2003 No, I don't think that it's too much to ask to communicate changes that will impact our customers. Factly, I think that's why I like TCH so much. Because communication is very important and it goes both ways. Give us some time to figure out the best way to handle this ok? Thanks for all of your input and ideas everyone. Lianna Quote Link to comment Share on other sites More sharing options...
KevinW Posted February 17, 2003 Share Posted February 17, 2003 Terry, No real trade secrets with AWSTATS. The information Rick gave you was previously identified, and is even posted in the AWSTATS web site site. At issue, though, is how to allow someone to maintain such modifications without restricxting TCH's ability to push future AWSTATS down to each of us. As TCH is currently looking at the features of the various STATS package, I'm sure we'll take into consideration such issues as has been raised here. Stay tuned ... as they say ... for more! kw Quote Link to comment Share on other sites More sharing options...
TCH-Rick Posted February 17, 2003 Share Posted February 17, 2003 Hard to believe a two line post has expanded into the topic with the most replies on the board. I lost power last night about 7:30 and was offline until it was restored this afternoon. Thought I might be able to catch up this morning but when we got the the church where my wife works the cable modem was out there as well. Hope you are all safe and warm. The power keeps blinking on and off here so we'll see how the night goes. Quote Link to comment Share on other sites More sharing options...
shammer Posted February 18, 2003 Share Posted February 18, 2003 Lianna, since the awstats config file is the only one we are changing permissions to and that file is recreated daily, wouldn't the updates for the software go through just fine and then we would only have to change the perms for a day to allow the new config file to be rewritten and then change the options then? Or would it be possible for us to just install it at the domain level rather than the server level? I love awstats but I do not want to have to redo the customizing every day. Quote Link to comment Share on other sites More sharing options...
Lianna Posted February 18, 2003 Share Posted February 18, 2003 Guys, I'm not the one to answer this, but: AWStats is a part of the cpanel package that is offered here. It is and will be installed at the server level. There is no way that we could viably install software per domain and not exhaust our resources. I am going to ask again, please let us devise a plan that will most effectively meet the needs of our clients and at the same time not completely kill us. OK? Please be patient. Thank you. Lianna Quote Link to comment Share on other sites More sharing options...
michéal Posted April 26, 2005 Share Posted April 26, 2005 I tried to update the awstats config file into my tmp/awstats so that it will skip my ip but it wont allow me. Am I updating the right file or is the file located somewhere else. Quote Link to comment Share on other sites More sharing options...
TCH-Bruce Posted April 26, 2005 Share Posted April 26, 2005 Is the file write protected? What are the permissions on the awstats.your-TCH-domain.conf fle? This is the file you need to edit. And after you enter your IP address into the config file and save it you will need to make the file read only. Set the permissions to 444. Quote Link to comment Share on other sites More sharing options...
michéal Posted April 26, 2005 Share Posted April 26, 2005 Bruce the permissions are at 444, I was able to do it last week but my IP changed and I wanted to update the file. 1 of my sites was allowing me to update and the other was not but now the 2 of them wont allow me to update. Quote Link to comment Share on other sites More sharing options...
TCH-Bruce Posted April 26, 2005 Share Posted April 26, 2005 Ok, you need to change the file to 644 to edit it and then back to 444 after you are done. Quote Link to comment Share on other sites More sharing options...
michéal Posted April 26, 2005 Share Posted April 26, 2005 Bruce thank you just updated both my sites thanks again Quote Link to comment Share on other sites More sharing options...
TCH-Bruce Posted April 26, 2005 Share Posted April 26, 2005 Glad I could help Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.