Skip to content

Commit

Permalink
suexec-custom should only happen for Debian/Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
swelljoe committed Jul 21, 2017
1 parent e0eabcb commit 62e0521
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions lib/Virtualmin/Config/Plugin/Apache.pm
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,13 @@ sub actions {
symlink("$adir/$mod.conf", "$edir/$mod.conf");
}
}
my $fn = "/etc/apache2/suexec/www-data";
my $apache2suexec = read_file_lines($fn) or die "Failed to open $fn!";
$apache2suexec->[0] = "/home";
$apache2suexec->[1] = "public_html";
flush_file_lines($fn);
}

my $fn = "/etc/apache2/suexec/www-data";
my $apache2suexec = read_file_lines($fn) or die "Failed to open $fn!";
$apache2suexec->[0] = "/home";
$apache2suexec->[1] = "public_html";
flush_file_lines($fn);

# On Ubuntu 10, PHP is enabled in php5.conf in a way that makes it
# impossible to turn off for CGI mode!
foreach my $php5conf (
Expand Down

0 comments on commit 62e0521

Please sign in to comment.