diff options
author | bugreport%peshkin.net <> | 2002-12-23 10:46:31 +0100 |
---|---|---|
committer | bugreport%peshkin.net <> | 2002-12-23 10:46:31 +0100 |
commit | 0e1c51a6945e1b3baab9bbb6c96e8a11e92d6bb0 (patch) | |
tree | b87975d15a32da79f926abe465a2d70223a397d4 | |
parent | 607ff299e31f081c9690937bf0a4e88bd0214d60 (diff) | |
download | bugzilla-0e1c51a6945e1b3baab9bbb6c96e8a11e92d6bb0.tar.gz bugzilla-0e1c51a6945e1b3baab9bbb6c96e8a11e92d6bb0.tar.xz |
Backing out patch from bug 186383 because it broke quicksearch
-rwxr-xr-x | checksetup.pl | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/checksetup.pl b/checksetup.pl index 6a49f3949..18b45dda5 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -820,27 +820,12 @@ if ($my_create_htaccess) { open HTACCESS, ">.htaccess"; print HTACCESS <<'END'; # don't allow people to retrieve non-cgi executable files or our private data -<FilesMatch ^(.*\.pl|localconfig.*|processmail|runtests.sh)$> +<FilesMatch ^(.*\.pl|localconfig|processmail|runtests.sh)$> deny from all </FilesMatch> END close HTACCESS; chmod $fileperm, ".htaccess"; - } else { - # 2002-12-21 Bug 186383 - open HTACCESS, ".htaccess"; - my $oldaccess = ""; - while (<HTACCESS>) { - $oldaccess .= $_; - } - close HTACCESS; - if ($oldaccess =~ s/(localconfig)(\|)/$1.*$2/) { - print "Repairing .htaccess...\n"; - open HTACCESS, ">.htaccess"; - print HTACCESS $oldaccess; - close HTACCESS; - } - } if (!-e "Bugzilla/.htaccess") { print "Creating Bugzilla/.htaccess...\n"; |