Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Sep 2003 10:21:03 +0200
From:      "Simon L. Nielsen" <simon@FreeBSD.org>
To:        daniel.collins@earthlink.net
Cc:        www@freebsd.org
Subject:   Re: Code exposure on www5.us.freebsd.org
Message-ID:  <20030924082101.GA411@FreeBSD.org>
In-Reply-To: <19987055.1064380659428.JavaMail.root@bert.psp.pas.earthlink.net>
References:  <19987055.1064380659428.JavaMail.root@bert.psp.pas.earthlink.net>

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

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

On 2003.09.24 01:17:38 -0400, daniel.collins@earthlink.net wrote:

> When I went to the following URL : http://www5.us.freebsd.org/cgi/query-p=
r-summary.cgi?query=20
>=20
> The server returned to me the contents of the script instead of executing=
 it, e.g.=20
>=20
> #!/usr/bin/perl -T
> # $FreeBSD: www/en/cgi/query-pr-summary.cgi,v 1.40 2003/09/02 09:46:27 do=
ugb Exp $
[cut]

> I don't know if this is just a transient issue with your server
> configs or if this is something I should have PR'd but I hope I'm
> sending this to the right place and somebody finds it usefl. This seemed
> to work properly on www.freebsd.org, but I haven't tried any of the
> other mirrors.

None of the mirrors are expected to run the cgi scripts, so it's more or
less intentional.  The code exposure is not really a problem, since all
the scripts are already available in the public viewable CVS tree.

> BTW, is there an easy way to write that header line with the version
> and date in it?  I'd like to use those in my critical files as well.

Just use CVS, and it can automatically update tags each time file file
is updated (when it is committed to it's CVS repository).

--=20
Simon L. Nielsen
FreeBSD Documentation Team

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/cVPth9pcDSc1mlERAqthAJ4yjHaIhqDk76ckTnQv5HWGaz+3ZACfQUnB
kdg/T5JSW+cR7AfIVNgEnxc=
=dQO9
-----END PGP SIGNATURE-----

--sdtB3X0nJg68CQEu--



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