nimitz92/backend.php/master/demo/.htaccess - Htaccess File

nimitz92/backend.php/master/demo/.htaccess

#
#  Default project .htaccess file (No need to modify)
#
#  Vibhaj Rajan <vibhaj8@gmail.com>
#
#  Licensed under MIT License 
#  http://www.opensource.org/licenses/mit-license.php
#

RewriteEngine on

#  handle submodule frontend code
RewriteCond %{REQUEST_URI} ^.*ui/frontend.(css|js)/.*.(css|js)$ [NC]
RewriteRule ^(.*)ui/frontend.(css|js)/(.*).(css|js)$ lib/backend.php/lib/frontend.$2/$3.$4 [L]

#  allow css js img
RewriteCond %{REQUEST_URI} !^.*.(jpg|css|js|gif|png)$ [NC]

#  allow installer
RewriteCond %{REQUEST_URI} !^.*install.php$ [NC]

#   forward everything to index.php
RewriteRule ^(.*)$ index.php [L]

On Github License

Files

Download PDF of Htaccess file
REQUEST_URI

Comments

Apache