﻿AddType application/x-httpd-php .php .smpl
DirectoryIndex index.php index.smpl start.smpl index.html index.htm

Options +FollowSymlinks
RewriteEngine on
RewriteRule ^(.*)\.smpl$ index.php?filename=$1&%{QUERY_STRING} [NC]

<Files ~ "(.nopass)$">
order allow,deny
deny from all
</Files>