[Tutor] bug hunt

Kirk Bailey idiot1 at netzero.net
Sun Oct 5 11:27:25 EDT 2003


The servers do not respect ssi includes. Yet the modules list code to handle 
such, although I am not up to speed enough to debug them. As this is defined in 
the modules, I have the qurious duty to repport a possible bug in the 
cgiHTTPServer.py module.

Also, it does not know what to do with the standard .shtml extension, and 
confuses the browser.

Whom should I contact on this matter?
Again, here is the basic cgiserver script:


#!C:\Python22\pythonw.exe
# COPYRIGHT 2003 Steve Holden, free for personal use.
# Please visit http://www.holdenweb.com/ to learn more!
#
import CGIHTTPServer, BaseHTTPServer, os
os.chdir ('.\web')	# make the web directory current
httpd=BaseHTTPServer.HTTPServer(('',8080), CGIHTTPServer.CGIHTTPRequestHandler)
httpd.serve_forever()
#

It  handles regular HTML fine, and cgi, and .html files without a glitch.


-- 

-- 

end

Cheers!
         Kirk D Bailey

  +                              think                                +
   http://www.howlermonkey.net  +-----+        http://www.tinylist.org
   http://www.listville.net     | BOX |  http://www.sacredelectron.org
   Thou art free"-ERIS          +-----+     'Got a light?'-Prometheus
  +                              kniht                                +

Fnord.





More information about the Tutor mailing list