From owner-freebsd-questions@FreeBSD.ORG Tue Jul 20 13:55:21 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F2C21065675 for ; Tue, 20 Jul 2010 13:55:21 +0000 (UTC) (envelope-from ryan.coleman@cwis.biz) Received: from qmta05.emeryville.ca.mail.comcast.net (qmta05.emeryville.ca.mail.comcast.net [76.96.30.48]) by mx1.freebsd.org (Postfix) with ESMTP id 3A0008FC15 for ; Tue, 20 Jul 2010 13:55:21 +0000 (UTC) Received: from omta09.emeryville.ca.mail.comcast.net ([76.96.30.20]) by qmta05.emeryville.ca.mail.comcast.net with comcast id kCv11e0010S2fkCA5DiAqN; Tue, 20 Jul 2010 13:42:10 +0000 Received: from [10.0.1.9] ([76.113.183.74]) by omta09.emeryville.ca.mail.comcast.net with comcast id kDi81e00D1cjQTw8VDi9ew; Tue, 20 Jul 2010 13:42:10 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1081) From: Ryan Coleman In-Reply-To: Date: Tue, 20 Jul 2010 08:42:08 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: User Questions X-Mailer: Apple Mail (2.1081) Subject: Re: custom log in website folder X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2010 13:55:21 -0000 Assuming you're running apache make the virtualhost directive for the = domain look something like this: ServerName domain.com ServerAlias www.domain.com DocumentRoot /usr/local/v/site/logs/domain.com/htdocs/ CustomLog = /usr/local/v/site/logs/domain.com/logs/access_log "combined" ErrorLog /usr/local/v/site/logs/domain.com/logs/error_log Make the changes to the * if you need to and the domains. -- Ryan On Jul 20, 2010, at 6:18 AM, Zbigniew Szalbot wrote: > Dear all, >=20 > All my website logs are in /var/log but one user would like to have > access to a custom log specific to his site. Sites are in > /usr/local/v/ >=20 > How can I make /var/log/custom.log available to him in = /usr/local/v/site/logs/? >=20 > Does it need a symlink? But will he be able to read the log if it is > only a symlink to /var/log/custom.log? >=20 > I'd appreciate your suggestions and sorry for asking a basically > non-freebsd related question but this community has always been a > wonderul source of inspiration and help. >=20 > Thank you! >=20 > Zbigniew Szalbot > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org"