SSIを使う

SSIを使うには、.htaccessで以下の記述が必要です。
最近、久しぶりに目にする機会があったもので、まとめておきます。

1
2
3
4
<files ~ "\.html$">
options +Includes
AddHandler server-parsed .html
</files>

Tagged with:
 

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

*

次のHTML タグと属性が使えます: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <img localsrc="" alt=""> <pre lang="" line="" escaped="" highlight="">