# NTPPA CMS — front controller routing
Options -Indexes
DirectoryIndex index.php

<IfModule mod_rewrite.c>
  RewriteEngine On
  # Deployed at  clients.expertaims.in/ntppa/  → the app lives under /ntppa/.
  RewriteBase /ntppa/
  # Serve real files and folders (assets/, images/, uploads/, admin/) directly…
  RewriteCond %{REQUEST_FILENAME} -f [OR]
  RewriteCond %{REQUEST_FILENAME} -d
  RewriteRule ^ - [L]
  # …and route everything else through the front controller.
  RewriteRule ^ index.php [L]
</IfModule>

# Moving to the DOMAIN ROOT later? Change RewriteBase to  /  here
# and set 'base_url' => '' in app/config.php.
