ApacheでSSIを有効にするための設定

httpd.conf

#                                                                                                                                                                              
# Filters allow you to process content before it is sent to the client.                                                                                                        
#                                                                                                                                                                              
# To parse .shtml files for server-side includes (SSI):                                                                                                                        
# (You will also need to add "Includes" to the "Options" directive.)                                                                                                           
#                                                                                                                                                                              
# この辺を有効にする。html拡張子も有効にしてみた
AddType text/html .shtml                                                                                                                                                       
AddOutputFilter INCLUDES .shtml .html

# こんな感じで有効にするディレクトリ指定する感じ 
<Directory /var/www/html>                                                                                                                                                    
  Options Includes                                                                                                                                                           
</Directory>