Advertisement
Guest User

Untitled

a guest
Oct 21st, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. # Enable rewrite engine and route requests to framework
  2. RewriteEngine On
  3.  
  4. # Some servers require you to specify the `RewriteBase` directive
  5. # In such cases, it should be the path (relative to the document root)
  6. # containing this .htaccess file
  7. #
  8. # RewriteBase /
  9.  
  10. RewriteRule ^(tmp)\/|\.ini$ - [R=404]
  11.  
  12. RewriteCond %{REQUEST_FILENAME} !-l
  13. RewriteCond %{REQUEST_FILENAME} !-f
  14. RewriteCond %{REQUEST_FILENAME} !-d
  15. RewriteRule .* index.php [L,QSA]
  16. RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
  17.  
  18.  
  19. <Limit GET POST PUT DELETE>
  20. Allow from all
  21. </Limit>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement