riofly
riofly

Reputation: 1765

How to Redirect on Status 404 in Microsoft Azure Archive Blob

When there is a call to a blob resurce than it is not exists, I need to convert 404 status to 301 status, to redirect user to another resource.

Is it possible?

For example, my blob contains theese file:

Then when user call http://my-storage-id.blob.core.windows.net/file1.jpg he will receive the image.
When user call http://my-storage-id.blob.core.windows.net/file999.jpguser will redirect to http://my-website.com/404-image-handler.

Thanks

Upvotes: 2

Views: 220

Answers (1)

Gaurav Mantri
Gaurav Mantri

Reputation: 136306

When there is a call to a blob resurce than it is not exists, I need to convert 404 status to 301 status, to redirect user to another resource.

Is it possible?

As of today it is not possible.

Upvotes: 1

Related Questions