# Slim front-controller routing.
#
# Any request for a path that does not match an existing file or directory
# (e.g. /login, /verify, /products/foo) is rewritten to /index.php so Slim
# can resolve it. Real assets (e.g. /favicon.ico) are served directly.
#
# Works on cPanel and inside the Apache container alike.
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [QSA,L]
# Hide the framework signature.
Header unset X-Powered-By
Header always unset X-Powered-By