REST API - Web.config file - Missing httpredirect enabled=false parameter - Can cause unexpected application behavior
This article is about product releases
ALVAO 11.2 and higher
Symptoms
REST API application redirects user (requests) to the WebApp (or different) application => does not return correct data.
Cause
The cause is a bug in ALVAO products.
Solution
Fixed in release 11.2.1486 - 11.2/FIX3 (2024-07-04)
Workaround
Add <httpRedirect enabled="false" /> under the <system.webServer> part in the web.config file.
Or disable it manually in IIS settings: AlvaoRestApi – Http Redirect – disable choice *Redirect requests to this destination*
Sample web.config settings:
<system.webServer>
<handlers>
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
</handlers>
<aspNetCore processPath="bin\Release\net6.0\Alvao.RestApi.exe" arguments="" stdoutLogEnabled="false" hostingModel="InProcess" />
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="104857600" />
</requestFiltering>
</security>
<httpRedirect enabled="false" />
</system.webServer>
Steps to reproduce this behavior
Attachments
Issue number
T160128ALVAO