RewriteEngine on

RedirectMatch 404 /\.svn(/|$)
RedirectMatch 404 /\.git(/|$)
RedirectMatch 404 /\.vscode(/|$)
RedirectMatch 404 \.sh$
RedirectMatch 404 \.inc$
RedirectMatch 404 \.crt$
RedirectMatch 404 \.pem$
RedirectMatch 404 \.p12$
RedirectMatch 404 \.out$

RedirectMatch 404 ^/\.(?!well-known)
RedirectMatch 404 ^/vendor(/|$)
RedirectMatch 404 ^/nohup.out
RedirectMatch 404 Thumbs.db$
RedirectMatch 404 composer.json$
RedirectMatch 404 composer.lock$
RedirectMatch 404 npm-debug.log$

