- 1,233 categories
- 40,621 scripts
Updated: 06/20/2005
- UNIQUE VISITORS - A very simple utility to parse Apache log files and print a listing of unique visiting domains. Copyleft 2005 - Nathan E. Pralle
DESCRIPTION: This utility parses an Apache log file and determines how many unique domains visited your site, then compiles a list of them (good for directing to an email or logfile).
It uses a cache file to speed up the process as well (not having to do DNS lookups all the time). It only handles the first level of a domain, IE: blah.mchsi.com and dink.mchsi.com will just be listed as 2 entries from mchsi.com.
SYNTAX: perl unique_visitors.pl &<days&>
Where &<days&> is the number of days back you want to look. I usually run mine at 12:30am and use a ''1'' to get the previous day.
EXTRA: You must have a file available called &"unique_domains.dat&& quot; in the same location as this binary and chmod''ed to 777. This is the cache file for this binary. I recommend:
''touch unique_domains.dat;chmod 777 unique_domains.dat''
- Categories
- Tags
- Platforms
- Licenses
- Author
- This perl module provides an Active Server Pages port to the Apache Web Server with perl as the host scripting language. This module works under the Apache Web Server with the mod_perl module enabled. This is a portable solution, similar to ActiveSta...
- This is documentation for installing Apache 1.3.9, PHP 3.011, Perl 5.00502 and MySQL 3.21.29, but should work with ANY recent (or more recent) versions of this software. It also includes links for all the required modules and programs.
- CookieStats is a small perl script that scans the cookies_log generated by Apache and produces a list of accessed pages and unique cookies. This has the effect of screening out duplicate accesses by single browsers and gives a relatively hard lower l...
- RefStats is a small perl script that scans the refered_log or ECLF format access_log generated by NCSA httpd 1.4/1.5 or Apache and produces a list summarizing what referring URLs were reported by browsers, with a count of the number of times each ref...
- BrowserCounter is a small perl script that scans the agent_log generated by NCSA httpd 1.4/1.5 or Apache and produces a table summarizing what browsers people have used to access a web server.