RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]

# NOTE: do not hardcode a PHP handler (e.g. "AddHandler
# application/x-httpd-ea-phpXX .php") here. It is host-specific: on a server
# without that exact package Apache does not recognise the handler and serves
# .php files as downloads instead of running them. Set the PHP version per
# domain in cPanel > MultiPHP Manager — cPanel writes the correct handler
# block into this file itself.
