WP Super Cache
自宅サーバーUbuntuServerPPC9.10に開設したhubuntu.netにWP Super Cacheプラグインをインストールしてみました。
以下のエラーが出ています。
Apacheモジュールが足りないということです。
欠けているApacheモジュール
次の Apache モジュールが見つかりません。これらのモジュールがなしの場合、ハーフオンモードで動作します。フル Supercache モードでは、閲覧者は壊れたページや古いデータを閲覧するかもしれません。* mod_headers – supercache のページでキャッシングの設定が必要です。IE7 ユーザーはこのモジュールがないと古いページを参照します。
* mod_expires – supercached ページで有効期限を設定してください。このモジュールがないと、読者は再読込みしたりコメントを残しても新しいページを参照できないかもしれません。
以下の2つのモジュールを追加します。
$ sudo /usr/sbin/a2enmod headers $ sudo /usr/sbin/a2enmod expires
実効結果です。
Enabling module headers.
Run ‘/etc/init.d/apache2 restart’ to activate new configuration!
Enabling module expires.
Run ‘/etc/init.d/apache2 restart’ to activate new configuration!
apache2を再起動します。
$ sudo /etc/init.d/apache2 restart
$ sudo apache2ctl -M で組み込まれているモジュールを再確認します。
expires_module (shared)
headers_module (shared)
が追加されたことが確認できます。
WP Super Cacheの管理画面に行って再読み込みをすると、先のエラーメッセージが消えています。
Related Posts
No Comments »
RSS feed for comments on this post. TrackBack URL
Leave a comment
You must be logged in to post a comment.