Getmedia Perminant URL 404 with File extension

Jacob Butler asked on August 3, 2017 11:58

When selecting images within pages in my local environment, the permanent URL displays with the file extension for example, "/getmedia/01bba7fc-c12d-4ea8-b95f-659118f6b97d/counselling.png" which is returning a 404. If I remove the file extension the url is then valid.

This works fine on both our UAT and Live environments, so I'm led to believe its due to my local configuration.

Any help surrounding this would be appreciated.

Thanks

Correct Answer

Juraj Ondrus answered on August 3, 2017 12:16

Hi,
Could you please check your URLs and SEO settings as well as the web.config file and compare it with the Custom extensions setup? Common issue is missing the runAllManagedModulesForAllRequests parameter in the config file or it is on a wrong spot.

1 votesVote for this answer Unmark Correct answer

Recent Answers


Jacob Butler answered on August 3, 2017 12:33

The above was missing, which I've now added and its working as expected.

Many thanks!

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.