Guest User

Untitled

a guest
Dec 10th, 2017
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 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.  
  17. # Handle Authorization Header
  18. RewriteCond %{HTTP:Authorization} .
  19. RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
  20. </IfModule>
Add Comment
Please, Sign In to add comment