I know this is a stupid question, but I could not find the Information anywhere. I am maintaining a website for an old client and up until now I used the X-SENDFILE header to control the Access to a rather large file.
His Server administrators now updated Apache which broke the website. After doing some research I found out, that I had to remove the
XSendFileAllowAbove Option and instead add
XSendFilePath. Since this option apparently can not be set in the .htaccess file (I read about that, I also tried it to be sure) the server administrators have to add it directly. However, they refuse to do that and say that mod_xsendfile is deprecated. I searched to verify that but can not find it anywhere.
Also, they refuse to suggest an alternative, so if you guys know for any I¨d be thankful :).
The file is too large to be served with PHP (at least not easily), I have no access to the server, I can only access the website code.
As soon as I posted the question I found this post, which seems to at least suggest that mod_xsendfile is working perfectly well in Apache 2.4: https://superuser.com/questions/1035459/is-mod-xsendfile-not-compatible-with-apache-2-4 This does not answer my question completely, but at least it's a start and may help someone searching for the same and finding this question.