California Consumer Privacy Act (CCPA) Opt-Out Icon by info.odysseyx@gmail.com August 20, 2024 written by info.odysseyx@gmail.com August 20, 2024 0 comment 4 views 4 problem Most of you might have experienced a situation where you have used IIS URL Rewrite to redirect traffic from one site to another. However, in some cases, the Rewrite rule does not work as expected and returns ‘HTTP Error 404.4 – Not Found’. The 404.4 status code means that there is no handler configured. This means that the file name extension of the requested URL does not have a handler configured on the web server to handle the request. For example, there are two sites hosted on IIS. Site1 is bound to port 81 and Site2 is bound to port 82. The requirement is that all requests coming to Site1 (port:81) should be rewritten to Site2 (port:82). The rule below is configured as follows: http://localhost:82/{R:0}” appendQueryString=”true” /> way out First, you need to make sure that you have the correct module installed in IIS. To do this, go to IIS Manager and open Modules. Make sure you have the correct URL Rewrite module installed within your module. You can get the latest IIS URL Rewrite module from this link. URL Rewriting: Official Microsoft IIS Site If you have the correct modules installed as highlighted above, then next check the failed request tracing log for the request and make sure the correct rule is being called and the URL is being updated with the new rule. In this case, you can see that the “RewriteToPort82” rule is called and the request URL is changed. http://roalhost:82/. Also make sure HttpStatus=”404″ and HttpSubStatus=”4″. To resolve the issue, go to IIS Manager, open the Application Request Routing Cache module, and in the right-hand Actions pane, open Server Proxy Settings. You can find the option to enable proxy in the Server Proxy Settings. Check the Enable Proxy checkbox and click Apply in the right Actions pane as indicated in the image below. After that, you need to restart IIS. This will resolve the URL rewriting issue. To learn more about URL rewriting in IIS, follow this article. Using the URL Rewrite Module | Microsoft Learn Source link Share 0 FacebookTwitterPinterestEmail info.odysseyx@gmail.com previous post Keegstra Postdoctoral Researcher, Michigan State University, USA next post Just a moment… You may also like Copilot for Microsoft Fabric – Starter Series Healthcare Focus September 12, 2024 More ways to sell through the marketplace with professional services September 11, 2024 Two upcoming Copilot and M365 for SMB Community offerings September 11, 2024 Copilot for Microsoft 365 Adoption Trainings September 11, 2024 Omdia’s perspective on Microsoft’s SSE solution September 11, 2024 Extend Viva Connections with pre-built 3rd party Adaptive cards September 11, 2024 Leave a Comment Cancel Reply Save my name, email, and website in this browser for the next time I comment.