1# Laravel includes a public/.htaccess file that is used to
2# provide URLs without the index.php front controller in the
3# path. Before serving Laravel with Apache, be sure to enable
4# the mod_rewrite module so the .htaccess file will be honored
5# by the server.
6
7# If the .htaccess file that ships with Laravel does not work
8# with your Apache installation, try this alternative:
9
10Options +FollowSymLinks -Indexes
11RewriteEngine On
12
13RewriteCond %{HTTP:Authorization} .
14RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
15
16RewriteCond %{REQUEST_FILENAME} !-d
17RewriteCond %{REQUEST_FILENAME} !-f
18RewriteRule ^ index.php [L]