Advertisement
Guest User

Untitled

a guest
Nov 1st, 2014
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. AddHandler application/x-httpd-php55 .php .php5 .php4 .php3
  2. <IfModule mod_rewrite.c>
  3. <IfModule mod_negotiation.c>
  4. Options -MultiViews
  5. </IfModule>
  6.  
  7. RewriteEngine On
  8.  
  9. # Redirect Trailing Slashes...
  10. RewriteRule ^(.*)/$ /$1 [L,R=301]
  11.  
  12. # Handle Front Controller...
  13. RewriteCond %{REQUEST_FILENAME} !-d
  14. RewriteCond %{REQUEST_FILENAME} !-f
  15. RewriteRule ^ index.php [L]
  16. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement