[Linux-disciples] Systemwide cgi-bin

Dylan Thurston linux-disciples@bostoncoop.net
Mon, 6 Oct 2003 19:38:55 -0400


--M9NhX3UHpAaciwkO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Mon, Oct 06, 2003 at 07:24:43PM -0400, Stephen R Laniel wrote:
> Now I notice that blosxom expects me to be using a systemwide cgi-bin
> directory, namely /usr/lib/cgi-bin. Since I'm running multiple sites on
> my machine, any of which could have its own cgi-bin, it seems silly to
> make this a systemwide setting. But since blosxom installed to
> /usr/lib/cgi-bin, and any upgrades will go there, I decided that I'd just
> symlink /usr/lib/cgi-bin/blosxom from within laniels.org's cgi-bin
> directory (namely ~/public_html/cgi-bin). Is this a good idea? Is there a
> better approach?

Sounds reasonable to me: that way, you can use the same cgi-bin binaries
for multiple sites, while still restricting which cgi-bin scripts are
available on each site.

Alternatively, for added security, you could run each site from within a
chroot jail.

Peace,
	Dylan

--M9NhX3UHpAaciwkO
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/gf0PVeybfhaa3tcRApc4AJ43igEFARiWcPdqrPeivzq7//VhigCeM5fa
wLgNBvSeblLisNmWa3n5XAY=
=ZDTd
-----END PGP SIGNATURE-----

--M9NhX3UHpAaciwkO--