IIS webserver and bludit

Post Reply
fgrimps
Jr. Bludit
Posts: 1
Joined: Sun Mar 24, 2019 5:45 pm

Sun Mar 24, 2019 5:57 pm

We run Bludit in our intranet on an existing IIS web server running PHP 5.6+ and WebExt module URL Rewrite

As far as I can remember, pretty much all works out of the box once you have translated the .htaccess file to a corresponding web.config file that looks like this:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="Rule1" stopProcessing="true">
                    <match url="^bl-content/x(.*)\.txt$" ignoreCase="false" />
                    <action type="Redirect" url="{R:0}" redirectType="Temporary" />
                </rule>
                <rule name="Rule2" stopProcessing="true">
                    <match url="^(.*)" ignoreCase="false" />
                    <conditions logicalGrouping="MatchAll">
                        <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
                    </conditions>
                    <action type="Rewrite" url="index.php" />
                </rule>
            </rules>
        </rewrite>
    </system.webServer>
</configuration>
Thanks for profiding such a versatile micro CMS. I hope this will help someone else to get started.
Post Reply