From: | "Benedikt Boehm (hollow)" <hollow@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in www-apache/mod_macro/files: 27_mod_macro.conf |
Date: | Thu, 31 Jan 2008 19:37:43 |
Message-Id: | E1JKfEC-0003p7-SF@stork.gentoo.org |
1 | hollow 08/01/31 19:37:40 |
2 | |
3 | Modified: 27_mod_macro.conf |
4 | Log: |
5 | update metadata; cleanup |
6 | (Portage version: 2.1.4) |
7 | |
8 | Revision Changes Path |
9 | 1.3 www-apache/mod_macro/files/27_mod_macro.conf |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_macro/files/27_mod_macro.conf?rev=1.3&view=markup |
12 | 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 |
13 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_macro/files/27_mod_macro.conf?r1=1.2&r2=1.3 |
14 | |
15 | Index: 27_mod_macro.conf |
16 | =================================================================== |
17 | RCS file: /var/cvsroot/gentoo-x86/www-apache/mod_macro/files/27_mod_macro.conf,v |
18 | retrieving revision 1.2 |
19 | retrieving revision 1.3 |
20 | diff -u -r1.2 -r1.3 |
21 | --- 27_mod_macro.conf 2 Mar 2005 06:55:50 -0000 1.2 |
22 | +++ 27_mod_macro.conf 31 Jan 2008 19:37:40 -0000 1.3 |
23 | @@ -1,34 +1,30 @@ |
24 | <IfDefine MACRO> |
25 | - <IfModule !mod_macro.c> |
26 | - LoadModule macro_module modules/mod_macro.so |
27 | - </IfModule> |
28 | -</IfDefine> |
29 | - |
30 | -<IfModule mod_macro.c> |
31 | - # Definition of a MyVirtualHost Macro. |
32 | +LoadModule macro_module modules/mod_macro.so |
33 | |
34 | - <Macro MyVirtualHost $host $port $dir> |
35 | - Listen $port |
36 | - |
37 | - <VirtualHost $host:$port> |
38 | - DocumentRoot $dir |
39 | - |
40 | - <Directory $dir> |
41 | - # do something here... |
42 | - </Directory> |
43 | - |
44 | - # limit access to intranet subdir. |
45 | - <Directory $dir/intranet> |
46 | - order deny,allow |
47 | - deny from all |
48 | - allow from 10.0.0.0/8 |
49 | - </Directory> |
50 | - </VirtualHost> |
51 | - </Macro> |
52 | +# Definition of a MyVirtualHost Macro. |
53 | +<Macro MyVirtualHost $host $port $dir> |
54 | + Listen $port |
55 | |
56 | - # Use of MyVirtualHost with different arguments. |
57 | - #Use MyVirtualHost www.apache.org 80 /projects/apache/web |
58 | - #Use MyVirtualHost www.perl.com 8080 /projects/perl/web |
59 | - #Use MyVirtualHost www.ensmp.fr 1234 /projects/mines/web |
60 | -</IfModule> |
61 | + <VirtualHost $host:$port> |
62 | + DocumentRoot $dir |
63 | + |
64 | + <Directory $dir> |
65 | + # do something here... |
66 | + </Directory> |
67 | + |
68 | + # limit access to intranet subdir. |
69 | + <Directory $dir/intranet> |
70 | + order deny,allow |
71 | + deny from all |
72 | + allow from 10.0.0.0/8 |
73 | + </Directory> |
74 | + </VirtualHost> |
75 | +</Macro> |
76 | + |
77 | +# Use of MyVirtualHost with different arguments. |
78 | +#Use MyVirtualHost www.apache.org 80 /projects/apache/web |
79 | +#Use MyVirtualHost www.perl.com 8080 /projects/perl/web |
80 | +#Use MyVirtualHost www.ensmp.fr 1234 /projects/mines/web |
81 | +</IfDefine> |
82 | |
83 | +# vim: ts=4 filetype=apache |
84 | |
85 | |
86 | |
87 | -- |
88 | gentoo-commits@l.g.o mailing list |