server:.htaccessでSSIの設定

.htaccessを使ってSSIの設定をしたのでメモ(*'-')

.htaccessという名前のファイルを作成して中身に以下を記述

+Options Includes
AddType text/html shtml html
AddHandler server-parsed shtml html


.htaccessファイルが有効になっているかどうかは
 apacheの設定ファイルのAllowOverrideの設定を確認
 Options と FileInfoが有効になっていればOKです('-'*)/
 あとは AllowOverride All とか(*'□')