How to remove HTTP Header on IIS level:-
Powershell Command:
Import-Module WebAdministrationClear-WebConfiguration "/system.webServer/httpProtocol/customHeaders/add[@name='X-Powered-By']" .
Result:-
Above command will remove the HTTP Response Headers.
No comments:
Post a Comment