How can I get mod_xsendfile to guess the MIME type of the file to serve?
Asked Answered
L

0

7

I am using mod_xsendfile to serve static files using Apache. However, I cannot find a way to get Apache to set a Content-type header based on the extension of the file it serves using xsendfile. This seems a little odd, since Apache is able to do this when serving static files normally. Is there a way to get Apache to do the same thing when serving files using mod_xsendfile?

Lekishalela answered 1/5, 2014 at 16:8 Comment(2)
@Adrian Nope! Gave up and did it myself, IIRC.Lekishalela
Thanks. Same thing here. Works, but i'm curious what's wrong...Endocrinotherapy

© 2022 - 2024 — McMap. All rights reserved.