| Python under OmniHTTPd | |
| 1.0 | obtain OmniHTTPd v1.01 from Omnicron Technologies Corporation and do a typical install |
| 2.0 | start up OmniHTTPd - you will see a new icon in the system tray |
| 3.0 | right click on the icon and select Properties |
| 4.0 | click on Server tabbed dialog and enter 127.0.0.1 in Site Address and change Default Index page if desired |
| 5.0 | click on Advanced tabbed dialog, select Enable Perl CGI support and enter the path to python.exe |
| 6.0 | only the top level script needs to have an extension of .pl (eg. <.form action=mail.pl>.) |
| 7.0 | place your python scripts in the /cgi-bin directory and your HTML pages in the /htdocs directory |
| 8.0 | point your browser to http://127.0.0.1/ (or http://localhost/) to test your pages and scripts. (cgi's using METHOD=POST needs special handling) |
| 9.0 | to quit, right click on the OmniHTTPd icon and select Shut Down |
Xitami can even handle the "pound bang" notation (ie. #!/usr/bin/python). It takes the last part of the line and looks for an executable of that name in your path! That means you can call your cgi scripts as .cgi or .py (or any extension for that matter, as long as you supply the executable).
| Python under Xitami | |
| 1.0 | obtain Xitami from iMatix and install |
| 2.0 | start up Xitami - you will see a new icon in the system tray |
| 3.0 | place your python scripts in the /cgi-bin directory and your HTML pages in the /webpages directory (these destinations may be changed) |
| 4.0 | point your browser to http://127.0.0.1/ (or http://localhost/) to test your pages and scripts. (cgi's using METHOD=POST needs special handling) |
| 5.0 | to quit, right click on the Xitami icon and select Terminate |