diff options
author | Jonas Smedegaard <dr@jones.dk> | 2003-01-27 16:04:55 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2003-01-27 16:04:55 +0000 |
commit | a8f2a1c36efed8f876a62d469ccc620d86c48bd5 (patch) | |
tree | a87e15d7b98ca45713ca6a366f01f8ea0e7488ab /apache | |
parent | 9b8946a6934853e26c21aaff1c8081a25532c8d3 (diff) |
Add M4 Apache skeleton files.
Diffstat (limited to 'apache')
-rw-r--r-- | apache/vhosts.m4/cgi+redir.m4 | 16 | ||||
-rw-r--r-- | apache/vhosts.m4/plain+redir.m4 | 13 | ||||
-rw-r--r-- | apache/vhosts.m4/redir.m4 | 7 |
3 files changed, 36 insertions, 0 deletions
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 @@ +<VirtualHost *> + ServerName _HOST +dnl ServerAlias _LOCALHOST + ServerAdmin _EMAIL + DocumentRoot _FILEROOT + ScriptAlias /cgi-bin/ _CGIROOT + user _UID + group _GID +</VirtualHost> +<VirtualHost *> + ServerName _REDIRHOST + ServerAlias *._JOKERHOST + RewriteEngine On + RewriteRule / http://_HOST/ [R] + TransferLog /dev/null +</VirtualHost> 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 @@ +<VirtualHost *> + ServerName _HOST +dnl ServerAlias _LOCALHOST + ServerAdmin _EMAIL + DocumentRoot _FILEROOT +</VirtualHost> +<VirtualHost *> + ServerName _REDIRHOST + ServerAlias *._JOKERHOST + RewriteEngine On + RewriteRule / http://_HOST/ [R] + TransferLog /dev/null +</VirtualHost> 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 @@ +<VirtualHost *> + ServerName _REDIRHOST + ServerAlias *._JOKERHOST + RewriteEngine On + RewriteRule / http://_HOST/ [R] + TransferLog /dev/null +</VirtualHost> |