Options -Indexes
RewriteEngine On

# Some hosts may require you to use the `RewriteBase` directive.
# If you need to use the `RewriteBase` directive, it should be the
# absolute physical path to the directory that contains this htaccess file.
#
# RewriteBase /

# RewriteCond %{REQUEST_METHOD} OPTIONS
# RewriteRule ^(.*)$ $1 [R=200,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [QSA,L]

# use the rewrite rule below if loaded as CLI in Apache
# RewriteRule ^ index.php?PHP_AUTH_DIGEST_RAW=%{HTTP:Authorization} [QSA,L]