Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove X-Powered-By: ARR/3.0 from IIS Web Farm?

I am asked to remove all powered-by response headers from an IIS/ARR hosted website. As always I followed the instructions from this article. I applied the required registry configuration , this is the only option worked for me before. The other options does not seem to be a solution for me because the second option is deprecated and the third option does not completely remove the header. I used this solution (Using the Registry key) successfully in the past on other IIS based websites but now it is not working in this case.Any Idea about how can I debug the problem or another potential solution is highly appreciated.

like image 842
Behnam Esmaili Avatar asked Oct 23 '25 11:10

Behnam Esmaili


1 Answers

You can find 2 "X-powered-By" headers if you use the arr.

One is X-powered-By: ASP.NET .To disable this, remove it from Response Headers module from both arr server , back-end server ,server level and website level.

enter image description here

Second is X-powered-by: ARR/3.0 .To disable this ,open the arr_scheme.xml file in ARR server.

C:\Windows\System32\inetsrv\Config\Schema\arr_schema.xml

enter image description here

Find this attribute arrResponseHeader and change the defaultValue to false.

enter image description here

Save to file and restart the server, all "X-powered-by" header disappear.

This is test result:

enter image description here

like image 184
samwu Avatar answered Oct 25 '25 07:10

samwu



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!