Posted by on | |
如何在iis 執行某程式的某cgi呢??
===========================
1.設定
站台 --> 按右鍵選內容 --> 主目錄 --> 設定 --> 應用程式對應 --> 新增

執行檔(Executable): "C:\Python23\python.exe" -u "%s" "%s"
副檔名(Extension): .py

Change the extension and path-to-Python to suit your installation. But
the -u and quotes are important and can quietly bite you in the future
if you forget them.

2.執行
http://localhost/hahaha.py

0 意見: