Update website
This commit is contained in:
parent
48f9bf0191
commit
7be93891e4
15
.htaccess
15
.htaccess
@ -1,13 +1,4 @@
|
|||||||
# Deny access to .git directory
|
# Deny access to .git directory
|
||||||
<IfModule mod_rewrite.c>
|
RewriteEngine On
|
||||||
RewriteEngine On
|
RewriteRule ^(.*/)?\.git/ - [F,L]
|
||||||
RewriteRule ^(.*/)?\.git/ - [F,L]
|
RewriteRule ^(.*/)?\composer\.(.*) - [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>
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user