SSIを動かす。

2008/1/25 金曜日

カテゴリー: apache — ぴ @ 17:03:46

環境:FedoraCore6

いじるファイル
/etc/httpd/conf/httpd.conf

いじる部分
#Options Indexes FollowSymLinks
↓変更後
#コメントアウトする。
Options Indexes FollowSymLinks

AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
↓変更後
AddType text/html .shtml .html .htm
AddOutputFilter INCLUDES .shtml .html .htm

SSIテスト動作用スクリプト

今日は
<!--#config timefmt="%a, %b %d, %Y" -->
<!--#echo var="DATE_LOCAL" -->
です。