Go Back   HostGator Peer Support Forums > Public Forums > Pre-Sales Questions

Notices

Reply
 
Thread Tools
  #1  
Old 10-07-2004, 07:51 AM
Coupland Coupland is offline
Hatchling Croc
 
Join Date: Oct 2004
Posts: 2
Default Counter

Well, this isn't a pre-sales question but I can't find an area to post tech questions. I'm setting up the counter included within the control panel. I've used this counter before on my own server so I'm a bit familiar with it. Is there a way to configure the included counter to only count unique hits and disable it from counting my IP address? I believe this was done in the config file but I suppose the config file is shared per server on the hosted scripts.

I think the answer is that I will have to install the counter in my own CGI directory but would like to use the hosted one if at all possible. Anyone got any ideas? Thanks!

Coupland
Reply With Quote
  #2  
Old 10-07-2004, 10:38 AM
GatorBen
HostGator Guest
 
Posts: n/a
Default Re: Counter

I haven't heard of the ability to have it do this so I'm thinking you will have to probably download a custom counter and install it on just your site, here are some sites you can find some good ones at:

http://www.statcounter.com/ <--- very nice one

http://www.scriptarchive.com/textcounter.html

http://php.resourceindex.com/Complet...cess_Counters/
Reply With Quote
  #3  
Old 10-10-2004, 07:59 PM
Coupland Coupland is offline
Hatchling Croc
 
Join Date: Oct 2004
Posts: 2
Default Re: Counter

This is the config file for the preconfigured counter. If I could get one IP in there and have it set to reload that would work. If not I guess I'll just figure out how to set it up.

###-----------------------------------------------------------------------
### configuration file for Count 2.5
### Automatically generated from user input by the script Gen-conf
### created on: Sun Jan 3 18:15:01 EST 1999
### Note: Configuration file format for Count 2.5 is different than
### older versions. -- mm
### The format of the file is described below:
### - Any line starts with # or ; is considered comment and ignored.
### - A section in the file is inside left and right bracket.
### - Each section has parameters below the section.
###
### Please read the Configuration section in the counter webpage for details.
### The official counter homepage is at URL:
### http://www.fccc.edu/users/muquit/Count.html
###----------------------------------------------------------------------

[version]
2.5

##-- options section
; If auto_file_creation=Yes, then the users can create data files. It IS
; dangerous to set this option to Yes.
#
; strict_mode=Yes or No. Run the program in strict mode or not. It's a good
; idea to set this option to Yes.
#
; allow_rgb_database=Yes or No. Convenient to use because colorname e.g., red,
; gold etc can be used instead of rgb components of the color, however it is
; very inefficient to lookup. If your site is busy, set this option to No.
#
; count_reload=Yes or No. It is a good idea to set this option to No. But
; you've to set this option to Yes if you are running a proxy server.
; Normally set this to Yes.
#
; log_error_messages=Yes or No. If your site is extremely busy and if the
; counter generates lots of logs, set this option to No. Normally set this
; option to Yes.
#
; show_error_messages_to_browsers=Yes or No. Set this option to No if you're
; concerned with privacy and you're sure that the counter works perfectly.
; If you set this option to No, you will not see error messages.

[options]
auto_file_creation=No
strict_mode=Yes
allow_rgb_database=Yes
count_reload=No
log_error_messages=Yes
show_error_messages_to_browsers=Yes

; You can specify IP address of the hosts you want to ignore from counting.
; netmasks can be used to ignore a entire network or a specificrange of
; hosts in the network. Read the counter documentation to know about
; netmasks. Wild card can be used as well. one item per line.
;
[ignore IPs]

;
; All possible names and IP addresses by which your host can be referred.
; These hosts can access the counter remotely or locally. Host running
; the http server must exist here. Wild card can be used. one item per line.
;
[authorized]
*.bar.com
abcd.foo.com
abcd
131.249.1.100
www.foo.com
www
test.counter.com

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 Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
could not write to counter file surfergirl Pre-Sales Questions 5 11-06-2003 07:55 AM

All times are GMT -6. The time now is 11:08 AM.

 
Forum SEO by Zoints