public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in www-apache/mod_macro/files: 27_mod_macro.conf
@ 2008-01-31 19:37 Benedikt Boehm (hollow)
  0 siblings, 0 replies; only message in thread
From: Benedikt Boehm (hollow) @ 2008-01-31 19:37 UTC (permalink / raw
  To: gentoo-commits

hollow      08/01/31 19:37:40

  Modified:             27_mod_macro.conf
  Log:
  update metadata; cleanup
  (Portage version: 2.1.4)

Revision  Changes    Path
1.3                  www-apache/mod_macro/files/27_mod_macro.conf

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_macro/files/27_mod_macro.conf?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_macro/files/27_mod_macro.conf?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_macro/files/27_mod_macro.conf?r1=1.2&r2=1.3

Index: 27_mod_macro.conf
===================================================================
RCS file: /var/cvsroot/gentoo-x86/www-apache/mod_macro/files/27_mod_macro.conf,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- 27_mod_macro.conf	2 Mar 2005 06:55:50 -0000	1.2
+++ 27_mod_macro.conf	31 Jan 2008 19:37:40 -0000	1.3
@@ -1,34 +1,30 @@
 <IfDefine MACRO>
-	<IfModule !mod_macro.c>
-		LoadModule macro_module modules/mod_macro.so
-	</IfModule>
-</IfDefine>
-
-<IfModule mod_macro.c>
-	# Definition of a MyVirtualHost Macro.
+LoadModule macro_module modules/mod_macro.so
 
-	<Macro MyVirtualHost $host $port $dir>
-		Listen $port
-		
-		<VirtualHost $host:$port>
-			DocumentRoot $dir
-	
-			<Directory $dir>
-				# do something here...
-			</Directory>
-	
-			# limit access to intranet subdir.
-			<Directory $dir/intranet>
-				order deny,allow
-				deny from all
-				allow from 10.0.0.0/8
-			</Directory>
-		</VirtualHost>
-	</Macro>
+# Definition of a MyVirtualHost Macro.
+<Macro MyVirtualHost $host $port $dir>
+	Listen $port
 	
-	# Use of MyVirtualHost with different arguments.
-	#Use MyVirtualHost www.apache.org 80 /projects/apache/web
-	#Use MyVirtualHost www.perl.com 8080 /projects/perl/web
-	#Use MyVirtualHost www.ensmp.fr 1234 /projects/mines/web
-</IfModule>
+	<VirtualHost $host:$port>
+		DocumentRoot $dir
+
+		<Directory $dir>
+			# do something here...
+		</Directory>
+
+		# limit access to intranet subdir.
+		<Directory $dir/intranet>
+			order deny,allow
+			deny from all
+			allow from 10.0.0.0/8
+		</Directory>
+	</VirtualHost>
+</Macro>
+
+# Use of MyVirtualHost with different arguments.
+#Use MyVirtualHost www.apache.org 80 /projects/apache/web
+#Use MyVirtualHost www.perl.com 8080 /projects/perl/web
+#Use MyVirtualHost www.ensmp.fr 1234 /projects/mines/web
+</IfDefine>
 
+# vim: ts=4 filetype=apache



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-01-31 19:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-31 19:37 [gentoo-commits] gentoo-x86 commit in www-apache/mod_macro/files: 27_mod_macro.conf Benedikt Boehm (hollow)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox