RT# 83450 - added fields interface and map_location to export
[freeside.git] / FS / FS / part_export / apache.pm
index 35b00cc..835ce8c 100644 (file)
@@ -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 = (