Invalid command ‘AuthGroupFile’, perhaps misspelled or defined by a module not included in the server configuration

Invalid command ‘AuthGroupFile’, perhaps misspelled or defined by a module not included in the server configuration

このエラーが出た場合

■.htaccessの改行コード
nkf -w -Lu –overwrite .htaccess

■a2enmod authz_groupfile

上記がポイントになる可能性がある。

カテゴリー: 未分類

WEBサイト高速化

■ブラウザキャッシュ

a2enmod expires
/etc/init.d/apache2 restart

.htaccess

ExpiresActive On

# キャッシュの初期化(1秒に設定)
ExpiresDefault “access plus 1 seconds”

# MIME Type ごとのキャッシュ設定
ExpiresByType text/css “access plus 1 weeks”
ExpiresByType text/js “access plus 1 weeks”
ExpiresByType text/javascript “access plus 1 weeks”
ExpiresByType image/gif “access plus 1 weeks”
ExpiresByType image/jpeg “access plus 1 weeks”
ExpiresByType image/png “access plus 1 weeks”
ExpiresByType image/svg+xml “access plus 1 year”
ExpiresByType application/pdf “access plus 1 weeks”
ExpiresByType application/javascript “access plus 1 weeks”
ExpiresByType application/x-javascript “access plus 1 weeks”
ExpiresByType application/x-shockwave-flash “access plus 1 weeks”
ExpiresByType application/x-font-ttf “access plus 1 year”
ExpiresByType application/x-font-woff “access plus 1 year”
ExpiresByType application/x-font-opentype “access plus 1 year”
ExpiresByType application/vnd.ms-fontobject “access plus 1 year”

■画像最適化
aptitude install optipng

optipng -o2 test.png

カテゴリー: 未分類

mecab-ipadic-neologd

■参照

https://github.com/neologd/mecab-ipadic-neologd/blob/master/README.ja.md

カテゴリー: 未分類
最近の投稿
カテゴリー