From owner-freebsd-questions Fri Nov 29 00:22:17 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA07640 for questions-outgoing; Fri, 29 Nov 1996 00:22:17 -0800 (PST) Received: from zwei.siemens.at (zwei.siemens.at [193.81.246.12]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id AAA07632 for ; Fri, 29 Nov 1996 00:22:14 -0800 (PST) Received: from sol1.gud.siemens.co.at (root@[10.1.143.100]) by zwei.siemens.at (8.7.5/8.7.3) with SMTP id JAA05977 for ; Fri, 29 Nov 1996 09:21:19 +0100 (MET) Received: from ws2301.gud.siemens.co.at by sol1.gud.siemens.co.at with smtp (Smail3.1.28.1 #7 for ) id m0vTOB6-0001y2C; Fri, 29 Nov 96 09:20 MET Received: by ws2301.gud.siemens.co.at (1.37.109.16/1.37) id AA011115572; Fri, 29 Nov 1996 09:19:32 +0100 From: "Hr.Ladavac" Message-Id: <199611290819.AA011115572@ws2301.gud.siemens.co.at> Subject: Re: Questions about the logs archives !!! To: dwhite@resnet.uoregon.edu Date: Fri, 29 Nov 1996 09:19:32 +0100 (MEZ) Cc: webmaster@secadmon.jalisco.gob.mx, questions@FreeBSD.org In-Reply-To: from "Doug White" at Nov 28, 96 10:48:43 pm X-Mailer: ELM [version 2.4 PL24 ME8a] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk E-mail message from Doug White contained: > 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 Or: su root cp /dev/null access_log /Marino > > > 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 > >