Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Nov 1996 22:48:43 -0800 (PST)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        WebMaster <webmaster@secadmon.jalisco.gob.mx>
Cc:        questions@FreeBSD.org
Subject:   Re: Questions about the logs archives !!!
Message-ID:  <Pine.BSI.3.94.961128224716.6734P-100000@gdi.uoregon.edu>
In-Reply-To: <329E1C37.3A20@secadmon.jalisco.gob.mx>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 28 Nov 1996, WebMaster wrote:

> Hi, i wiil like to know how do i replace a new Access_log instead of the 
> one i had, is very big i i do not have much space to edit it.

If you don't want it anymore, note the owner, group, and permissions on
the old file, then do:

rm access_log
touch access_log
chown owner:group access_log
chmod u+w access_log

> I erase the error_log, but i create a new one but it doesn4t write on it.

You need to put a 0-length file there before apache will remake it.  use
the 'touch' command to make one.

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.94.961128224716.6734P-100000>