title: How can I get mod_xsendfile to guess the MIME type of the file to serve?
body: <p>I am using <a href="https://tn123.org/mod_xsendfile/" rel="noreferrer"><code>mod_xsendfile</code></a> to serve static files using Apache. However, I cannot find a way to get Apache to set a <code>Content-type</code> 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 <code>mod_xsendfile</code>?</p>