Python web server weirdness SOLVED

Steven D'Aprano steve+comp.lang.python at pearwood.info
Thu Jun 7 09:55:49 EDT 2018


On Thu, 07 Jun 2018 13:32:10 +0000, Steven D'Aprano wrote:

[...]
> python3.5 -m http.server 8000
> 
> What I expected was a directory listing of my current directory.
> 
> What I got was Livejournal's front page.

Never mind -- it turned out I had an "index.html" file in the directory 
which had been wget'ed from LiveJournal. When I deleted that, it worked 
as expected.




-- 
Steven D'Aprano
"Ever since I learned about confirmation bias, I've been seeing
it everywhere." -- Jon Ronson




More information about the Python-list mailing list