----
オープンソースのソーシャルネットワークエンジン elgg をインストールしてみようと思いやってみたら、最初の Requirements check でいきなり以下のエラーになった。
We think your server is running the Apache web server.
The rewrite test failed and the most likely cause is that AllowOverride is not set to All for Elgg's directory.
This prevents Apache from processing the .htaccess file which contains the rewrite rules.
A less likely cause is Apache is configured with an alias for your Elgg directory and you need to set the RewriteBase in your .htaccess.
There are further instructions in the .htaccess file in your Elgg directory.
どうやら、apache の Rewrite が動かないらしい。
言われるがままに apache のConfig ファイルを確認してみるが、AllowOverride もAll にしているし、Alias も設定していない。
自分で簡単な Rewrite をする .htaccess を書いて実験してみたら、ちゃんと Rewrite されていたので、どうやら elgg のテストプログラムのほうがおかしいらしい。
とはいえ、テストに通らないと Next ボタンが押せないので次に進めない。
困ったので、検索して解決方法を探すと。。。
elgg/install/
$this->
を
$this->
にすればよいらしい。
さっそくやってみる。
書き換えて Refresh ボタンを押すと
Your server does not support automatic testing of the rewrite rules.
You can continue the installation, but you may experience problems with your site. You can manually test the rewrite rules by clicking this link: test.
You will see the word success if the rules are working.
あんたのサーバは自動テストに対応していないので、
test のリンクをクリックすると自分で確認できます。
だそうだ。
test をクリックしたら success と表示されました。
Next ボタンを押して次に進む。
めでたし。
コメントする