RewriteEngine on 
Options -Indexes
#############################################################################
#    NAO ALTERE NENHUMA LINHA ABAIXO OU O SCRIPT NAO IRA FUNCIONAR!!        #
#      DO NOT CHANGE ANY LINE BELOW OR THE SCRIPT WILL NOT WORK!!           #
#############################################################################
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteCond %{REQUEST_FILENAME} !-d
###################### IBO PLAYER API ##################################
RewriteRule ^boxbr([^/]*) iboxbr.php?m=$1 [NC,L]
RewriteRule ^playlist([^/]*) iplaylists.php?m=$1 [NC,L]
RewriteRule ^authenticate([^/]*) ibo28auth.php?m=$1 [NC,L]
RewriteRule ^addlists([^/]*) ibo28playlists.php?m=$1 [NC,L]
RewriteRule ^delete([^/]*) ibo28delete.php?m=$1 [NC,L]
RewriteRule ^authenticate/update([^/]*) ibo28update.php?m=$1 [NC,L]
########################################################################
AddType application/x-httpd-php .html .htm
<Files ".boxbrdb.db">
Order Allow,Deny
Deny from all
</Files>
<Files ".boxbrpainel.db">
Order Allow,Deny
Deny from all
</Files>
<Files "update.json">
Order Allow,Deny
Deny from all
</Files>
<Files "language.json">
Order Allow,Deny
Deny from all
</Files>
<Files "note.json">
Order Allow,Deny
Deny from all
</Files>