Update website

This commit is contained in:
Guilhem Lavaux 2024-11-24 10:22:46 +01:00
parent 48f9bf0191
commit 7be93891e4

View File

@ -1,13 +1,4 @@
# Deny access to .git directory
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*/)?\.git/ - [F,L]
RewriteRule ^(.*/)?\composer\.(.*) - [F,L]
</IfModule>
# Alternatively, you can use the following directive to deny access
<FilesMatch "\.git/">
Order allow,deny
Deny from all
</FilesMatch>