[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] webilizer help
- Subject: Re: [cobalt-users] webilizer help
- From: "Andy Ross" <andy@xxxxxxxxxxxxxxxxx>
- Date: Thu Jan 23 01:11:00 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Oops, missed something. You also need to do the following :-
Look for the following :-
# Create a directory /web/stats if it isn't there yet
if (!-d $thepath)
{
mkdir $thepath, 775;
chown 0, $gid, $thepath;
chmod 0755, $thepath;
}
You need to copy this and paste it so that you have a duplicate. Now change
the first one to read :-
# Create a directory /users/stats if it isn't there yet
if (!-d $webpath)
{
mkdir $webpath, 775;
chown 0, $gid, $webpath;
chmod 0755, $webpath;
}
Now change the comment in the next block so that it reads :-
# Create a directory /stats/web if it isn't there yet
This last bit isn't absolutely necessary, but it makes sense that the
comments in the code actually refelect what the code is doing.
Hope this helps.
Andy.
----- Original Message -----
From: "Andy Ross" <andy@xxxxxxxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Thursday, January 23, 2003 8:59 AM
Subject: Re: [cobalt-users] webilizer help
> I had this problem too. You need to edit webalizer.pl (this is in
> /etc/cron.daily by default).
>
> Look for the following two lines :-
>
> $webpath = "$prefix/$asite/web";
> $thepath = "$prefix/$asite/web/stats";
>
> Change them to :-
>
> $webpath = "$prefix/$asite/users/stats";
> $thepath = "$prefix/$asite/users/stats/web";
>
> That should do it.
>
> Andy.
>
> ----- Original Message -----
> From: "Paul Brown" <paulb@xxxxxxxxxxxx>
> To: <cobalt-users@xxxxxxxxxxxxxxx>
> Sent: Tuesday, January 21, 2003 4:27 PM
> Subject: [cobalt-users] webilizer help
>
>
> > Hi All
> >
> > Recently I had to reinstall my raq4.....
> >
> > Before I had webilizer running ok, it was accessible by going to
> > www.mydomain.com/~stats/
> >
> > After the reinstall all the files webilizer files (.png's etc) where all
> > still in the correct directories etc.
> >
> > Next I installed the latest webilizer listed @ pkgmater.com but this
> > installed the stats at www.mydomain.com/stats/.
> >
> > This I don't want...I want stats accessible via /~stats/ like before,
> > anyone know how I can do this and also delete whats at /stats/ as it
> > messes up site synchronisation in Dreamweaver.
> >
> > Kind Regards
> >
> > Paul Brown
> >
> >
> > _____________________________________
> > cobalt-users mailing list
> > cobalt-users@xxxxxxxxxxxxxxx
> > To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
> > http://list.cobalt.com/mailman/listinfo/cobalt-users
> >
> >
>
>
> _____________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>
>