htaccess içinde AddHandler ile sorun

0 Cevap php

i. htaccess dosyası bu satırı dahil olması

<FilesMatch "\.js$">
    AddHandler application/x-httpd-php .js
</FilesMatch>

it works in my localhost but it doesnt work in my host. i think problem is with mod_mime. in localhost i see mod_mime in loaded module but in my host (Apache/2.2.16 php 5.3.3) i cant find loaded module to check if it is enable.

  1. how to check whether mod_mime is in loaded module?
  2. how to load (enable) mod_mime in htaccess?

0 Cevap