# SET PHP VERSION TO 8.1
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php81 .php .php8 .phtml
</IfModule>

RewriteEngine On
RewriteBase /audit/

# Jika ada folder atau file asli, buka langsung
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

# Selain itu, arahkan ke index.php
# Penambahan tanda tanya (?) setelah index.php untuk kompatibilitas hosting
RewriteRule ^(.*)$ index.php?/$1 [L]

# Disable server signature
ServerSignature Off
