TimeTrex/.htaccess

6 lines
290 B
ApacheConf
Raw Permalink Normal View History

2022-12-13 07:10:06 +01:00
#Hide all source control related files.
RedirectMatch 404 /\\.(svn|git|gitignore|hg|bzr|cvs|gitlab-ci.yml|gitattributes)(/|$)
#Hide other files that could disclose information with a 403 Forbidden error.
RedirectMatch 403 /(composer.json|composer.lock|package.json|package-lock.json)(/|$)