niuware/web-framework/master/.htaccess - Htaccess File

niuware/web-framework/master/.htaccess

#
#   File .htaccess
#   Rewrite module configuration 
#   Niuware WebFramework
#

Options +FollowSymLinks
Options -Indexes
IndexIgnore */*

<IfModule mod_rewrite.c>
    RewriteEngine On

    RewriteRule ^.*(bstylesb).*$ - [L]
    RewriteRule ^.*(bjsb).*$ - [L]
    RewriteRule ^.*(bassetsb).*$ - [L]
    RewriteRule ^(.+)/{0,1}$ index.php [L]
    RewriteRule ^(.+)[/]*$ index.php [L]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . index.php
</IfModule>

#
#   End of
#   Niuware WebFramework
#

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache