Python web server weirdness

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


I'm following the instructions here:

https://docs.python.org/3/library/http.server.html


and running this from the command line as a regular unprivileged user:

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.

W.T.F.???


-- 
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