diff --git a/web.config b/web.config index d97e8953106eeab048c85696d172a91ddfe91664..34afd0a469be4414105e7cabe3d58fb38e39710b 100644 --- a/web.config +++ b/web.config @@ -1,12 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> - <!-- Don't show directory listings for URLs which map to a directory. --> + <!-- Don't show directory listings for URLs which map to a directory. --> <directoryBrowse enabled="false" /> <rewrite> <rules> <rule name="Protect files and directories from prying eyes" stopProcessing="true"> - <match url="\.(engine|inc|info|install|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl|svn-base)$|^(\..*|Entries.*|Repository|Root|Tag|Template)$" /> + <match url="\.(engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)$|^(\..*|Entries.*|Repository|Root|Tag|Template)$" /> <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"> @@ -14,7 +14,7 @@ <action type="CustomResponse" statusCode="404" subStatusCode="1" statusReason="File Not Found" statusDescription="The requested file favicon.ico was not found" /> </rule> <!-- Rewrite URLs of the form 'x' to the form 'index.php?q=x'. --> - <rule name="Short URLS" stopProcessing="true"> + <rule name="Short URLs" stopProcessing="true"> <match url="^(.*)$" ignoreCase="false" /> <conditions> <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" /> @@ -32,7 +32,7 @@ </httpErrors> <defaultDocument> - <!-- Set the default document --> + <!-- Set the default document --> <files> <remove value="index.php" /> <add value="index.php" />