Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jonathan Roberts 409 posts 1063 karma points
    Jul 11, 2022 @ 12:39
    Jonathan Roberts
    0

    UmbracoFileSystemProviders.Azure - missing media gives 200 status

    Hi,

    Im using 8.18.4 - set up on Azure using UmbracoFileSystemProviders.Azue.

    When a media file is missing it is giving a status of 200.

    www.xxx.com/media/3456667/mymissingfile.pdf gives a 200

    www.xxx.com/anyurl/3456667/mymissingfile.pdf gives a 404

    Any ideas how I can get a 404 status for missing PDFs in the Media?

    Thanks

  • Jonathan Roberts 409 posts 1063 karma points
    Jul 11, 2022 @ 12:59
    Jonathan Roberts
    0

    I think we have found the fix: Turn Custom Errors OFF and update HTTPErrors to

    <httpErrors errorMode="Custom" existingResponse="Replace">
    
Please Sign in or register to post replies

Write your reply to:

Draft