header rewrite
2 TopicsHeader rewrite for Azure BLOB storage
We have a virtual server configured to direct to an Azure BLOB storage site. Our requirement is that we are using a distinct DNS name rather than the Azure provided name (https://name.blob.core.windows.net). As configured with no iRule we receive an XML error...."Server encountered an internal error. Please try again after some time." According to Azure Storage admin the header response should be rewritten to the Azure URL. The following is what I've attempted via iRule with no luck. when HTTP_REQUEST { HTTP::header replace "ouruniquename" } when HTTP_RESPONSE { HTTP::header replace Location [string map -nocase {ouruniquename azurename.blob.core.windows.net} [HTTP::header Location]] } Does anyone have some insight as to what I have incorrect? Thanks!785Views0likes1CommentHost Header rewrite and uri path modification
Could use some assistance on with modifying my host and uri string as follows: myhost.com/path1/path2/path3/ needs to be rewritten after the ssl offload as: path1.myhost.com/path2/path3/ the paths could vary, I just want to remove the first path in the uri, and move it to the beginning of the host and remove it from the uri string, and leave the remaining uri string in place.185Views0likes1Comment