Skip to content

Commit f6ca78b

Browse files
committed
feat: disable setup route by default for apache distributed config
1 parent 09cf9a2 commit f6ca78b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

setup/.htaccess

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
# If you want to enable the web based setup functionality, add your ip address
2+
# to the allow list below or comment out the IfVersion Deny deny blocks below.
3+
<Files "index.php">
4+
<IfVersion < 2.4>
5+
order allow,deny
6+
deny from all
7+
</IfVersion>
8+
<IfVersion >= 2.4>
9+
Require all denied
10+
</IfVersion>
11+
</Files>
12+
113
Options -Indexes
214

315
<IfModule mod_rewrite.c>

0 commit comments

Comments
 (0)