gl-website-deployer/.htaccess
2024-11-24 10:22:46 +01:00

5 lines
126 B
ApacheConf

# Deny access to .git directory
RewriteEngine On
RewriteRule ^(.*/)?\.git/ - [F,L]
RewriteRule ^(.*/)?\composer\.(.*) - [F,L]