DirectoryIndex index.html <Files ~ "*"> allow from all </Files> <Files *.html> SetHandler application/x-httpd-php </Files> <Files *.soap> SetHandler application/x-httpd-php </Files> <Files *.js> ForceType application/x-javascript </Files>
info at phpclasses dot org