From owner-freebsd-questions Thu Nov 28 22:45:51 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA01378 for questions-outgoing; Thu, 28 Nov 1996 22:45:51 -0800 (PST) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id WAA01373 for ; Thu, 28 Nov 1996 22:45:50 -0800 (PST) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.3/8.6.12) with SMTP id WAA06895; Thu, 28 Nov 1996 22:48:44 -0800 (PST) Date: Thu, 28 Nov 1996 22:48:43 -0800 (PST) From: Doug White Reply-To: dwhite@resnet.uoregon.edu To: WebMaster cc: questions@FreeBSD.org Subject: Re: Questions about the logs archives !!! In-Reply-To: <329E1C37.3A20@secadmon.jalisco.gob.mx> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk 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