From a8f2a1c36efed8f876a62d469ccc620d86c48bd5 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Mon, 27 Jan 2003 16:04:55 +0000 Subject: Add M4 Apache skeleton files. --- apache/vhosts.m4/cgi+redir.m4 | 16 ++++++++++++++++ apache/vhosts.m4/plain+redir.m4 | 13 +++++++++++++ apache/vhosts.m4/redir.m4 | 7 +++++++ 3 files changed, 36 insertions(+) create mode 100644 apache/vhosts.m4/cgi+redir.m4 create mode 100644 apache/vhosts.m4/plain+redir.m4 create mode 100644 apache/vhosts.m4/redir.m4 (limited to 'apache') diff --git a/apache/vhosts.m4/cgi+redir.m4 b/apache/vhosts.m4/cgi+redir.m4 new file mode 100644 index 0000000..b7a3d39 --- /dev/null +++ b/apache/vhosts.m4/cgi+redir.m4 @@ -0,0 +1,16 @@ + + ServerName _HOST +dnl ServerAlias _LOCALHOST + ServerAdmin _EMAIL + DocumentRoot _FILEROOT + ScriptAlias /cgi-bin/ _CGIROOT + user _UID + group _GID + + + ServerName _REDIRHOST + ServerAlias *._JOKERHOST + RewriteEngine On + RewriteRule / http://_HOST/ [R] + TransferLog /dev/null + diff --git a/apache/vhosts.m4/plain+redir.m4 b/apache/vhosts.m4/plain+redir.m4 new file mode 100644 index 0000000..e27e31c --- /dev/null +++ b/apache/vhosts.m4/plain+redir.m4 @@ -0,0 +1,13 @@ + + ServerName _HOST +dnl ServerAlias _LOCALHOST + ServerAdmin _EMAIL + DocumentRoot _FILEROOT + + + ServerName _REDIRHOST + ServerAlias *._JOKERHOST + RewriteEngine On + RewriteRule / http://_HOST/ [R] + TransferLog /dev/null + diff --git a/apache/vhosts.m4/redir.m4 b/apache/vhosts.m4/redir.m4 new file mode 100644 index 0000000..b9d58ba --- /dev/null +++ b/apache/vhosts.m4/redir.m4 @@ -0,0 +1,7 @@ + + ServerName _REDIRHOST + ServerAlias *._JOKERHOST + RewriteEngine On + RewriteRule / http://_HOST/ [R] + TransferLog /dev/null + -- cgit v1.2.3