Last active
September 7, 2018 07:13
-
-
Save dimobelov/8619834b49e69345afc34c8259d54988 to your computer and use it in GitHub Desktop.
IIS Bludit configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<system.webServer> | |
<!--add/replace these lines in <system.webServer> section ...--> | |
<directoryBrowse enabled="false" /> | |
<defaultDocument> | |
<files> | |
<clear /> | |
<add value="index.php" /> | |
<add value="index.htm" /> | |
<add value="index.html" /> | |
</files> | |
</defaultDocument> | |
<rewrite> | |
<rules> | |
<rule name="bludit rule" stopProcessing="true"> | |
<match url="^(.*)$" ignoreCase="false" /> | |
<conditions> | |
<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" /> | |
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" /> | |
<add input="{URL}" pattern="^/favicon.ico$" ignoreCase="false" negate="true" /> | |
</conditions> | |
<action type="Rewrite" url="index.php?q={R:1}" appendQueryString="true" /> | |
</rule> | |
</rules> | |
</rewrite> | |
</system.webServer> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment