Application URL redirecting to 'ParentDirectory' page by default.

csethi

Chandan Sethi

Posted on March 25, 2024

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
💖 💪 🙅 🚩
csethi
Chandan Sethi

Posted on March 25, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related