Chris Biagini 0 Posted April 25, 2004 Share Posted April 25, 2004 Hi everyone. I'm new to this whole web hosting thing, but so far TCH has really been great. I very much appreciate these forums! Anyway, is there any way to filter hits from my own computer from being recorded by AWStats? I see this in the conf file: ># Do not include access from clients that match following criteria. # If your log file contains IP adresses in host field, you must put here # matching IP adresses criteria. # If DNS lookup is already done in your log file, you must put here hostname # criteria. # Note: Use space between each value. # Example: "127.0.0.1 163.84. 201.101.51.1" # Example: "localhost abcxyz" # Default: "" # SkipHosts="" Which seems great, but I was hoping to avoid having to put my actual IP in there, since it changes every so often. The "localhost" bit seems promising, but I've tried every permutation of "Christopher-Biaginis-Computer.local" I can think of, and I still show up in the traffic reports. This fact, combined with the fact that the novelty of having my own domain name causes me to click it every 30 seconds, results in some very inaccurate logs! I'd appreciate any help you folks can offer! Quote Link to post Share on other sites
TCH-Rob 0 Posted April 25, 2004 Share Posted April 25, 2004 I havent had a dynamic IP in a few years but have you tried 127.0.0.1? How about the first 2 of the IP range you are given, the 127.0 part? Wouldn't be perfect as it would stop everyone from your ISP to be counted. I will see if I can find anything else. Quote Link to post Share on other sites
Chris Biagini 0 Posted April 25, 2004 Author Share Posted April 25, 2004 Thanks for the quick reply! I hesitated to include anything generic like "127.0.0.1" or "localhost" since every computer refers to itself by those, right? I tried them, though, and they didn't work.. I can type "http://christopher-biaginis-computer.local/" into my web browser and I get the page that my own computer is serving. I was hoping that this was good enough to identify my computer to AWStats, but I guess not. It's not a huge deal, really. Thanks much for your help, though! I'm a student and I like to learn about this stuff Quote Link to post Share on other sites
TCH-Rob 0 Posted April 25, 2004 Share Posted April 25, 2004 Ok, looks like if you have your IP assigned that the only way for awStats to skip you is by putting ^xxx.xxx. as in the example directly above SkipHosts. And yes, this will skip all or most of your ISP. Quote Link to post Share on other sites
Chris Biagini 0 Posted April 25, 2004 Author Share Posted April 25, 2004 Ok, looks like if you have your IP assigned that the only way for awStats to skip you is by putting ^xxx.xxx. as in the example directly above SkipHosts. And yes, this will skip all or most of your ISP. Fair enough. Thank you Quote Link to post Share on other sites
TCH-Rob 0 Posted April 25, 2004 Share Posted April 25, 2004 Any time. Keep checking back every now and again the next day or so in case someone knows something I do not. Quote Link to post Share on other sites
borfast 0 Posted April 25, 2004 Share Posted April 25, 2004 Chris, you are correct, 127.0.0.1 and localhost refer to the computer itself, not another computer on the network. If you use those on the SkypHosts If you have a dynamic IP address, you don't have a way to keep yourself from being tracked by AWStats. Unless, as Rob said, you are willing to sacrifice a lot of your ISP clients' visits to your site. Quote Link to post Share on other sites
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.