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 12 views 12 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 Ride-sharing and Robotaxis Decopled Revenue Model Problems February 17, 2025 Web Raiders run the Global Brut Force attack from 2.5M IPS February 12, 2025 Generator Tech, Robot, risk of emerging February 11, 2025 Robotaxis is bringing in the lift dallas’ with ‘2026 with’ February 11, 2025 Why did Qualcom lose his first leadership February 10, 2025 Lenovo’s ThinkPad X 1 Carbon has rewrite my MacBook Pro February 5, 2025 Leave a Comment Cancel Reply Save my name, email, and website in this browser for the next time I comment.