Skip to content

Commit

Permalink
Merge pull request #8734 from kenjis/add-htaccess-index.html
Browse files Browse the repository at this point in the history
chore: add .htaccess and index.html for consistency
  • Loading branch information
kenjis authored Apr 9, 2024
2 parents 4b2175c + cd16750 commit 2596aec
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ writable/uploads/*
!writable/uploads/index.html

writable/debugbar/*
!writable/debugbar/.gitkeep
!writable/debugbar/index.html

writable/**/*.db
writable/**/*.sqlite
Expand Down
6 changes: 6 additions & 0 deletions admin/starter/tests/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<IfModule authz_core_module>
Require all denied
</IfModule>
<IfModule !authz_core_module>
Deny from all
</IfModule>
11 changes: 11 additions & 0 deletions admin/starter/tests/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<title>403 Forbidden</title>
</head>
<body>

<p>Directory access is forbidden.</p>

</body>
</html>
Empty file removed writable/debugbar/.gitkeep
Empty file.
11 changes: 11 additions & 0 deletions writable/debugbar/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<title>403 Forbidden</title>
</head>
<body>

<p>Directory access is forbidden.</p>

</body>
</html>

0 comments on commit 2596aec

Please sign in to comment.