.htaccess 528 B

12345678910111213141516171819202122
  1. <IfModule mod_rewrite.c>
  2. <IfModule mod_negotiation.c>
  3. Options -MultiViews
  4. </IfModule>
  5. RewriteEngine On
  6. RewriteCond %{REQUEST_FILENAME} -d [OR]
  7. RewriteCond %{REQUEST_FILENAME} -f
  8. RewriteRule ^ ^$1 [N]
  9. RewriteCond %{REQUEST_URI} (\.\w+$) [NC]
  10. RewriteRule ^(.*)$ public/$1
  11. RewriteCond %{REQUEST_FILENAME} !-d
  12. RewriteCond %{REQUEST_FILENAME} !-f
  13. RewriteRule ^ server.php
  14. RewriteCond %{HTTP:Authorization} ^(.*)
  15. RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]
  16. </IfModule>