X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_export%2Fapache.pm;h=835ce8c247fac0329a0125719f05e853a4c09dfb;hb=HEAD;hp=b16b3040d9b2a322efb4e434a1b7b5b114f2d8b8;hpb=dabdf357484badff95afcae50b08ec1c3bb58343;p=freeside.git diff --git a/FS/FS/part_export/apache.pm b/FS/FS/part_export/apache.pm index b16b3040d..835ce8c24 100644 --- a/FS/FS/part_export/apache.pm +++ b/FS/FS/part_export/apache.pm @@ -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', - #generic + #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 + + +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