# ACCUREX Field Visit Log — accurex.pipohris.co.ke/fieldtracker
# Location capture only works over HTTPS, so always use it.
<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteCond %{HTTPS} !=on
  RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</IfModule>

# No folder listings
Options -Indexes
DirectoryIndex index.html

# Always fetch the latest HTML (scripts/styles are versioned with ?v=)
<IfModule mod_headers.c>
  <FilesMatch "\.html$">
    Header set Cache-Control "no-cache"
  </FilesMatch>
</IfModule>
