I would like a dead-simple web/file server (ideally, something no more complicated than "run this command with these flags") which also allows specifying mime-types based on file extensions. Something like this would be great:
my-file-server --root=path/to/files --additional-mime-types="foo|text/plain"
Does this exist? What are my options? If not, what's the next best thing?
This is in a Linux environment, and I'm only serving the files on localhost.