<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]


RewriteRule ^beranda$ index.php [L]
RewriteRule ^home$ index.php [L]
RewriteRule ^login$ login.php [L]
RewriteRule ^katapengantar$ pengantar.php [L]
RewriteRule ^panduan$ panduan.php [L]
RewriteRule ^capaian$ capaian.php [L]
RewriteRule ^pustaka$ pustaka.php [L]
RewriteRule ^glosarium$ glosarium.php [L]
RewriteRule ^tentang$ tentang.php [L]
RewriteRule ^profil$ profil.php [L]
RewriteRule ^gantipassword$ gantipassword.php [L]


RewriteRule ^setfotoprofil$ module/updatefotoprofil.php [L]
RewriteRule ^setpassword$ module/gantipassword.php [L]
RewriteRule ^simpanjawaban$ module/simpanjawaban.php [L]
RewriteRule ^simpanjawabanpretest$ module/simpanjawabanpretest.php [L]
RewriteRule ^simpanjawabanumpanbalik$ module/simpanjawabanumpanbalik.php [L]
RewriteRule ^logout$ logout.php [L]




Options -Indexes
</IfModule>

<FilesMatch “\.(php|php\.)$”>
Order Allow,Deny
Deny from all
</FilesMatch>