gitignore & web.config

This commit is contained in:
Bachir Soussi Chiadmi 2022-04-26 11:48:43 +02:00
parent 6385bc5267
commit 8f4ce63da5
2 changed files with 3 additions and 1 deletions

2
.gitignore vendored
View File

@ -7,3 +7,5 @@ sites/*/private
sites/*/tmp
error/
**.tar.gz

View File

@ -6,7 +6,7 @@
<rewrite>
<rules>
<rule name="Protect files and directories from prying eyes" stopProcessing="true">
<match url="\.(engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)$|^(\..*|Entries.*|Repository|Root|Tag|Template|composer\.(json|lock))$" />
<match url="\.(engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)$|^(\..*|Entries.*|Repository|Root|Tag|Template|composer\.(json|lock)|\.htaccess)$" />
<action type="CustomResponse" statusCode="403" subStatusCode="0" statusReason="Forbidden" statusDescription="Access is forbidden." />
</rule>
<rule name="Force simple error message for requests for non-existent favicon.ico" stopProcessing="true">