|
@@ -6,7 +6,7 @@
|
|
<rewrite>
|
|
<rewrite>
|
|
<rules>
|
|
<rules>
|
|
<rule name="Protect files and directories from prying eyes" stopProcessing="true">
|
|
<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." />
|
|
<action type="CustomResponse" statusCode="403" subStatusCode="0" statusReason="Forbidden" statusDescription="Access is forbidden." />
|
|
</rule>
|
|
</rule>
|
|
<rule name="Force simple error message for requests for non-existent favicon.ico" stopProcessing="true">
|
|
<rule name="Force simple error message for requests for non-existent favicon.ico" stopProcessing="true">
|