From 26392c86d0694b372c8a3374fe152eed64aebfed Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Wed, 28 Jul 2010 02:28:03 +0000 Subject: [PATCH] - Patch #567072 by c960657: tweak the IIS 7 configuration file. --- web.config | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/web.config b/web.config index d97e8953106e..34afd0a469be 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" /> -- GitLab