cithukyaw/LucidFrame/master/.htaccess - Htaccess File

cithukyaw/LucidFrame/master/.htaccess

# Protect files and directories from prying eyes.
<FilesMatch ".(secret|salt|engine|inc|po|sh|bat|cmd|.*sql|theme|tpl(.php)?|xtmpl)$|^(..*|inc)$">
  Order allow,deny
</FilesMatch>

# Don't show directory listings for URLs which map to a directory.
Options -Indexes

# Set the default handler.
DirectoryIndex index.php index.html index.htm

<IfModule mod_rewrite.c>
    RewriteEngine on

    RewriteRule ^index.php$ app/index.php [NC,L]

    # If the request is not for a valid file
    RewriteCond %{REQUEST_FILENAME} !-f
    # If the request is not for a valid directory
    RewriteCond %{REQUEST_FILENAME} !-d
    # If the request is not for a valid link
    RewriteCond %{REQUEST_FILENAME} !-l

    RewriteRule ^ app/index.php [L]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache