Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (9 sloc) 387 Bytes
# Disable directory indexing
Options -Indexes
# Deny access to LookingGlass subdirectory
# Overkill, but used for development (dev folder = /LookingGlass)
RedirectMatch 404 /LookingGlass/(.*\.(?:conf|db|sh)|(?:Config|LookingGlass|RateLimit)\.php)$
# Deny access to hidden files/folders
RedirectMatch 404 /\.
# Disable gzip for test files
SetEnvIf Request_URI \.test$ no-gzip dont-vary