SSIを動かす。
2008年1月25日
環境:FedoraCore6
CODE:
-
#vi /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テスト動作用スクリプト
HTML:
-
今日は
-
<!--#config timefmt="%a, %b %d, %Y" -->
-
<!--#echo var="DATE_LOCAL" -->
-
です。
TrackBack URL :
Comments (0)

