championchap/SQLite-Example/master/public/.htaccess - Htaccess File

championchap/SQLite-Example/master/public/.htaccess

# Disable Directory Access - Important! 
Options -Indexes

# On Error 403 Redirect to Lost Page
ErrorDocument 403 /lost

# Turn on URL rewriting engine

RewriteEngine On

# Disable rewriting for existing files or directories

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

# redirect all other requests to index.php

RewriteRule ^.*$ index.php [PT,L]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache