[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] webilizer help
- Subject: RE: [cobalt-users] webilizer help
- From: "Paul Brown" <paulb@xxxxxxxxxxxx>
- Date: Mon Jan 27 07:59:01 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
<snip>
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.
</snip>
Andy, why do I have to copy and paste it as opposed to just changing it?
Also how do I now delete all the /home/sites/sitexx/web/stats/ folders?
Cheers
Paul