Skip to content

Instantly share code, notes, and snippets.

@abumaryam
Created March 20, 2020 02:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abumaryam/8675fc3a3fbb9f969b0fe3ab24e900a9 to your computer and use it in GitHub Desktop.
Save abumaryam/8675fc3a3fbb9f969b0fe3ab24e900a9 to your computer and use it in GitHub Desktop.
.htaccess untuk laravel
Options +FollowSymLinks -Indexes
RewriteEngine On
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment