http.server (SimpleHTTPServer) serve file.html instead of dir (using cmd)

Is it possible to serve not a index of a directory but rather an html file using Python SimpleHTTPServer on path ‘/’? Having directory with one file login.html serves a directory index on path ‘/’. python -m SimpleHTTPServer 7800 I want a content of login.html on ‘/’. Is that possible? >Solution : SimpleHTTPServer (or http.server… Read More http.server (SimpleHTTPServer) serve file.html instead of dir (using cmd)