Advertisement
Guest User

Untitled

a guest
Apr 15th, 2014
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. DirectoryIndex index.php
  2. RewriteEngine on
  3. RewriteCond $1 !^(index.php|images|css|js|robots.txt|favicon.ico)
  4. RewriteCond %{REQUEST_FILENAME} !-f
  5. RewriteCond %{REQUEST_FILENAME} !-d
  6. RewriteRule ^(.*)$ ./index.php/$1 [L,QSA]
  7.  
  8. $config['index_page'] = 'index.php';
  9.  
  10. $config['index_page'] = '';
  11.  
  12. Options -Indexes
  13. Options -MultiViews
  14.  
  15. RewriteEngine On
  16. RewriteBase /
  17. RewriteCond %{REQUEST_URI} ^system.*
  18. RewriteRule ^(.*)$ /index.php/$1 [L]
  19. RewriteCond %{REQUEST_FILENAME} !-f
  20. RewriteCond %{REQUEST_FILENAME} !-d
  21. RewriteRule ^(.*)$ index.php/$1 [L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement