RewriteEngine on
#RewriteBase /

# only rewrite if the requested file doesn't exist
RewriteCond %{REQUEST_FILENAME} !-s

# pass the rest of the request into index.php to handle
RewriteRule ^(.*)$ /index.php/$1 [L]

# Prevent the web from seeing the readme.md just to be safe
RewriteRule ^README\.MD$ - [L,F]

<IfModule mod_headers.c>
# Header set Access-Control-Allow-Origin "*"
Header always unset X-Frame-Options
</IfModule>