summaryrefslogtreecommitdiff
path: root/web.config
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2013-08-05 23:45:37 -0400
committerDavid Rothstein <drothstein@gmail.com>2013-08-05 23:45:37 -0400
commitebe236b0c03750c624cd00db96fc535077e6f890 (patch)
tree2578c8203b356cfa4f4e5df99de981dd1346e3e5 /web.config
parent705eb17dea58d0bf06013e14748cf86168ed75d4 (diff)
downloadbrdo-ebe236b0c03750c624cd00db96fc535077e6f890.tar.gz
brdo-ebe236b0c03750c624cd00db96fc535077e6f890.tar.bz2
Issue #1041580 by Monochrome, daycrom, dcam | RumpledElf: Fixed Favicon.ico 404s on IIS.
Diffstat (limited to 'web.config')
-rw-r--r--web.config3
1 files changed, 3 insertions, 0 deletions
diff --git a/web.config b/web.config
index 34afd0a46..09983d925 100644
--- a/web.config
+++ b/web.config
@@ -12,6 +12,9 @@
<rule name="Force simple error message for requests for non-existent favicon.ico" stopProcessing="true">
<match url="favicon\.ico" />
<action type="CustomResponse" statusCode="404" subStatusCode="1" statusReason="File Not Found" statusDescription="The requested file favicon.ico was not found" />
+ <conditions>
+ <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
+ </conditions>
</rule>
<!-- Rewrite URLs of the form 'x' to the form 'index.php?q=x'. -->
<rule name="Short URLs" stopProcessing="true">