1 package FS::part_export::apache;
3 use vars qw(@ISA %info);
5 use FS::part_export::null;
7 @ISA = qw(FS::part_export::null);
9 tie my %options, 'Tie::IxHash',
10 'user' => { label=>'Remote username', default=>'root' },
11 'httpd_conf' => { label=>'httpd.conf snippet location',
12 default=>'/etc/apache/httpd-freeside.conf', },
17 <VirtualHost $domain> #generic
18 #<VirtualHost ip.addr> #preferred, http://httpd.apache.org/docs/dns-caveats.html
19 DocumentRoot /var/www/$zone
23 #LargeFileLimit 4096 12288
32 'desc' => 'Export an Apache httpd.conf file snippet.',
33 'options' => \%options,
35 Batch export of an httpd.conf snippet from a template. Typically used with
36 something like <code>Include /etc/apache/httpd-freeside.conf</code> in
37 httpd.conf. <a href="http://search.cpan.org/dist/File-Rsync">File::Rsync</a>
38 must be installed. Run bin/apache.export to export the files.