LoginSignup
3
3

More than 5 years have passed since last update.

nginxでperl cgi

Posted at

http://abeerforyou.com/?p=429
とか
http://library.linode.com/web-servers/nginx/perl-fastcgi/centos-5
を見て対応。

$doucmentrootはそのままだと/usr/share/nginxのようにnginxデフォのところになってしまうので、必要に応じて変える。

はまったのは、scriptの改行コード。Windows環境で編集されたもののデプロイを頼まれたのだけど、改行コードDOSになっていることが原因で死んでた。

全部emacsでいうところのutf-8-unixにしたら動きました。

3
3
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
3
3