Skip to content

Commit

Permalink
Update htaccess with suggested fix from Softaculous
Browse files Browse the repository at this point in the history
  • Loading branch information
JC5 committed Sep 23, 2023
1 parent 75e5115 commit 14bce01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,5 @@
# To hide directory listing
Options All -Indexes

# To prevent access to .env and other files
<Files .*>
Deny from all
</Files>
# To prevent access any file
Deny from all
1 change: 1 addition & 0 deletions public/.htaccess
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Allow from all
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
Expand Down

0 comments on commit 14bce01

Please sign in to comment.