Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 May 2006 16:56:38 +0200
From:      Clement Laforet <sheepkiller@cultdeadsheep.org>
To:        Lupe Christoph <lupe@lupe-christoph.de>
Cc:        ports@freebsd.org, pav@freebsd.org
Subject:   Re: HEADS UP for maintainers of web applications
Message-ID:  <20060511145638.GA86574@goofy.cultdeadsheep.org>
In-Reply-To: <1147356487.4463454775612@buexe.b-5.de>
References:  <1147338576.799.9.camel@pav.hide.vol.cz> <1147356487.4463454775612@buexe.b-5.de>

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

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

On Thu, May 11, 2006 at 04:08:07PM +0200, Lupe Christoph wrote:
> Quoting Pav Lucistnik <pav@freebsd.org>:
>=20
> > it will soon become mandatory to stop installing web applications into
> > Apache specific directories, like ${PREFIX}/www/data,
> > ${PREFIX}/www/cgi-bin etc.
>=20
> > All web applications should be now installed into ${PREFIX}/www/appname.
> > Please keep it in mind when preparing your next port update.
>=20
> Are you saying that a cgi-bin should go into ${PREFIX}/www/appname, too?
> That would require the sysadmin to set ExecCGI for all of ${PREFIX}/www.

No. cgi-bin should live in ${PREFIX}/www/cgi-bin. It's currently
handled by HTTP server ports. It will be possible to rely on future
www/webbase to keep this directory out of server port. I should commit
it tommorrow. BTW, accessible files (not CGI but simple HTML pages) of
cgi-bin based web apps must be installed in ${PREFIX}/www/${PORTNAME}.
Templates can be put anywhere since the application access to them,=20
not apache directly.

> Perhaps you expand on this a little and tell me where the following
> should go:
> 1) HTML files that are to be server by ${HTTPD}
  yes
> 2) cgi-bin's that are to be executed by ${HTTPD}
  yes
> 3) Data that is not to be accessible either way like e.g. a htpasswd
>    file.
  You can put them anywhere.
  Why not in ${PREFIX}/etc/apache[??]?

clem

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

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

iD8DBQFEY1CmsRhfjwcjuh0RAnjtAKCLiOWly75V6u5MGVofWtCqKKgZFQCfcA33
7OM9dxa+OfFrhNrPE1dSvfQ=
=D61d
-----END PGP SIGNATURE-----

--SLDf9lqlvOQaIe6s--



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