Advertisement
Guest User

Untitled

a guest
Aug 19th, 2013
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. AddDefaultCharset utf-8
  2.  
  3. <IfModule !mod_rewrite.c>
  4. ErrorDocument 404 /index.php
  5. ErrorDocument 403 /index.php
  6. </IfModule>
  7.  
  8. <IfModule mod_rewrite.c>
  9.  
  10. Options +FollowSymLinks
  11. Options -Indexes
  12.  
  13. DirectoryIndex index.php
  14.  
  15. RewriteEngine on
  16.  
  17. RewriteBase /
  18.  
  19. RewriteCond $1 !^(index\.php|images|banners|img|robots\.txt|public)
  20. RewriteCond %{REQUEST_URI} !\.(css|js|jpg|jpeg|png|gif)$
  21. RewriteCond %{REQUEST_FILENAME} !-f
  22. RewriteCond %{REQUEST_FILENAME} !-d
  23. RewriteRule ^(.*)$ /index.php?/$1 [L,QSA]
  24.  
  25. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement