RewriteEngine on

RewriteRule ^$ main.php?module=home [L]
RewriteRule ^about-us\.html$ main.php?module=profil&id=$1 [L]
RewriteRule ^struktur-organisasi\.html$ main.php?module=struktur&id=$1 [L]
RewriteRule ^visi-misi\.html$ main.php?module=visi&id=$1 [L]
RewriteRule ^selayang-pandang\.html$ main.php?module=selayang&id=$1 [L]
RewriteRule ^program\.html$ main.php?module=program&id=$1 [L]
RewriteRule ^semua-berita\.html$ main.php?module=allberita&id=$1 [L]
RewriteRule ^bisnis-anggota\.html$ main.php?module=bisnis&id=$1 [L]
RewriteRule ^pemerintahan\.html$ main.php?module=pemerintahan&id=$1 [L]
RewriteRule ^asosiasi\.html$ main.php?module=asosiasi&id=$1 [L]
RewriteRule ^bumn\.html$ main.php?module=bumn&id=$1 [L]
RewriteRule ^swasta\.html$ main.php?module=swasta&id=$1 [L]
RewriteRule ^lembaga-pendidikan\.html$ main.php?module=lembaga&id=$1 [L]
RewriteRule ^syarat-prosedur\.html$ main.php?module=syarat&id=$1 [L]
RewriteRule ^register\.html$ main.php?module=register&id=$1 [L]
RewriteRule ^save\.html$ main.php?module=save&id=$1 [L]
RewriteRule ^pendaftaran-online\.html$ main.php?module=pendaftaran&id=$1 [L]
RewriteRule ^artikel\.html$ main.php?module=artikel&id=$1 [L]
RewriteRule ^hubungi-kami\.html$ main.php?module=kontak&id=$1 [L]

RewriteRule ^berita-(.*)\.html$ main.php?module=berita&id=$1 [L]
RewriteRule ^kategori-([0-9]+)-(.*)\.html$ main.php?module=kategori&id=$1 [L]
RewriteRule ^halaman-(.*)\.html$ main.php?module=foto&id=$1&halaman=$2 [L]

RewriteRule ^search\.html$ main.php?module=cari&id=$1 [L]
RewriteRule ^index\.html$ main.php?module=index&id=$1 [L]
RewriteRule ^cari-index\.html$ main.php?module=cari-index&id=$1 [L]

Options All -Indexes

# BEGIN cPanel-generated php ini directives, do not edit
# Manual editing of this file may result in unexpected behavior.
# To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
# For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
<IfModule php7_module>
   php_flag display_errors Off
   php_value max_execution_time 30
   php_value max_input_time 60
   php_value max_input_vars 1000
   php_value memory_limit 128M
   php_value post_max_size 8M
   php_value session.gc_maxlifetime 1440
   php_value session.save_path "/var/cpanel/php/sessions/ea-php74"
   php_value upload_max_filesize 10M
   php_flag zlib.output_compression Off
</IfModule>
<IfModule lsapi_module>
   php_flag display_errors Off
   php_value max_execution_time 30
   php_value max_input_time 60
   php_value max_input_vars 1000
   php_value memory_limit 128M
   php_value post_max_size 8M
   php_value session.gc_maxlifetime 1440
   php_value session.save_path "/var/cpanel/php/sessions/ea-php74"
   php_value upload_max_filesize 10M
   php_flag zlib.output_compression Off
</IfModule>
# END cPanel-generated php ini directives, do not edit

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