Htaccess File

behamin/new_cms/master/.htaccess

HTTP_HOST, REQUEST_FILENAME, REQUEST_URI
<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>
Exit mobile version