From d8c4322c4b403a735c3ed9c20ed0668d86b581ab Mon Sep 17 00:00:00 2001 From: mark Date: Fri, 27 May 2011 21:46:28 +0000 Subject: apache.export suspension, #1822 --- FS/FS/part_export/apache.pm | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'FS') diff --git a/FS/FS/part_export/apache.pm b/FS/FS/part_export/apache.pm index 35b00cc96..835ce8c24 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', - #generic + #generic # #preferred, http://httpd.apache.org/docs/dns-caveats.html DocumentRoot /var/www/$zone ServerName $zone @@ -27,6 +27,23 @@ ServerAlias *.$zone #FrontpageEnable on +END + }, + 'template_inactive' => { + label => 'Template (when suspended)', + type => 'textarea', + default => <<'END', + #generic +# #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 / + + END }, ; -- cgit v1.2.1