RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]

RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://ambk.mts.sirojulathfalcgb.sch.id/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://ambk.mts.sirojulathfalcgb.sch.id$      [NC]
RewriteCond %{HTTP_REFERER} !^http://mts.sirojulathfalcgb.sch.id/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://mts.sirojulathfalcgb.sch.id$      [NC]
RewriteCond %{HTTP_REFERER} !^http://ppdb.mts.sirojulathfalcgb.sch.id/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://ppdb.mts.sirojulathfalcgb.sch.id$      [NC]
RewriteCond %{HTTP_REFERER} !^http://rdm.mi.sirojulathfalcgb.sch.id/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://rdm.mi.sirojulathfalcgb.sch.id$      [NC]
RewriteCond %{HTTP_REFERER} !^http://rdm.mts.sirojulathfalcgb.sch.id/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://rdm.mts.sirojulathfalcgb.sch.id$      [NC]
RewriteCond %{HTTP_REFERER} !^http://sirojulathfalcgb.sch.id/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://sirojulathfalcgb.sch.id$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.ambk.mts.sirojulathfalcgb.sch.id/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.ambk.mts.sirojulathfalcgb.sch.id$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mts.sirojulathfalcgb.sch.id/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mts.sirojulathfalcgb.sch.id$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.ppdb.mts.sirojulathfalcgb.sch.id/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.ppdb.mts.sirojulathfalcgb.sch.id$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.rdm.mi.sirojulathfalcgb.sch.id/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.rdm.mi.sirojulathfalcgb.sch.id$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.rdm.mts.sirojulathfalcgb.sch.id/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.rdm.mts.sirojulathfalcgb.sch.id$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.sirojulathfalcgb.sch.id/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.sirojulathfalcgb.sch.id$      [NC]
RewriteCond %{HTTP_REFERER} !^https://ambk.mts.sirojulathfalcgb.sch.id/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^https://ambk.mts.sirojulathfalcgb.sch.id$      [NC]
RewriteCond %{HTTP_REFERER} !^https://mts.sirojulathfalcgb.sch.id/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^https://mts.sirojulathfalcgb.sch.id$      [NC]
RewriteCond %{HTTP_REFERER} !^https://ppdb.mts.sirojulathfalcgb.sch.id/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^https://ppdb.mts.sirojulathfalcgb.sch.id$      [NC]
RewriteCond %{HTTP_REFERER} !^https://rdm.mi.sirojulathfalcgb.sch.id/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^https://rdm.mi.sirojulathfalcgb.sch.id$      [NC]
RewriteCond %{HTTP_REFERER} !^https://rdm.mts.sirojulathfalcgb.sch.id/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^https://rdm.mts.sirojulathfalcgb.sch.id$      [NC]
RewriteCond %{HTTP_REFERER} !^https://sirojulathfalcgb.sch.id/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^https://sirojulathfalcgb.sch.id$      [NC]
RewriteCond %{HTTP_REFERER} !^https://www.ambk.mts.sirojulathfalcgb.sch.id/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^https://www.ambk.mts.sirojulathfalcgb.sch.id$      [NC]
RewriteCond %{HTTP_REFERER} !^https://www.mts.sirojulathfalcgb.sch.id/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^https://www.mts.sirojulathfalcgb.sch.id$      [NC]
RewriteCond %{HTTP_REFERER} !^https://www.ppdb.mts.sirojulathfalcgb.sch.id/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^https://www.ppdb.mts.sirojulathfalcgb.sch.id$      [NC]
RewriteCond %{HTTP_REFERER} !^https://www.rdm.mi.sirojulathfalcgb.sch.id/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^https://www.rdm.mi.sirojulathfalcgb.sch.id$      [NC]
RewriteCond %{HTTP_REFERER} !^https://www.rdm.mts.sirojulathfalcgb.sch.id/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^https://www.rdm.mts.sirojulathfalcgb.sch.id$      [NC]
RewriteCond %{HTTP_REFERER} !^https://www.sirojulathfalcgb.sch.id/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^https://www.sirojulathfalcgb.sch.id$      [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php56” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php56___lsphp .php .php5 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
