forked from shannah/xataface
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.htaccess
32 lines (29 loc) · 770 Bytes
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Apache 2.2
<IfModule !mod_authz_core.c>
Deny from all
</IfModule>
# Apache 2.4
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
ErrorDocument 403 "403 Access Restricted. <a href='installer.php'>Go to installer</a>"
<FilesMatch "\.(png|jpg|gif|GIF|PNG|JPG|jpeg|JPEG|ICO|js|css|html)$">
# Apache 2.2
<IfModule !mod_authz_core.c>
Allow from all
</IfModule>
# Apache 2.4
<IfModule mod_authz_core.c>
Require all granted
</IfModule>
</FilesMatch>
<FilesMatch "(installer\.php|index\.php|install_form.js.php)$">
# Apache 2.2
<IfModule !mod_authz_core.c>
Allow from all
</IfModule>
# Apache 2.4
<IfModule mod_authz_core.c>
Require all granted
</IfModule>
</FilesMatch>