0
0

More than 1 year has passed since last update.

Pythonで書いたCGIが動かない時真っ先に確認するたった2つのポイント

Posted at

TL;DR

  • chmod 755しました?
  • 実行したいファイルの改行文字、LFですか?

環境

  • RHEL
  • httpd
  • 開発はVSCode on Windows

詳細

  • Windows上で開発している限り動作する
  • Pythonファイルの拡張子をcgiに変更してRHELのhttpd領域にアップロードしても動かない!
  • 調べて毎回上記2点で解決するので書いた。コードを疑う前にまずチェックしてみよう的なノリ。
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0