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
?
Asked
Active
Viewed 259 times
7

jameshfisher
- 34,029
- 31
- 121
- 167
-
3@Adrian Nope! Gave up and did it myself, IIRC. – jameshfisher Nov 22 '14 at 18:57
-
1Thanks. Same thing here. Works, but i'm curious what's wrong... – Bobby Tables Nov 24 '14 at 06:56