Dateien hochladen nach „“

This commit is contained in:
jens 2020-11-23 17:23:05 +01:00
parent e091c6e022
commit 70ddd67165

14
PythonHTTP.py Normal file
View File

@ -0,0 +1,14 @@
import BaseHTTPServer
import CGIHTTPServer
import cgitb; cgitb.enable()
server = BaseHTTPServer.HTTPServer
handler = CGIHTTPServer.CGIHTTPRequestHandler
server_address = ('',8000)
handler.cgi_directories = ['/info-mon']
#handler.cgi_directories = ["/cgi-bin/"]
httpd = server(server_address, handler)
httpd.serve_forever()