From 63ccbe91bddf551d9a684fe099a3970aa705389e Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 17 Jun 2004 12:32:42 +0000 Subject: [PATCH] add frontpage extensions to www_shellcommands export --- FS/FS/part_export/apache.pm | 1 + FS/FS/part_export/www_shellcommands.pm | 14 +++++++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/FS/FS/part_export/apache.pm b/FS/FS/part_export/apache.pm index 17fbabff8..35b00cc96 100644 --- a/FS/FS/part_export/apache.pm +++ b/FS/FS/part_export/apache.pm @@ -24,6 +24,7 @@ ServerName $zone ServerAlias *.$zone #BandWidthModule On #LargeFileLimit 4096 12288 +#FrontpageEnable on END diff --git a/FS/FS/part_export/www_shellcommands.pm b/FS/FS/part_export/www_shellcommands.pm index dd909376b..0e50d607c 100644 --- a/FS/FS/part_export/www_shellcommands.pm +++ b/FS/FS/part_export/www_shellcommands.pm @@ -22,7 +22,7 @@ tie my %options, 'Tie::IxHash', %info = ( 'svc' => 'svc_www', - 'desc' => 'Run remote commands via SSH, for virtual web sites.', + 'desc' => 'Run remote commands via SSH, for virtual web sites (directory maintenance, FrontPage, ISPMan)', 'options' => \%options, 'notes' => <<'END' Run remote commands via SSH, for virtual web sites. You will need to @@ -37,13 +37,19 @@ Run remote commands via SSH, for virtual web sites. You will need to this.form.usermod.value = "[ -n \"$old_zone\" ] && rm /var/www/$old_zone; [ \"$old_zone\" != \"$new_zone\" -a -n \"$new_zone\" ] && ( mv $old_homedir/$old_zone $new_homedir/$new_zone; ln -sf $new_homedir/$new_zone /var/www/$new_zone ); [ \"$old_username\" != \"$new_username\" ] && chown -R $new_username $new_homedir/$new_zone; ln -sf $new_homedir/$new_zone /var/www/$new_zone"; '>
  • + +
  • - + '> The following variables are available for interpolation (prefixed with new_ or old_ for replace operations):