[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Webalizer problem solved!!!!
- Subject: [cobalt-users] Webalizer problem solved!!!!
- From: "L. James Prevo" <president@xxxxxxxxx>
- Date: Sun Oct 8 09:25:00 2000
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
For those having problems with Webalizer with the following problems, I came
up with a way that solves them.
1. Not able to publish with FrontPage
2. Not able to Turn off and not have stats for a users site
3. Having to Chmod and Crown Front Page users sites for them to publish.
I started thinking, why not have the stats in the "users" directory
that way it would not interfere with Frontpage when your users publish
I did a test on this and it works great.
I created a directory in the users directory called stats
I changed the following lines in webalizer.pl to the following
before:
$webpath = "$prefix/$asite/web";
$thepath = "$prefix/$asite/web/stats";
After:
$webpath = "$prefix/$asite/users/stats";
$thepath = "$prefix/$asite/users/stats/web";
All you need to do is create a directory called "stats" in
in the site's user directory.
The stats then show up when you goto http://domainname.com/~stats
This eliminates the problem with Frontpage and second, if you
didn't want a site to generate a report, you would not put
a stats directory in their users directory. You will however
get a email saying "error: unknow directory" in your admin
email. But you could discard it. The email is good to see
what sites are not getting the stats generated.
Just thought I would share this with everyone.
Only draw back, you can't have a user called stats, but who
would anyways.
L. James Prevo
President
The Prevo Network
http://www.prevo.net
"The Place Where We Unlock Your Doors to the Net!"