サイトタイトルロゴ

Claymore 雑記

CoreserverでSOY CMSを運用する際の覚え書き

というわけで、またもサイトデザインが変わりました。突発的に思いつき、ここ数日しこしこと作業してました……。疲れた。まあ、サイト全体をCMSで管理するというのは前からやってみたかったことなので、今回やっとこさ実現できてよかったかなと。なんで年末年始にそんなことをやっているんだというのはさておき。

今回導入したのは、SOY CMSというシステムです。大豆のアイコンが目印です。ブログと固定ページをひとつのシステム内で運用できるので、最新のブログ記事だけ別ページにも出力できたりして便利です。前は割と小細工して(……というほどでもないか)それを実現してました。

高機能ですしインタフェースもそれなりに使いやすいのですが、不満点がないわけでもなく。新しいシステムであること、そこまでメジャーではない(笑)ことから、とにかくマニュアルやノウハウが不足していました。公式サイトにもマニュアルは用意されているのですが、情報量が少なく肝心なことが書いていないので(汗)、結局、自分であれこれ試してやっと機能を把握しました。このシステムの利用を考える際は、システムコンセプトを書いたPDFにまず目を通すことをお勧めします。基本的な考え方がわかっていないと、正直わけわからんです。

このサイトを運用しているサーバはCoreserverなのですが、ここはとにかくPHPの挙動に癖があるというか変なので(笑)、それに引っかかってえらい苦労しました。今後の覚え書きとして、気がついたところを書いておこうと思います。なお以下の記述は、s35.coreserver.jpでの話です。

まず、Coreserver(おそらくXreaも同様)はPHPの設定に癖があるので、モジュール版ではなくCGIとして実行するようにしないとまともに動きません。.htaccessファイルに以下を書き加え、CGIとして実行するようにします。

mod_gzip_on Off
AddHandler application/x-httpd-phpcgi .php

二行目で、.phpのファイルもCGIとして実行するようにしてます。なお、この設定にした後も特にパーミッションを書き換える必要はありません。

これでとりあえずシステムは動くようになるはずですが、サイトをルートに設定する際、この.htaccessをシステムで書き換えてしまいます。するとシステムが動かなくなり、エラーを出して止まるという事態が起こるので、書き換えの際にも上の記述を消さないようにしなくてはなりません。

<SOY CMSをインストールしたディレクトリ>/common/logic/admin/Site

以下の、DomainRootSiteLogic.phpの38行目から、以下の三行を書き加えておきます。

$tmp[] = "# php on CGI";
$tmp[] = "mod_gzip_on Off";
$tmp[] = "AddHandler application/x-httpd-phpcgi .php";

要するに、新しい.htaccessファイルを出力する際にも、この記述を加えておこうということですな。これで、とりあえず動くようににはなる……はずです。

また何か思い出したら書いておきます。

投稿日:2009.01.08

2009年 | TOP | SOY CMSの覚え書き・追記

コメント

http://webtunnel.ru/2yu
http://webtunnel.ru/36g
http://webtunnel.ru/671
http://webtunnel.ru/154
http://webtunnel.ru/4vq
http://webtunnel.ru/31d
http://webtunnel.ru/5h5
http://webtunnel.ru/2lw
http://webtunnel.ru/4f
http://webtunnel.ru/3gj
http://webtunnel.ru/30
http://webtunnel.ru/6g6
http://webtunnel.ru/5ek
http://webtunnel.ru/2f7
http://webtunnel.ru/1kq
http://webtunnel.ru/24f
http://webtunnel.ru/10w
http://webtunnel.ru/3wu
http://webtunnel.ru/62u
http://webtunnel.ru/431
http://webtunnel.ru/1km
http://webtunnel.ru/3m1
http://webtunnel.ru/wk
http://webtunnel.ru/592
http://webtunnel.ru/x0
http://webtunnel.ru/1nt
http://webtunnel.ru/5yw
http://webtunnel.ru/665
http://webtunnel.ru/3uo
http://webtunnel.ru/1t0

藤春都

2011/02/08 22:06 Kennith Sanders

http://webtunnel.ru/3xf
http://webtunnel.ru/374
http://webtunnel.ru/v5
http://webtunnel.ru/3ks
http://webtunnel.ru/36e
http://webtunnel.ru/43m
http://webtunnel.ru/2wj
http://webtunnel.ru/571
http://webtunnel.ru/17f
http://webtunnel.ru/3cp
http://webtunnel.ru/1ey
http://webtunnel.ru/4e1
http://webtunnel.ru/2wx
http://webtunnel.ru/2qp
http://webtunnel.ru/5cz
http://webtunnel.ru/1jn
http://webtunnel.ru/it
http://webtunnel.ru/3fo
http://webtunnel.ru/4qf
http://webtunnel.ru/56z
http://webtunnel.ru/md
http://webtunnel.ru/34m
http://webtunnel.ru/22m
http://webtunnel.ru/hn
http://webtunnel.ru/3xa
http://webtunnel.ru/15n
http://webtunnel.ru/yy
http://webtunnel.ru/il
http://webtunnel.ru/4sw
http://webtunnel.ru/2i9

藤春都

2011/02/09 04:34 Henry Sharp

http://webtunnel.ru/42u
http://webtunnel.ru/1qg
http://webtunnel.ru/4he
http://webtunnel.ru/4w2
http://webtunnel.ru/5e7
http://webtunnel.ru/4rm
http://webtunnel.ru/nf
http://webtunnel.ru/1j5
http://webtunnel.ru/15b
http://webtunnel.ru/6ga
http://webtunnel.ru/2hn
http://webtunnel.ru/1ix
http://webtunnel.ru/9g
http://webtunnel.ru/1d4
http://webtunnel.ru/ax
http://webtunnel.ru/3vy
http://webtunnel.ru/2w3
http://webtunnel.ru/4w4
http://webtunnel.ru/by
http://webtunnel.ru/139
http://webtunnel.ru/633
http://webtunnel.ru/2vq
http://webtunnel.ru/5ig
http://webtunnel.ru/6cp
http://webtunnel.ru/ak
http://webtunnel.ru/325
http://webtunnel.ru/4me
http://webtunnel.ru/4yd
http://webtunnel.ru/5xa
http://webtunnel.ru/15

藤春都

2011/02/10 08:12 Basil Vaughan

http://obschalka.ru/3s0
http://obschalka.ru/20b
http://obschalka.ru/2qp
http://obschalka.ru/1fh
http://obschalka.ru/1e4
http://obschalka.ru/1lu
http://obschalka.ru/6dv
http://obschalka.ru/2c2
http://obschalka.ru/zq
http://obschalka.ru/289
http://obschalka.ru/1us
http://obschalka.ru/1mp
http://obschalka.ru/1p2
http://obschalka.ru/15i
http://obschalka.ru/1ho
http://obschalka.ru/6dc
http://obschalka.ru/5ry
http://obschalka.ru/5do
http://obschalka.ru/1v7
http://obschalka.ru/217
http://obschalka.ru/1wz
http://obschalka.ru/1q0
http://obschalka.ru/37c
http://obschalka.ru/4zs
http://obschalka.ru/2iw
http://obschalka.ru/31t
http://obschalka.ru/3ys
http://obschalka.ru/57g
http://obschalka.ru/3a6
http://obschalka.ru/6ev

藤春都

2011/02/13 19:55 Kandy Morrison

http://talkname.ru/6g9
http://talkname.ru/671
http://talkname.ru/33i
http://talkname.ru/52t
http://talkname.ru/yi
http://talkname.ru/5iv
http://talkname.ru/1bn
http://talkname.ru/25t
http://talkname.ru/24o
http://talkname.ru/1z7
http://talkname.ru/2c7
http://talkname.ru/4s3
http://talkname.ru/142
http://talkname.ru/10c
http://talkname.ru/1ph
http://talkname.ru/3pl
http://talkname.ru/6gy
http://talkname.ru/2cf
http://talkname.ru/3gs
http://talkname.ru/3sk

藤春都

2011/02/17 09:07 Blair Carson

http://betaportal.ru/rh
http://betaportal.ru/nf
http://betaportal.ru/2fc
http://betaportal.ru/4bh
http://betaportal.ru/tk
http://betaportal.ru/66
http://betaportal.ru/qs
http://betaportal.ru/4to
http://betaportal.ru/1o
http://betaportal.ru/4db
http://betaportal.ru/2l
http://betaportal.ru/59e
http://betaportal.ru/5bj
http://betaportal.ru/34o
http://betaportal.ru/39a
http://betaportal.ru/6ch
http://betaportal.ru/676
http://betaportal.ru/67
http://betaportal.ru/46b
http://betaportal.ru/ln

藤春都

2011/02/19 04:31 Kristine Tanner

Then <a href=http://papoziw.abgefahrene-website.de/novolog-flexpen-patient-assistance/>flexpen size</a> hunger increase <a href=http://papoziw.abgefahrene-website.de/pantoprazole-$4.00/>pantoprazole 10</a> peaceful apparently <a href=http://papoziw.abgefahrene-website.de/bactroban-2-cream/>bactroban ointment used for</a> alternation threats <a href=http://papoziw.abgefahrene-website.de/novation-hospira-heparin/>hospira</a> state elegantly <a href=http://papoziw.abgefahrene-website.de/what-is-malarone/>buy malarone</a> search slowly <a href=http://papoziw.abgefahrene-website.de/berna-products/>berna dean he's mine</a> blue busies <a href=http://papoziw.abgefahrene-website.de/bacteriostatic/>bacteriostatic saline v s lidocaine</a>

2011/12/31 10:10 Unsorolosynib

Hi! my identify is Jully. I would like to meemeet admissible brat :)
This is my homepage - http://jskdh5jkd7djh4.com/l

2012/02/01 21:18 Senoembor

SC35Yq <a href="http://mshmdgnkkxal.com/">mshmdgnkkxal</a>, [url=http://oskfrcrnknjw.com/]oskfrcrnknjw[/url], [link=http://ezhnivmqekxg.com/]ezhnivmqekxg[/link], http://tfqfuhtwthfd.com/

2012/02/06 03:15 wboblrpg

コメントを投稿する

名前:

トラックバック

開発ブログ(2009/01/23 22:31)

この記事へのトラックバック:

Copyright©2001-2011 Miyako Fujiharu All Rights Reserved.
Powered by SOY CMS