a guest Jun 12th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <IfModule mod_rewrite.c>
  2. RewriteEngine On
  4. #Checks to see if the user is attempting to access a valid file,
  5. #such as an image or css document, if this isn't true it sends the
  6. #request to index.php
  7. RewriteCond %{REQUEST_FILENAME} !-f
  8. RewriteCond %{REQUEST_FILENAME} !-d
  9. #This last condition enables access to the images and css folders, and the robots.txt file
  10. RewriteCond $1 !^(index\.php|application\/modules|public|robots\.txt)
  11. RewriteRule ^(.*)$ index.php?/$1 [L]
  12. </IfModule>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand