LoginSignup
0
0

More than 1 year has passed since last update.

Web サービスのサーバー構築で躓いたところ

Last updated at Posted at 2021-09-27

サーバーの構築

・さくらのサーバーで構築

pythonをcgiで動かすには、下記のように書く必要あり
下記の#!も書く必要あり。

hehho.cgi
#!/usr/local/bin/python

print("Content-Type: text/html; charset=UTF-8")
print("")

print("Hello, World!")

最初は教本のコードをそのまま使ったらエラーに。。。

#のコメントを削除したら動くようになりました。

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