mirror of
https://github.com/kawaiipantsu/theZoo-WebUI
synced 2026-08-09 12:44:16 +00:00
40 lines
1.3 KiB
ApacheConf
40 lines
1.3 KiB
ApacheConf
# _ _ _____ ______ __ _ _ _ ___
|
|
# | |_| |__ ___|__ /___ ___ / / /\ \ / /__| |__ | | | |_ _|
|
|
# | __| '_ \ / _ \ / // _ \ / _ \ / / / \ \ /\ / / _ \ '_ \| | | || |
|
|
# | |_| | | | __// /| (_) | (_) / / / \ 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>
|