kitsch Posted January 2, 2005 Posted January 2, 2005 Hello, What I'm trying to do is exclude my (static, cable) IP completely from the web server logs. As I understand this could be accomplished by using .htaccess. Or? Why? Because I check the latest visitors link in the CP quite often and if I made any visits to the the sites I must skip to this looong list of files accessed from my own IP and only afterwards I can see the hits made by other visitors. A workaround could be to enable manual updating for AWStats and exclude myself from those stats (I already made the necessary modifications to the awstats.conf file) but I don't want to put too much strain on your servers by updating the stats every two hours or so (even if my site had kind of a low traffic)... Thanks in advance for your help. And since this is my first post here on the forums let me just say that: Quote
TCH-Bruce Posted January 2, 2005 Posted January 2, 2005 Welcome to the family and forums. I'm sure someone will be along with a suggestion. Quote
andreaplanet Posted January 8, 2005 Posted January 8, 2005 use the direct ip (not the domain name) when you access your web site. in that case its not logged... any other solution would probably need a specific support from TCH. Quote
TCH-Don Posted January 8, 2005 Posted January 8, 2005 Welcome to the Family and your new home! We really are like family here. So if you need anything, just ask your new family! We love to help Quote
TCH-Dick Posted January 8, 2005 Posted January 8, 2005 Since you have a static IP this can be done with ease. In the home directory go to /tmp/awstats. You will find a file named awstats.yoursite.com.conf, if you have subdomains there will also be files named awstats.sub.yoursite.com.conf. Open each of these files and find this section ># 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="" Change SkipHosts="" to SkipHosts="y.ou.r.ip" Save each file back to your site and set the permissions for each to 444. If you don't set the permissions then the changes will be overwritten when the server updates. Quote
kitsch Posted January 9, 2005 Author Posted January 9, 2005 I made these modifications myself. Regarding AWStats I mean. I was wondering if there's a way to exclude myself from the 'Latest visitors' page that's accessible from CP. Quote
kitsch Posted January 9, 2005 Author Posted January 9, 2005 Oh, and thanks for your welcome messages. I have 2 domains parked on your servers (1 is more than 1 year old) and everything is working absolutely flawlessly. Touch wood. Quote
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.