Go Back   HostGator Peer Support Forums > General Discussion > Webhosting

Notices

Reply
 
Thread Tools
  #1  
Old 03-03-2006, 02:58 AM
transmothra transmothra is offline
Hatchling Croc
 
Join Date: Jan 2006
Posts: 9
Question Awstats question re: hits from self

is there some way to hack Awstats to not show hits from my own IP? i mean, i know that it is technically possible, but is it easily possible? thanks in advance for any input!
Reply With Quote
  #2  
Old 03-03-2006, 05:59 AM
quietFinn's Avatar
quietFinn quietFinn is offline
Veteran Croc
 
Join Date: Feb 2005
Posts: 3,553
Default Re: Awstats question re: hits from self

Quote:
Originally Posted by transmothra
is there some way to hack Awstats to not show hits from my own IP? i mean, i know that it is technically possible, but is it easily possible? thanks in advance for any input!
in /tmp/awstats there is a file awstats.yourdomain.com.conf (yourdomain.com is the domain you use)

find entry SkipHosts=""

above that you see examples how to use it.
__________________
quietFinn - netFinn Finland
"Be who you are and say what you feel because those who mind don't matter and those who matter don't mind." - Dr. Seuss
Reply With Quote
  #3  
Old 03-04-2006, 02:12 AM
transmothra transmothra is offline
Hatchling Croc
 
Join Date: Jan 2006
Posts: 9
Thumbs up Re: Awstats question re: hits from self

thank you, quietFinn, that helped me out tremendously!
Reply With Quote
  #4  
Old 01-11-2007, 10:18 PM
mv808 mv808 is offline
Hatchling Croc
 
Join Date: Nov 2006
Posts: 33
Default Re: Awstats question re: hits from self

I tried this last month, and it worked. I just checked my visitor stats today, and noticed my ip in there. I went to check that file, and now it shows SkipHosts="". Why is it empty now?
Reply With Quote
  #5  
Old 01-12-2007, 03:54 AM
Hadoken's Avatar
Hadoken Hadoken is offline
Baby Croc
 
Join Date: Feb 2006
Posts: 56
Default Re: Awstats question re: hits from self

Hello,
I had the same issue, it's because the file is regenerated everyday.

So I contacted the support, first they ask me to put the file on /home/username/ directory, but it didn't work with me.
So, the support asked me if they can 'chattr +i' this file, this mean that it can't be modified or overwritten... And if I want to modify it, then I have to ask them to remove this "chattr" behavior. I accepted, and now everything is fine

So, I suggest to copy your conf file at the root of the FTP (/home/username/). If it doesn't work put back the file on tmp (with your modified value), and ask Hosgator to "chattr +i" this file.

Hope it will help,

Cya later,
Hadoken
Reply With Quote
  #6  
Old 04-07-2007, 01:53 AM
Hadoken's Avatar
Hadoken Hadoken is offline
Baby Croc
 
Join Date: Feb 2006
Posts: 56
Default Re: Awstats question re: hits from self

Hello,
Here is a little update :

Some weeks ago, I had to change the ip on "SkipHosts" line, so I asked nicely to the support for removing the "chattr+i" behavior. They did it and when I made all modification on the conf file, I asked to "chattr+i" the file (explaining why we have to do this). They did it very quickly.

Cya later.
Best regards,
Hadoken
Reply With Quote
  #7  
Old 04-08-2007, 12:12 AM
aywang31 aywang31 is offline
Hatchling Croc
 
Join Date: Jul 2006
Posts: 4
Default Re: Awstats question re: hits from self

I have a dynamic IP. What would I put?
Reply With Quote
  #8  
Old 04-08-2007, 09:35 AM
Serra's Avatar
Serra Serra is offline
Veteran Croc
 
Join Date: Feb 2005
Location: Orange Park, FL
Posts: 5,073
Default Re: Awstats question re: hits from self

Quote:
Originally Posted by aywang31 View Post
I have a dynamic IP. What would I put?
Skiphosts accepts regex:

SkipHosts="REGEX[^123\.123\.123\.]"

Just put in the first three octets of your IP.
__________________
Six stages of Dedi Ownership

Fashionable broken link
image included
Reply With Quote
  #9  
Old 04-12-2007, 05:04 PM
Hostalot Hostalot is offline
Baby Croc
 
Join Date: Mar 2007
Posts: 92
Thumbs up Re: Awstats question re: hits from self

Interesting stuff. I wrote this down in a blog post about excluding an ip in Awstats.
__________________
A review directory of cheap web hosting providers
Read my Hostgator review before you sign up
Listings of the cheapest web hosting providers
Reply With Quote
  #10  
Old 04-16-2007, 08:56 PM
charlesgan's Avatar
charlesgan charlesgan is offline
Swamp Croc
 
Join Date: Mar 2007
Location: http://www.hostgatorreview.org/
Posts: 372
Default Re: Awstats question re: hits from self

cheap-webhosting ??
hostgator is not cheap thing!
__________________
Charles Gan
Hostgatorreview.org
Reply With Quote
  #11  
Old 04-17-2007, 07:55 AM
Hostalot Hostalot is offline
Baby Croc
 
Join Date: Mar 2007
Posts: 92
Default Re: Awstats question re: hits from self

Lol, well if itīs below $10 a month I call it cheap. By the way, chmodding 444 the conf file wonīt work. Apparently you always need to get support involved
__________________
A review directory of cheap web hosting providers
Read my Hostgator review before you sign up
Listings of the cheapest web hosting providers
Reply With Quote
  #12  
Old 04-22-2007, 07:35 PM
Dimwhit Dimwhit is offline
Hatchling Croc
 
Join Date: Feb 2007
Posts: 41
Default Re: Awstats question re: hits from self

With this, are you referring to the website's own IP? That's the problem I'm having. Most of the referrals listed to my site are from various pages and images from my own site. That doesn't help much. Problem is, I want to change this on ALL the sites I host, and I want to do it with not just Awstats, but Webalizer and the others.

Is there a system-wide setting that can be used?
Reply With Quote
  #13  
Old 04-23-2007, 08:54 AM
Hostalot Hostalot is offline
Baby Croc
 
Join Date: Mar 2007
Posts: 92
Default Re: Awstats question re: hits from self

no system wide setting that I know of. For AWStats just put localhost in the SkipHosts paramter and you should be fine.
__________________
A review directory of cheap web hosting providers
Read my Hostgator review before you sign up
Listings of the cheapest web hosting providers
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 04:16 AM.