summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2005-03-02 06:55:50 +0000
committerBenedikt Boehm <hollow@gentoo.org>2005-03-02 06:55:50 +0000
commitb3c2febcdfa35243ca292b607c2bfd7a5703498a (patch)
tree77fc607614c749b149d34b58ea099661d4fec0fa /www-apache
parentadded apache 1.3 support (diff)
downloadgentoo-2-b3c2febcdfa35243ca292b607c2bfd7a5703498a.tar.gz
gentoo-2-b3c2febcdfa35243ca292b607c2bfd7a5703498a.tar.bz2
gentoo-2-b3c2febcdfa35243ca292b607c2bfd7a5703498a.zip
added default config
(Portage version: 2.0.51.16)
Diffstat (limited to 'www-apache')
-rw-r--r--www-apache/mod_macro/ChangeLog4
-rw-r--r--www-apache/mod_macro/Manifest14
-rw-r--r--www-apache/mod_macro/files/27_mod_macro.conf32
3 files changed, 31 insertions, 19 deletions
diff --git a/www-apache/mod_macro/ChangeLog b/www-apache/mod_macro/ChangeLog
index fa138cc1cc41..fadadb80071d 100644
--- a/www-apache/mod_macro/ChangeLog
+++ b/www-apache/mod_macro/ChangeLog
@@ -1,11 +1,11 @@
# ChangeLog for www-apache/mod_macro
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_macro/ChangeLog,v 1.5 2005/03/02 06:50:55 hollow Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_macro/ChangeLog,v 1.6 2005/03/02 06:55:50 hollow Exp $
*mod_macro-1.1.2 (02 Mar 2005)
02 Mar 2005; Benedikt Boehm <hollow@gentoo.org> +mod_macro-1.1.2.ebuild:
- added apache 1.3 support
+ added apache 1.3 support + default config
25 Feb 2005; Benedikt Boehm <hollow@gentoo.org> mod_macro-1.1.6.ebuild:
added MOD_DEFINE
diff --git a/www-apache/mod_macro/Manifest b/www-apache/mod_macro/Manifest
index a13865eb6e75..a6c8bba5cdf1 100644
--- a/www-apache/mod_macro/Manifest
+++ b/www-apache/mod_macro/Manifest
@@ -1,17 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 a173eaeef69cd768e47c803e05f5f771 ChangeLog 706
+MD5 7c3c4830fd829f683920fd76d22c0b3f ChangeLog 723
MD5 0d18f0fe5d603b41b988373892caf195 metadata.xml 226
MD5 65966231a5975c1bdb03f0ac85798ab4 mod_macro-1.1.6.ebuild 599
MD5 0ba9a3263ad0e0ecbcac4efed4b559a7 mod_macro-1.1.2.ebuild 596
-MD5 b98f8dbe67f524a29478021b269f831a files/27_mod_macro.conf 210
+MD5 4918617c4f03104f952d357b14e714e8 files/27_mod_macro.conf 767
MD5 3104e9dd0ee867b2c24d4aa8ecc56e10 files/digest-mod_macro-1.1.2 67
MD5 4521ab073b529e9671ba2c848b039fd0 files/digest-mod_macro-1.1.6 67
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.0 (GNU/Linux)
-
-iD8DBQFCJWLtmPFBzbX68WERAvjoAJ4j4BXSDjxMy4W8pwcpX1oivtkNuACfdsFd
-xwdRdW1/C3q28BUaJzxOyHg=
-=ane4
------END PGP SIGNATURE-----
diff --git a/www-apache/mod_macro/files/27_mod_macro.conf b/www-apache/mod_macro/files/27_mod_macro.conf
index 4e640c9ff351..4b845617469b 100644
--- a/www-apache/mod_macro/files/27_mod_macro.conf
+++ b/www-apache/mod_macro/files/27_mod_macro.conf
@@ -1,12 +1,34 @@
<IfDefine MACRO>
- <IfModule !mod_macro.c>
- LoadModule macro_module modules/mod_macro.so
- </IfModule>
+ <IfModule !mod_macro.c>
+ LoadModule macro_module modules/mod_macro.so
+ </IfModule>
</IfDefine>
<IfModule mod_macro.c>
+ # Definition of a MyVirtualHost Macro.
-# See http://www.coelho.net/mod_macro/ for now :/
-
+ <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>
+
+ # 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>