Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
0e1c51a6
Commit
0e1c51a6
authored
Dec 23, 2002
by
bugreport%peshkin.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backing out patch from bug 186383 because it broke quicksearch
parent
607ff299
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
16 deletions
+1
-16
checksetup.pl
checksetup.pl
+1
-16
No files found.
checksetup.pl
View file @
0e1c51a6
...
...
@@ -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"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment