DirectorySlash Off RewriteEngine On RewriteBase / # Route /app requests to index.php RewriteCond %{REQUEST_URI} ^/app/ RewriteRule ^(.*)$ /index.php [L,QSA] # Don't rewrite if file exists RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ /index.php [L,QSA] # php -- BEGIN cPanel-generated handler, do not edit # Set the “alt-php84” package as the default “PHP” programming language. AddHandler application/x-httpd-alt-php84 .php .php8 .phtml # php -- END cPanel-generated handler, do not edit