欢迎各位兄弟 发布技术文章

这里的技术是共享的

You are here

AddType application/x-httpd-php .html

shiping1 的头像
<IfModule mod_rewrite.c> 
   RewriteEngine on 
   RewriteCond %{REQUEST_FILENAME} !-d 
   RewriteCond %{REQUEST_FILENAME} !-f 
   RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L] 
   AddType application/x-httpd-php .mp4 #將mp4解析成php 
</IfModule> 


   AddType application/x-httpd-php .html #將html解析成php  将html文件按照php来解析。

来自 http://lhdst-163-com.iteye.com/blog/1740096
普通分类: