summaryrefslogtreecommitdiff
path: root/apache/vhosts.m4/vhost.m4
diff options
context:
space:
mode:
Diffstat (limited to 'apache/vhosts.m4/vhost.m4')
-rw-r--r--apache/vhosts.m4/vhost.m430
1 files changed, 30 insertions, 0 deletions
diff --git a/apache/vhosts.m4/vhost.m4 b/apache/vhosts.m4/vhost.m4
new file mode 100644
index 0000000..072388e
--- /dev/null
+++ b/apache/vhosts.m4/vhost.m4
@@ -0,0 +1,30 @@
+# Generated by vhost.m4 (please delete this line if editing manually!)
+ifdef(ROOT,
+<VirtualHost VHOST>
+ ServerName HOST
+ifdef(HOST_LOCAL,
+ ServerAlias HOST_LOCAL
+)dnl
+ifdef(HOST_JOKER,
+ ServerAlias HOST_JOKER
+)dnl
+ ServerAdmin EMAIL
+ DocumentRoot ROOT
+ifdef(CGIROOT,
+ ScriptAlias /cgi-bin/ CGIROOT
+ user UID
+ group GID
+)dnl
+</VirtualHost>
+)dnl
+ifdef(REDIRHOST,
+<VirtualHost VHOST>
+ ServerName REDIRHOST
+ifdef(REDIRHOST_JOKER,
+ ServerAlias *.REDIRHOST_JOKER
+)dnl
+ RewriteEngine On
+ RewriteRule / http://HOST/ [R]
+ TransferLog /dev/null
+</VirtualHost>
+)dnl