Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

Ready to contribute?

Amazing! Sign our contributors' agreement and then join us on GitHub.

Update for critical security issue in PHPMailer included in release Vanilla 2.3.1

Need webconfig for server 2016 IIS

AegerAeger New
edited September 7 in Vanilla 2.3 Help

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.