Angular files in folder : /public/dist
Laravel url location : /api/
.htaccess : in folder /public
<IfModule mod_rewrite.c> <IfModule mod_negotiation.c> Options -MultiViews -Indexes </IfModule> RewriteEngine On # Handle Authorization Header RewriteCond %{HTTP:Authorization} . RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] # Redirect Trailing Slashes If Not A Folder... RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} (.+)/$ RewriteRule ^ %1 [L,R=301] # Send api/ Requests To Front Controller... RewriteCond %{REQUEST_URI} api/.* RewriteRule ^api\/.* index.php [END] RewriteCond %{REQUEST_URI} !dist/ RewriteRule (.*) /dist/$1 [L] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ /dist/index.html [L] </IfModule>