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?

jameshfisher
  • 34,029
  • 31
  • 121
  • 167

0 Answers0