Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Need webconfig for server 2016 IIS

AegerAeger New
edited September 2017 in Vanilla 2.0 - 2.8

Did a fresh install of Vanilla as a Plesk application. It installed Vanilla 2.0.17.10 and I found a web.config that worked fine on that version. After uploading 2.3 I wasn't even able to run the upgrade. Getting error 500 and 404 messing with the config file. Does anyone have a updated web.config that will work with Windows server 2016 and IIS?

This config below worked on 2.0

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
          <rules>
            <rule name="Vanilla Rule 1" stopProcessing="true">
              <match url="^(.*)$" ignoreCase="false" />
              <conditions logicalGrouping="MatchAll">
                <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
                <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
              </conditions>
              <action type="Rewrite" url="index.php\?p={R:1}" appendQueryString="true" />
            </rule>
          </rules>
        </rewrite>
    </system.webServer>
</configuration>

Comments

Sign In or Register to comment.