DEV Community

Chandan Sethi
Chandan Sethi

Posted on

Application URL redirecting to 'ParentDirectory' page by default.

I hosted an ANgular app on IIS server. My web config entry has Rewrite url = "/MapInternal" however the url opens the parent Directory instead of Index.html .

Can someone please help what I am missing here?

        <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
    </conditions>
    <action type="Rewrite" url="/MapInternal" />
    <!--<action type="Rewrite" url="/" />-->
Enter fullscreen mode Exit fullscreen mode

Top comments (0)