Q SSIがうまく動かないのですが...
A 拡張子は正しく設定されていますか?

SSIを .shtml や .shtml や .htm といった拡張子で利用したい場合には .htaccessというファイルを
以下のように作成し、htmlディレクトリの下に置く必要があります。

Options ExecCGI Includes FollowSymLinks Indexes
AddType text/x-server-parsed-html .html
AddType text/x-server-parsed-html .htm
AddType text/x-server-parsed-html .shtml

※FTPでこのファイルをアップロードする場合には必ず改行コードは「LF」に設定し、アスキーモードで転送してください。



 


Orange Internet Service