laravel httaccess for apache

Solutions on MaxInterview for laravel httaccess for apache by the best coders in the world

showing results for - "laravel httaccess for apache"
Emelie
16 Jan 2020
1RewriteEngine On
2
3RewriteCond %{HTTP:Authorization} ^(.+)$
4RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
5
6RewriteCond %{REQUEST_FILENAME} -d [OR]
7RewriteCond %{REQUEST_FILENAME} -f
8RewriteRule ^ ^$1 [N]
9
10RewriteCond %{REQUEST_URI} (\.\w+$) [NC]
11RewriteRule ^(.*)$ public/$1
12
13RewriteCond %{REQUEST_FILENAME} !-d
14RewriteCond %{REQUEST_FILENAME} !-f
15RewriteRule ^ server.php
16