itcreator/custom-cmf/master/Module/Application/resources/public/.htaccess - Htaccess File

itcreator/custom-cmf/master/Module/Application/resources/public/.htaccess

DirectoryIndex index.php

<IfModule mod_env.c>
    # Development Mode, if need
    #SetEnv APPLICATION_MODE development
</IfModule>

<IfModule mod_rewrite.c>
    RewriteEngine On

    # If the requested filename exists, simply serve it.
    # We only want to let Apache serve files and not directories.
    RewriteCond %{REQUEST_FILENAME} -f
    RewriteRule .? - [L]

    # Rewrite all other queries to the front controller.
    RewriteRule .? %{ENV:BASE}/index.php [L]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
ENV, REQUEST_FILENAME

Comments

Apache