Htaccess File

bhupindersingh/lloh.co.uk/master/admin/.htaccess

DEFLATE, REQUEST_FILENAME
Options -Indexes
Options +FollowSymLinks
<IfModule mod_rewrite.c> 
    RewriteEngine On
    RewriteBase /admin/
    # If the file is NOT the index.php file
    #RewriteCond %{REQUEST_FILENAME} !index.php
    # Hide all PHP files so none can be accessed by HTTP
    #RewriteRule (.*).php$ index.php/$1    
    # If the file/dir is NOT real go to index
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php?/$1 [QSA,L] 
</IfModule>
<ifModule mod_expires.c>
  <filesmatch ".(ico|flv|jpg|jpeg|png|gif|js|css|swf)$">
       ExpiresActive on
       ExpiresDefault "access plus 1 year"
   </filesmatch>
</ifModule>
<IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE text/xhtml text/html text/plain text/xml text/javascript application/x-javascript text/css
</IfModule>
FileETag none 
<IfModule !mod_rewrite.c> 
    # Without mod_rewrite, route 404's to the front controller
    ErrorDocument 404 /index.php 
</IfModule>
Exit mobile version