Advertisement
peterurfi

Untitled

Nov 29th, 2014
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 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. RewriteCond %{REQUEST_URI} \.ini$
  11. RewriteRule \.ini$ - [R=404]
  12.  
  13. RewriteCond %{REQUEST_FILENAME} !-l
  14. RewriteCond %{REQUEST_FILENAME} !-f
  15. RewriteCond %{REQUEST_FILENAME} !-d
  16. RewriteRule .* index.php [L,QSA]
  17. RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement