1<IfModule mod_rewrite.c>
2Options +FollowSymLinks
3RewriteEngine On
4
5RewriteCond %{REQUEST_URI} !^/public/
6
7RewriteCond %{REQUEST_FILENAME} !-d
8RewriteCond %{REQUEST_FILENAME} !-f
9
10
11
12RewriteRule ^(.*)$ /public/$1
13#RewriteRule ^ index.php [L]
14RewriteRule ^(/)?$ public/index.php [L]
15</IfModule>
16
1<IfModule mod_rewrite.c>
2RewriteEngine On
3RewriteRule ^(.*)$ public/$1 [L]
4</IfModule>
1Options +FollowSymLinks -Indexes
2
3RewriteEngine On
4
5RewriteCond %{HTTP:Authorization}
6
7RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
8
9RewriteCond %{REQUEST_FILENAME} !-d
10
11RewriteCond %{REQUEST_FILENAME} !-f
12
13RewriteRule ^ index.php [L]