URL routing is working fine but when i create application in IIS website, application stop working with error
HTTP Error 500.52 - URL Rewrite Module
This rule is working fine (http://abcd/)
<rule name="AngularJS Routes" stopProcessing="false">
<match url="(.*)" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="/"/>
</rule>
But when i change it application it gives error (http://abcd/app/)
<rule name="AngularJS Routes" stopProcessing="false">
<match url="(^app/.*)" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="/app/"/>
</rule>
I have searched on google but found no solution. Expert guides is need.Thanks
