# POS Sate Gajah — public/.htaccess (Apache, shared hosting compatible)

Options -Indexes

<IfModule mod_rewrite.c>
    RewriteEngine On

    # Route everything that is not a real file/directory to the front controller.
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^ index.php [L]
</IfModule>

# Never serve dotfiles (git, editor config, etc.)
<FilesMatch "^\.">
    Require all denied
</FilesMatch>

# Never serve raw source/dump files even if placed here by mistake.
<FilesMatch "\.(sql|md|log|ini|env|bak|zip|tar|gz)$">
    Require all denied
</FilesMatch>

# 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_value error_log "/home/tokd7218/logs/php.error.log"
   php_flag log_errors On
</IfModule>
<IfModule lsapi_module>
   php_value error_log "/home/tokd7218/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 “alt-php83” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-alt-php83___lsphp .php .php8 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
