Blog: 2025-11-28

From razwiki
Revision as of 00:18, 28 November 2025 by Razzi (talk | contribs)
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

wiki.cgi #idea