Serving html and python cgi through

Mads Nielsen madsovenielsen at
Wed Apr 22 13:03:39 CEST 2009

Hello all.

im tinkering with some beginner cgi stuff in python. (form processing)
i have a basic html document with a form and some inputs and i have a
file to process the form.

how does one serve html and python cgi through the BaseHTTPServer included
with python 2.6 ?

i have tried to go to http://localhost:8000/index.html but no go. i get a
Error response 501 Unsupported method ('GET').

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list