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="/" />--> I am expecting my https://servername/Mapinternal opens indexs.html by default instead of 'Parent Directory' enter image description here <https://i.stack.imgur.com/TI9vc.png> Also when I browse my url 'https://servername/Mapinternal/index.html' site opens and url auto resolves to 'https://servername/Mapinternal'. However when I try https://servername/Mapinternal' it opens Parent directory -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/angular/c9036c2a-f938-4de6-9052-4dd9ddb79d58n%40googlegroups.com.