{"version":"1.0","type":"rich","url":"https://shokai.hatenadiary.org/entry/20090527/1243449713","blog_title":"\u6a4b\u672c\u8a73\u89e3","title":"\u3064\u3044\u3067\u306bcgi\u3067python\u3092\u5b9f\u884c\u3059\u308b\u74b0\u5883\u3082\u4f5c\u3063\u305f","width":"100%","image_url":null,"height":"190","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/shokai/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshokai.hatenadiary.org%2Fentry%2F20090527%2F1243449713\" title=\"\u3064\u3044\u3067\u306bcgi\u3067python\u3092\u5b9f\u884c\u3059\u308b\u74b0\u5883\u3082\u4f5c\u3063\u305f - \u6a4b\u672c\u8a73\u89e3\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://shokai.hatenadiary.org/","author_name":"shokai","published":"2009-05-27 03:41:53","description":"\u524d\u306bRuby\u3092cgi\u3067\u52d5\u304b\u3059\u305f\u3081\u306bapache\u306f\u8a2d\u5b9a\u3057\u3066\u3042\u308b apache2\u3067mod_ruby\u3067ruby\u3092cgi\u3067\u52d5\u304b\u3059\u8a2d\u5b9a - \u6a4b\u672c\u8a73\u89e3 \u3064\u3044\u3067\u306bPython\u3082cgi\u3067\u52d5\u304b\u305b\u308b\u3088\u3046\u306b\u3059\u308b sudo apt-cache search python | grep apache\u3057\u3066\u307f\u305f\u3089\u4e01\u5ea6\u826f\u3044\u306e\u304c\u3042\u3063\u305f\u306e\u3067\u3001apt\u3067mod_python\u5165\u308c\u308c\u305f sudo apt-get install libapache2-mod-python /var/www/python.cgi \u3068\u3057\u3066utf8\u3067\u4fdd\u5b58\u3001chmod 755\u3082\u3059\u308b #!/usr/bin/python print \"Content-Type: t\u2026","categories":["Python","Ubuntu","VMWare"]}