I've installed "IIS Application Request Routing (ARR) 2.5" and "IIS URL Rewrite 2.0" on IIS 7.5 with Plesk in order to create reverse proxy/cache for program listening on localhost.
Problem: URL rewrite doesn't work for absolute URI, it works only for relative URL. According to documentation [1], this is expected behaviour, but example [2] shows that rewrite should work also for absolute URI if proxy is enabled. Unfortunately, the error (500.19 / 0x80070002) is the same even if proxy is enabled. Is there some IIS setting I have to modify? I use default installation provided by hosteurope.de. I checked the path to module ApplicationRequestRouting and it's valid.
Here is web.config snippet:
[1] - http://www.iis.net/learn/extensions/url-rewrite-module/url-rewrite-module-configuration-reference#Rewrite_action
[2] - http://www.iis.net/learn/extensions/url-rewrite-module/reverse-proxy-with-url-rewrite-v2-and-application-request-routing
Also I found this line in applicationHost, could it be somehow related to the problem?
↧