Default document not showing while using IIS as a reverse proxy server
I am using IIS as a reverse proxy for multiple applications using URL rewrite module. I have wrote a rule like “App/?(.*)” to match the application path.
The default document which is a “Home.aspx” file is loading when I put a path like “https://localhost/App/” but, if I remove the last forward-slash like “https://localhost/App” it is not working.
I understand that the rule is written to consider only after the slash, but any way I can rewrite the rule to written the default document without the last slash as well ? Kind suggest.
I am using IIS as a reverse proxy for multiple applications using URL rewrite module. I have wrote a rule like “App/?(.*)” to match the application path.The default document which is a “Home.aspx” file is loading when I put a path like “https://localhost/App/” but, if I remove the last forward-slash like “https://localhost/App” it is not working. I understand that the rule is written to consider only after the slash, but any way I can rewrite the rule to written the default document without the last slash as well ? Kind suggest. Read More