Skip to content
Snippets Groups Projects
Commit dfb0aa1c authored by Angie Byron's avatar Angie Byron
Browse files

Issue #1041580 by Monochrome, daycrom: Fixed Favicon.ico 404s on IIS.

parent 180cb075
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -29,6 +29,9 @@ ...@@ -29,6 +29,9 @@
<rule name="Force simple error message for requests for non-existent favicon.ico" stopProcessing="true"> <rule name="Force simple error message for requests for non-existent favicon.ico" stopProcessing="true">
<match url="favicon\.ico" /> <match url="favicon\.ico" />
<action type="CustomResponse" statusCode="404" subStatusCode="1" statusReason="File Not Found" statusDescription="The requested file favicon.ico was not found" /> <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> </rule>
<!-- To redirect all users to access the site WITH the 'www.' prefix, <!-- To redirect all users to access the site WITH the 'www.' prefix,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment