2008年12月10日

apache2.xでのSSI設定方法

apache2.xでのSSI設定方法が変わっていたのでメモ

まず
a2enmod include
を実行

で、あとは、

AddOutputFilter INCLUDES .html
<Directory /var/www/>
Options Indexes FollowSymLinks Includes
</Directory>

<Files *.html>
ForceType text/html
SetOutputFilter INCLUDES
</Files>
を、
conf.dもしくは、sites-availableの下に追加

0 件のコメント: