-
Notifications
You must be signed in to change notification settings - Fork 1
/
.htaccess
39 lines (36 loc) · 1.3 KB
/
.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
33
34
35
36
37
38
39
# _ _ _____ ______ __ _ _ _ ___
# | |_| |__ ___|__ /___ ___ / / /\ \ / /__| |__ | | | |_ _|
# | __| '_ \ / _ \ / // _ \ / _ \ / / / \ \ /\ / / _ \ '_ \| | | || |
# | |_| | | | __// /| (_) | (_) / / / \ V V / __/ |_) | |_| || |
# \__|_| |_|\___/____\___/ \___/_/_/ \_/\_/ \___|_.__/ \___/|___|
# by KawaiiPantsu
# https://github.com/kawaiipantsu/theZoo-WebUI
###########################################################################
# This file is a placeholder for when we
# want to make things more interresting! (:
## Just make sure the UI experience is not broken by files
## that are not ment to be viewed in the browser unless handled.
<FilesMatch "\.(md|cfg|conf)$">
Order allow,deny
Deny from all
</FilesMatch>
## Make sure we dont expose some important files
<FilesMatch "^\.">
Order allow,deny
Deny from all
</FilesMatch>
<FilesMatch "\.inc\.php$">
Order allow,deny
Deny from all
</FilesMatch>
<FilesMatch "audit\.log$">
Order allow,deny
Deny from all
</FilesMatch>
## Secure theZoo a bit
## Since DirectoryMatch is not allowed from
## htaccess we try other things to lock it down!
<FilesMatch "\.(db|pass|zip|py|ver|md5|shasum|sha265)$">
Order allow,deny
Deny from all
</FilesMatch>