Advertisement
Guest User

Untitled

a guest
Jun 12th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. <IfModule mod_rewrite.c>
  2. RewriteEngine On
  3.  
  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>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement