Skip to content

Commit

Permalink
Issue #1041580 by Monochrome, daycrom, dcam | RumpledElf: Fixed Favic…
Browse files Browse the repository at this point in the history
…on.ico 404s on IIS.
  • Loading branch information
DavidRothstein committed Aug 6, 2013
1 parent 705eb17 commit ebe236b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.txt
@@ -1,6 +1,8 @@

Drupal 7.23, xxxx-xx-xx (development version)
-----------------------
- Changed the default web.config file for IIS servers to allow favicon.ico
files which are present in the filesystem to be accessed.
- Fixed inconsistent support for the 'tel' protocol in Drupal's URL filtering
functions.
- Performance improvement: Allowed all hooks to be included in the
Expand Down
3 changes: 3 additions & 0 deletions web.config
Expand Up @@ -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">
Expand Down

0 comments on commit ebe236b

Please sign in to comment.