Forum Discussion

ibrahim_37929's avatar
ibrahim_37929
Icon for Nimbostratus rankNimbostratus
Jul 05, 2018

how to remove sharepoint version from http header

hi

 

how can I remove sharepoint version number from http header? I wrote the I rule below but MicrosoftSharePointTeamServices part is not working?

 

when HTTP_RESPONSE {

 

HTTP::version "1.1"

 

HTTP::header remove Server

 

HTTP::header remove X-Powered-By

 

HTTP::header remove X-AspNet-Version

 

HTTP::header remove MicrosoftSharePointTeamServices

 

HTTP::header insert X-Frame-Options "SAMEORIGIN"

 

}

 

  • Hi,

     

    we had the issue and we implemented the below iRule, similar to your and no issues on the SharePoint.

     

    when HTTP_RESPONSE { HTTP::header remove MicrosoftSharePointTeamServices HTTP::header remove X-Powered-By HTTP::header remove X-AspNet-Version }

     

    Check with the application team.

     

    Hope it help.

     

    Regards