HEADS UP for maintainers of web applications
Clement Laforet
sheepkiller at cultdeadsheep.org
Thu May 11 14:56:42 UTC 2006
On Thu, May 11, 2006 at 04:08:07PM +0200, Lupe Christoph wrote:
> Quoting Pav Lucistnik <pav at freebsd.org>:
>
> > it will soon become mandatory to stop installing web applications into
> > Apache specific directories, like ${PREFIX}/www/data,
> > ${PREFIX}/www/cgi-bin etc.
>
> > All web applications should be now installed into ${PREFIX}/www/appname.
> > Please keep it in mind when preparing your next port update.
>
> 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,
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060511/2eab1da7/attachment.pgp
More information about the freebsd-ports
mailing list