<IfModule mod_rewrite.c>
    RewriteEngine On

    #Removes access to the system folder by users.
    #Additionally this will allow you to create a System.php controller,
    #previously this would not have been possible.
    #'system' can be replaced if you have renamed your system folder.
    RewriteCond %{REQUEST_URI} ^system.*
    RewriteRule ^(.*)$ /index.php/$1 [L]

	Options +FollowSymlinks
	RewriteRule "^(\S*)\s(\S*)$" /$1___SPASI___$2 [L,R=302,NE]
	RewriteRule "^(\S*)\s(\S*)\s(\S*)$" /$1___SPASI___$2___SPASI___$3 [L,R=302,NE]
	RewriteRule "^(\S*)\s(\S*)\s(\S*)\s(\S*)$" /$1___SPASI___$2___SPASI___$3___SPASI___$4 [L,R=302,NE]
	RewriteRule "^(\S*)\s(\S*)\s(\S*)\s(\S*)\s(\S*)$" /$1___SPASI___$2___SPASI___$3___SPASI___$4___SPASI___$5 [L,R=302,NE]
	RewriteRule "^(\S*)\s(\S*)\s(\S*)\s(\S*)\s(\S*)\s(\S*)$" /$1___SPASI___$2___SPASI___$3___SPASI___$4___SPASI___$5___SPASI___$6 [L,R=302,NE]
	RewriteRule "^(\S*)\s(\S*)\s(\S*)\s(\S*)\s(\S*)\s(\S*)\s(\S*)$" /$1___SPASI___$2___SPASI___$3___SPASI___$4___SPASI___$5___SPASI___$6___SPASI___$7 [L,R=302,NE]
	RewriteRule "^(\S*)\s(\S*)\s(\S*)\s(\S*)\s(\S*)\s(\S*)\s(\S*)\s(\S*)$" /$1___SPASI___$2___SPASI___$3___SPASI___$4___SPASI___$5___SPASI___$6___SPASI___$7___SPASI___$8 [L,R=302,NE]
	RewriteRule "^(\S*)\s(\S*)\s(\S*)\s(\S*)\s(\S*)\s(\S*)\s(\S*)\s(\S*)\s(\S*)$" /$1___SPASI___$2___SPASI___$3___SPASI___$4___SPASI___$5___SPASI___$6___SPASI___$7___SPASI___$8___SPASI___$9 [L,R=302,NE]
	RewriteRule "^(\S*)\s(\S*)\s(\S*)\s(\S*)\s(\S*)\s(\S*)\s(\S*)\s(\S*)\s(\S*)\s(\S*)$" /$1___SPASI___$2___SPASI___$3___SPASI___$4___SPASI___$5___SPASI___$6___SPASI___$7___SPASI___$8___SPASI___$9___SPASI___$10 [L,R=302,NE] 
	
    #Checks to see if the user is attempting to access a valid file,
    #such as an image or css document, if this isn't true it sends the
    #request to index.php
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
	RewriteCond $1 !^(index.php|file|editor|image)
    RewriteRule ^(.*)$ index.php/?ref=$1 [L]
</IfModule>

<IfModule !mod_rewrite.c>
    # If we don't have mod_rewrite installed, all 404's
    # can be sent to index.php, and everything works as normal.
    # Submitted by: apank

    ErrorDocument 404 /index.php
</IfModule>

# 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 php8_module>
   php_value error_log "/home/tridaya6/logs/php.error.log"
   php_flag log_errors On
</IfModule>
<IfModule lsapi_module>
   php_value error_log "/home/tridaya6/logs/php.error.log"
   php_flag log_errors On
</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
