thinkingmedia/grunt-thinkingmedia/master/www/.htaccess
<IfModule mod_rewrite.c> RewriteEngine On # Redirect non-www urls to www RewriteCond %{HTTP_HOST} !^$ RewriteCond %{HTTP_HOST} !^(www|dev). [NC] RewriteCond %{HTTPS}s ^on(s)| RewriteRule ^ http%1://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L] # Rewrite rule for AngularJS RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.html [QSA,L] </IfModule>
Files
![HTTP_HOST, HTTPS, REQUEST_FILENAME, REQUEST_URI](https://www.askapache.com/s/u.askapache.com/htaccess-file/2016/github/thinkingmedia/grunt-thinkingmedia-www-htaccess-418x250.png)