[Webapps-common-discuss] webapps-common/doc Webapps-Policy-Manual-DRAFT.sgml,1.5,1.6 Webapps-Policy-Manual-DRAFT.txt,1.16,NONE

seanius@haydn.debian.org seanius@haydn.debian.org


Update of /cvsroot/webapps-common/webapps-common/doc
In directory haydn:/org/alioth.debian.org/chroot/home/users/seanius/tmp/cvs-serv5966

Modified Files:
	Webapps-Policy-Manual-DRAFT.sgml 
Removed Files:
	Webapps-Policy-Manual-DRAFT.txt 
Log Message:
Tim Peeler's suggestions for virtual host section


Index: Webapps-Policy-Manual-DRAFT.sgml
===================================================================
RCS file: /cvsroot/webapps-common/webapps-common/doc/Webapps-Policy-Manual-DRAFT.sgml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- Webapps-Policy-Manual-DRAFT.sgml	28 Jun 2005 11:12:06 -0000	1.5
+++ Webapps-Policy-Manual-DRAFT.sgml	29 Jun 2005 00:00:55 -0000	1.6
@@ -308,6 +308,38 @@
 				<tt>/etc/apache/conf.d/<var>PACKAGE</var>.conf</tt>.
 		
 		<sect id="httpd-virtual">Enabling virtual hosting facilities
+			<p>
+				Web packages should support registration
+				with the system administrator's chosen
+				httpd server under multiple ip based or
+				name based virtual hosts.
+
+			<p>
+				Several methods exist for registering
+				a web application with several virtual
+				hosts:
+
+			<list>
+			<item>
+				The apache module mod_env can be used
+				to provide applications with information
+				on where to find config files
+			<item>
+				Server environment variables such as
+				SERVER_NAME can be used to provide
+				applications with enough information to
+				find what config file/script it should use
+			<item> 
+				For php applications under apache, one
+				can use "php_value auto_prepend_file"
+				to provide configuration scripts for
+				the application
+			</list>
+
+			<p>
+				Under no circumstance should one instance
+				of an application interfere with another
+				instance.
 		
 		<sect id="httpd-location">Default web location of package
 			<p>

--- Webapps-Policy-Manual-DRAFT.txt DELETED ---