serveStaticFileDirectory

This serves a directory full of static files, figuring out the content-types from file extensions. It does not let you to descend into subdirectories (or ascend out of it, of course)

version(with_breaking_cgi_features)
serveStaticFileDirectory
(
string urlPrefix
,
string directory = null
,
bool recursive = false
)

Meta