Blog: 2025-11-28
Jump to navigation
Jump to search
This cgi script
hack $ cat cgi-bin/hello.py
#!/usr/bin/env python3
print('Content-type: text/html')
print()
print('<h2>WHOA</h2>')
This server command
python3 -m http.server --cgi 8000
Good https://stackoverflow.com/questions/30516414/how-to-run-cgi-hello-world-with-python-http-server