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
Aeger
New
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>
0
Comments
Have you consulted the tutorials? https://open.vanillaforums.com/discussion/31153/tutorial-a-fool-proof-way-to-do-a-vanilla-upgrade-from-2-1-to-2-2#latest
This is still relevant as to procedure ... 2.0 is Ancient, shame on you for not updating in 5 years..or more..
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
I cannot not adequately stress how gravely insecure 2.0.17.10 is. Do not use it under any circumstances.
I am generally unfamiliar with IIS and no one has ever contributed official docs for setting it up with Vanilla. That said, perhaps you can muddle thru by reviewing the notes from the nginx install guidelines and applying them as best you can to IIS: http://docs.vanillaforums.com/developer/backend/server-nginx/
I suspect the issue will come down to updating or removing that
Rewrite
rule which is no longer applicable. We now use standard server variables to convey the path rather than using ap
parameter.