kotaoueはそんなかんじ

kotaoueの最新情報。

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の下に追加


No Comments

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <img localsrc="" alt="">