diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-07-28 02:28:03 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-07-28 02:28:03 +0000 |
commit | 26392c86d0694b372c8a3374fe152eed64aebfed (patch) | |
tree | f1002cdeb08620067fb8a94a7a4dbedc964ccc07 /web.config | |
parent | 1d9b81af47fad6ef07a3e3da3d139efc1a12b7c2 (diff) | |
download | brdo-26392c86d0694b372c8a3374fe152eed64aebfed.tar.gz brdo-26392c86d0694b372c8a3374fe152eed64aebfed.tar.bz2 |
- Patch #567072 by c960657: tweak the IIS 7 configuration file.
Diffstat (limited to 'web.config')
-rw-r--r-- | web.config | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/web.config b/web.config index d97e89531..34afd0a46 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" /> |