the .htaccess file for

  • The .htaccess file for ensures that the application routes and the site is forwarded to https for all requests.


    RewriteEngine On 
    RewriteBase /
    RewriteRule ^index\.html$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.html [L]
    RewriteCond %{SERVER_PORT} 80
    RewriteCond %{HTTP_HOST} ^(www\.)?quinnmichaels\.com
    RewriteRule ^(.*)$$1 [R,L]

    This little bit of code here will turn on the rewrite engine and route the requests through our application running from index.html

    This is just a simple solution for an apache server or any web-server that you need to deploy a rewrite on.