Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jul 2010 12:27:29 +0100
From:      Daniel Bye <freebsd-questions@slightlystrange.org>
To:        User Questions <freebsd-questions@freebsd.org>
Subject:   Re: custom log in website folder
Message-ID:  <20100720112729.GB82621@catflap.slightlystrange.org>
In-Reply-To: <AANLkTilyn1hPVUaLXYEhJJnjZtRmlPlASuXync1XP497@mail.gmail.com>
References:  <AANLkTilyn1hPVUaLXYEhJJnjZtRmlPlASuXync1XP497@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--kORqDWCi7qDJ0mEj
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jul 20, 2010 at 01:18:50PM +0200, 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.

You can probably configure your web server to write separate logs for=20
each site you host. That way, you don't need to expose the entire log=20
data to each user - each will see only what's relevant to their site.
How you do this depends on the web server you use, of course. You should
also be able to have the log files written to your preferred location.

Dan

--=20
Daniel Bye
                                                                     _
                                              ASCII ribbon campaign ( )
                                         - against HTML, vCards and  X
                                - proprietary attachments in e-mail / \

--kORqDWCi7qDJ0mEj
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (FreeBSD)

iEYEARECAAYFAkxFiCEACgkQixf5fBYiFmrMVACfWCNk3oJzan8r04t4fOvwiAaw
nvMAn0TdnBLK8Vs6V1cisDUFXXim258x
=CR+w
-----END PGP SIGNATURE-----

--kORqDWCi7qDJ0mEj--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100720112729.GB82621>