Dateien hochladen nach „“
This commit is contained in:
parent
e091c6e022
commit
70ddd67165
14
PythonHTTP.py
Normal file
14
PythonHTTP.py
Normal 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()
|
||||
|
Loading…
Reference in New Issue
Block a user