Refresh with angular + IIS

0

I posted an angular application in IIS and my application starts normally, but when refreshing the page, I get a Not Found error. I looked up several websites and saw that it was necessary to create a WebConfig file in the same folder where your angle files are. I did this, but still the same error continues.

Here is my WebConfig:

<?xml version="1.0" encoding="UTF-8"?> 
<configuration> 
<system.webServer> 
    <rewrite> 
        <rules> 
            <rule name="TestDrive"> 
                <match url=".*" /> 
                <conditions logicalGrouping="MatchAll"> 
                  <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" pattern="" ignoreCase="false" /> 
                </conditions> 
                <action type="Rewrite" url="./" appendQueryString="true" /> 
            </rule> 
        </rules> 
    </rewrite> 
</system.webServer> 

Here is the print of the application configuration in IIS

PoolOptions

Could anyone help me?

    
asked by anonymous 12.07.2018 / 16:55

1 answer

0

I had to install this software on the server:

link

After the installation, and with the same WebConfig described in the question, the refresh worked.

    
13.07.2018 / 13:26