SSIを動かす。

2008年1月25日

Filed under: apache — admin @ 5:03 PM

環境:FedoraCore6

CODE:
  1. #vi /etc/httpd/conf/httpd.conf
  2.  
  3. #Options Indexes FollowSymLinks
  4. ↓変更後
  5. #コメントアウトする。
  6. Options Indexes FollowSymLinks
  7.  
  8. AddType text/html .shtml
  9. AddOutputFilter INCLUDES .shtml
  10. ↓変更後
  11. AddType text/html .shtml .html .htm
  12. AddOutputFilter INCLUDES .shtml .html .htm

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

HTML:
  1. 今日は
  2. <!--#config timefmt="%a, %b %d, %Y" -->
  3. <!--#echo var="DATE_LOCAL" -->
  4. です。

コメントはまだありません »

コメントはまだありません。

この投稿へのコメントの RSS フィード。 TrackBack URL

コメントする