stopping SimpleHTTPServer

dsavitsk dsavitsk at e-coli.net
Tue Nov 19 02:01:43 EST 2002


I have an application built on BaseHTTPServer.  Much of the code is borrowed
from SimpleHTTPServer (hence the subject).  In general, it runs on its own,
but it can serve an admin web page and respond to requests made therefrom.

The problem I am having is that I can't kill it remotely.  I put in a
sys.exit(), but that didn't do any good. Can anyone suggest a good way?

Actually, I would like a way to kill it from a command line as well.

Thanks,

-doug





More information about the Python-list mailing list