sas05/test-simple-rest/master/resources/.htaccess
RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !(api/.*) #let angular do the magic RewriteRule ^(.*) index.html [NC,L] #let the php framework do the rest RewriteRule ^(api/.*) api/index.php [NC,L]
Files
![REQUEST_FILENAME, REQUEST_URI](https://www.askapache.com/s/u.askapache.com/htaccess-file/2016/github/sas05/test-simple-rest-resources-htaccess.png)