OSDir


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Python web server weirdness


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