behamin/new_cms/master/.htaccess - Htaccess File

behamin/new_cms/master/.htaccess

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /new_cms/

    RewriteCond %{HTTP_HOST} ^web.com [NC]
    RewriteRule (.*) http://www.web.com/$1 [L,R=301]     

    RewriteCond %{REQUEST_URI} ^system.*
    RewriteRule ^(.*)$ /index.php?/$1 [L]

    RewriteCond %{REQUEST_URI} ^application.*
    RewriteRule ^(.*)$ /index.php?/$1 [L]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php?/$1 [L]
#RewriteRule ^(assets|includes|logs|tmp)/ - [F]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, REQUEST_FILENAME, REQUEST_URI

Comments

Apache