summaryrefslogtreecommitdiff
path: root/FS/FS/part_export/apache.pm
diff options
context:
space:
mode:
authormark <mark>2011-05-27 21:46:18 +0000
committermark <mark>2011-05-27 21:46:18 +0000
commitb9c79429e2eabb6b184070e97e338188640e2094 (patch)
treee808517bebe6d56cdb71953196e3e780abfe502f /FS/FS/part_export/apache.pm
parentc0398ef281dd091852a57a30c5a176d010c1df21 (diff)
apache.export suspension, #1822
Diffstat (limited to 'FS/FS/part_export/apache.pm')
-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 = (