Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AddDefaultCharset utf-8
- <IfModule !mod_rewrite.c>
- ErrorDocument 404 /index.php
- ErrorDocument 403 /index.php
- </IfModule>
- <IfModule mod_rewrite.c>
- Options +FollowSymLinks
- Options -Indexes
- DirectoryIndex index.php
- RewriteEngine on
- RewriteBase /
- RewriteCond $1 !^(index\.php|images|banners|img|robots\.txt|public)
- RewriteCond %{REQUEST_URI} !\.(css|js|jpg|jpeg|png|gif)$
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule ^(.*)$ /index.php?/$1 [L,QSA]
- </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement