MovableTypeをPSGI対応でプラグインを置こうとした問題
Mojoliciousで何を作るかイメージわかないので寄り道
モジュールの使用テストとして以前扱ったMovableTypeを使用する
なんか私が最初に扱ったときと比べてPSGIとか対応可能になっているのでちょっとインストールしなおして対応
簡単なサンプルをダウンロードして配置
https://github.com/movabletype/Documentation/raw/master/assets/Japanese-plugin-dev/files/MyPlugin01.zipのサンプルをダウンロードして配置
システムのプラグインで確認
…あれ?ない?
なんでないの???
ちょっとまって……………………………ん?そういえば今回はPSGIにした
↓
CGIにアクセスしていないということになる
↓
プラグインをロードしていないのでは?
↓
じゃあ、Webサーバを再起動すればよいのか?
↓
[root@localhost ~]# service httpd restart Stopping httpd: [ OK ] Starting httpd: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this message [ OK ] [root@localhost ~]#
再起動した
↓
だめ
↓
じゃあ、プロセスを起動しなおす
↓
[root@localhost ~]# service supervisord restart supervisord を停止中: [ OK ] supervisord を起動中: [ OK ] [root@localhost ~]#
↓
あった