Revision 27e02aed
Added by Assos Assos over 4 years ago
drupal7/web.config | ||
---|---|---|
6 | 6 |
<rewrite> |
7 | 7 |
<rules> |
8 | 8 |
<rule name="Protect files and directories from prying eyes" stopProcessing="true"> |
9 |
<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))$" /> |
|
9 |
<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)$" />
|
|
10 | 10 |
<action type="CustomResponse" statusCode="403" subStatusCode="0" statusReason="Forbidden" statusDescription="Access is forbidden." /> |
11 | 11 |
</rule> |
12 | 12 |
<rule name="Force simple error message for requests for non-existent favicon.ico" stopProcessing="true"> |
Also available in: Unified diff
-a