summaryrefslogtreecommitdiff
path: root/FS/FS/part_export
diff options
context:
space:
mode:
Diffstat (limited to 'FS/FS/part_export')
-rw-r--r--FS/FS/part_export/apache.pm19
1 files changed, 18 insertions, 1 deletions
diff --git a/FS/FS/part_export/apache.pm b/FS/FS/part_export/apache.pm
index 35b00cc..835ce8c 100644
--- a/FS/FS/part_export/apache.pm
+++ b/FS/FS/part_export/apache.pm
@@ -17,7 +17,7 @@ tie my %options, 'Tie::IxHash',
label => 'Template',
type => 'textarea',
default => <<'END',
-<VirtualHost $domain> #generic
+<VirtualHost $zone> #generic
#<VirtualHost ip.addr> #preferred, http://httpd.apache.org/docs/dns-caveats.html
DocumentRoot /var/www/$zone
ServerName $zone
@@ -29,6 +29,23 @@ ServerAlias *.$zone
END
},
+ 'template_inactive' => {
+ label => 'Template (when suspended)',
+ type => 'textarea',
+ default => <<'END',
+<VirtualHost $zone> #generic
+#<VirtualHost ip.addr> #preferred, http://httpd.apache.org/docs/dns-caveats.html
+DocumentRoot /var/www/$zone
+ServerName $zone
+ServerAlias *.$zone
+#BandWidthModule On
+#LargeFileLimit 4096 12288
+#FrontpageEnable on
+Redirect 402 /
+</VirtualHost>
+
+END
+ },
;
%info = (