Thread:Project:Support desk/500 Internal Server Error after Migration/reply (14)

Hi again!

> Assume, we have a wiki link [[Media:file.tar.gz|Download]]. This is transformed into a link /images/7/28/file.tar.gz by wiki. When I click on that link, I get the 404. But when I copy the link and erase the middle part, meaning 7/28/ for example, then suddenly I can download the old file. In fact, this is consistent with the fact this file is physically available under /var/www/file.tar.gz.

I just checked that again with another wiki and the correct path structure does contain these folders (like 7/28/) inbetween. E.g. also. The structure of the link as MediaWiki creates it, is correct. What is not correct is that the old files are located under images/ directly.

Above you wrote that on the old installation the images also were stored directly in images/ and not in subfolders, but that download worked - also with the folders (like 7/28/) inbetween. Did you use rewrite rules to make that work? I think that is what is missing currently.