summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorjeff <jeff>2007-04-23 14:34:10 +0000
committerjeff <jeff>2007-04-23 14:34:10 +0000
commit1630fe1a8190feb6f0e7a1187333e01af9bea3f2 (patch)
tree685311f71bfbbd03b2770cfe61fd02e62a4c4b8e /bin
parent5080562bde309a0501f003b1d6fa35d29f0885bd (diff)
quick hack to add extra 'config lines' to svc_www and otherwise enhance svc_www (backport)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/apache.export5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/apache.export b/bin/apache.export
index 47863a9d5..b39b5f1a2 100755
--- a/bin/apache.export
+++ b/bin/apache.export
@@ -36,9 +36,12 @@ foreach my $export ( @exports ) {
my @svc_www = $export->svc_x;
foreach my $svc_www ( @svc_www ) {
- use vars qw($zone $username);
+ use vars qw($zone $username $dir $email $config);
$zone = $svc_www->domain_record->zone;
$username = $svc_www->svc_acct->username;
+ $dir = $svc_www->svc_acct->dir;
+ $email = $svc_www->svc_acct->email;
+ $config = $svc_www->config;
print HTTPD_CONF eval(qq("$template")). "\n\n";
}