disit/dim-rim/master/api/.htaccess - Htaccess File

disit/dim-rim/master/api/.htaccess

#RewriteEngine On
    #RewriteBase /icaro/

    #Removes access to the system folder by users.
    #Additionally this will allow you to create a System.php controller,
    #previously this would not have been possible.
    #'system' can be replaced if you have renamed your system folder.
    #RewriteCond  %{REQUEST_URI}  $
    #RewriteRule ^(.*)$ index.php?$1 [L]
    #RewriteCond  %{REQUEST_URI}  ^/icaro$
    #RewriteRule $ /index.php [L]
    
    DirectoryIndex index.php
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule ^$ index.php [QSA,L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, REQUEST_URI

Comments

Apache