Guest User

Untitled

a guest
Dec 17th, 2018
84
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 -Indexes
  4. </IfModule>
  5.  
  6. RewriteEngine On
  7.  
  8. #RewriteBase /icomcotacao/public
  9.  
  10. # Handle Authorization Header
  11. RewriteCond %{HTTP:Authorization} .
  12. RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
  13.  
  14. # Redirect Trailing Slashes If Not A Folder...
  15. RewriteCond %{REQUEST_FILENAME} !-d
  16. RewriteCond %{REQUEST_URI} (.+)/$
  17. RewriteRule ^(.*)/$ /$1 [L,R=301]
  18.  
  19. # Handle Front Controller...
  20. RewriteCond %{REQUEST_FILENAME} !-d
  21. RewriteCond %{REQUEST_FILENAME} !-f
  22. RewriteRule ^ index.php [L]
  23. </IfModule>
Add Comment
Please, Sign In to add comment