Guest User

Untitled

a guest
Aug 31st, 2015
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. <IfModule mod_rewrite.c>
  2. <IfModule mod_negotiation.c>
  3. Options -MultiViews
  4. </IfModule>
  5.  
  6. RewriteEngine On
  7.  
  8. # Redirect Trailing Slashes If Not A Folder...
  9. RewriteCond %{REQUEST_FILENAME} !-d
  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>
  17.  
  18.  
  19. RewriteEngine On
  20. RewriteRule ^(.*)$ public/$1 [L]
  21.  
  22. Options +FollowSymLinks
  23. RewriteEngine On
  24.  
  25. RewriteCond %{REQUEST_FILENAME} !-d
  26. RewriteCond %{REQUEST_FILENAME} !-f
  27. RewriteRule ^ index.php [L]
Advertisement
Add Comment
Please, Sign In to add comment