adding export to read mailbox status information, RT#15987
[freeside.git] / FS / FS / part_export / apache.pm
index b16b304..835ce8c 100644 (file)
@@ -10,17 +10,38 @@ tie my %options, 'Tie::IxHash',
   'user'       => { label=>'Remote username', default=>'root' },
   'httpd_conf' => { label=>'httpd.conf snippet location',
                     default=>'/etc/apache/httpd-freeside.conf', },
+  'restart'    => { label=>'Apache restart command',
+                    default=>'apachectl graceful',
+                  },
   'template'   => {
     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
 ServerAlias *.$zone
 #BandWidthModule On
 #LargeFileLimit 4096 12288
+#FrontpageEnable on
+</VirtualHost>
+
+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