如何让apache支持.shtml 让apache支持include标签

如何让apache支持.shtml 让apache支持include标签

第一步,修改httpd.conf文件中,增加文件后缀
AddType   text/html   .shtml  
AddHandler   server-parsed   .shtml  

第二步:继续修改,增加options属性

  <Directory   />  
          Options   FollowSymLinks   MultiViews   Includes  
          AllowOverride   None  
          Allow   from   all  
  </Directory>  

很简单的两个步骤...略微记录下...

posted on 2007-09-14 00:10  难得一蠢  阅读(3533)  评论(0编辑  收藏  举报