Re: Python web server weirdness SOLVED

2018-06-08 Thread Gregory Ewing

Steven D'Aprano wrote:
Never mind -- it turned out I had an "index.html" file in the directory 
which had been wget'ed from LiveJournal.


That's okay, then. The other possibility was that your computer
had been recruited into an evil botnet set up by LiveJournal
to create backup servers for their site...

--
Greg
--
https://mail.python.org/mailman/listinfo/python-list


Re: Python web server weirdness SOLVED

2018-06-07 Thread Steven D'Aprano
On Thu, 07 Jun 2018 13:32:10 +, 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

-- 
https://mail.python.org/mailman/listinfo/python-list