From 4cf25f0a7fbb6f9e1dc5fb4acdb3bdab3ef9a8bb Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Sat, 24 Mar 2007 15:33:39 +0000 Subject: [PATCH] - Talk some more about web apps. Grammar police welcome! --- .../books/porters-handbook/book.sgml | 23 +++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/en_US.ISO8859-1/books/porters-handbook/book.sgml b/en_US.ISO8859-1/books/porters-handbook/book.sgml index 6b4c448a97..09c822c0f5 100644 --- a/en_US.ISO8859-1/books/porters-handbook/book.sgml +++ b/en_US.ISO8859-1/books/porters-handbook/book.sgml @@ -6191,7 +6191,7 @@ LIB_DEPENDS+= QtCore:${PORTSDIR}/devel/qt4-corelib - Using Apache and PHP + Web applications, Apache and PHP Apache @@ -6330,11 +6330,26 @@ LIB_DEPENDS+= QtCore:${PORTSDIR}/devel/qt4-corelib + + + + Web applications Web applications should be installed into - PREFIX/www/appname - and should not assume Apache is present, unless they depend - on Apache explicitly. User may wish to run them on different + PREFIX/www/appname. + For your convenience, this path is available both in + Makefile and in pkg-plist + as WWWDIR. + + The user and group of web server process are available as + WWWOWN and WWWGRP, in case you + need to change the ownership of some files. The default values of + both are www. If you want different values for + your port, use WWWOWN?= myuser notation, to allow + user to override it easily. + + Do not depend on Apache unless the web app explicitly needs + Apache. Respect that users may wish to run your web app on different web server than Apache.