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
commit8046d6a5dff20b3af9c6582a649ff7268cb82042 (patch)
tree56b034b5e74b0c09381773e7c7ba30eccc144652 /www-apache
parentadded apache 1.3 support (diff)
downloadhistorical-8046d6a5dff20b3af9c6582a649ff7268cb82042.tar.gz
historical-8046d6a5dff20b3af9c6582a649ff7268cb82042.tar.bz2
historical-8046d6a5dff20b3af9c6582a649ff7268cb82042.zip
added default config
Package-Manager: portage-2.0.51.16
Diffstat (limited to 'www-apache')
-rw-r--r--www-apache/mod_macro/ChangeLog4
-rw-r--r--www-apache/mod_macro/Manifest10
-rw-r--r--www-apache/mod_macro/files/27_mod_macro.conf32
3 files changed, 34 insertions, 12 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..3a6bfc585bb7 100644
--- a/www-apache/mod_macro/Manifest
+++ b/www-apache/mod_macro/Manifest
@@ -1,17 +1,17 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 a173eaeef69cd768e47c803e05f5f771 ChangeLog 706
+MD5 12b04c4ad9e641612df16d7e636f30af 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
+iD8DBQFCJWQUmPFBzbX68WERAhm+AJsEQhOPu4OO37toACDvTGasBSZXhACfag6J
+VfeKXgobuYzEMFxZ6WpWvc0=
+=V/lC
-----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>