Skip to main content
2 of 3
Update regarding the bypass of htaccess
MrWhite
  • 43.1k
  • 4
  • 50
  • 90

It sounds like you may have put the directives in the wrong place in your .htaccess file. The HTTP to HTTPS redirect needs to go near the top, before any other rewrites.

The nature of your URLs suggest you are using a front-controller type pattern and rewriting requests to a common script. However, the "homepage" does not need to be rewritten (since mod_dir will issue an internal subrequest for the directory index). If you place the mod_rewrite redirect after the front-controller then all but the homepage will be redirected.

UPDATE: From discussion in comments, there are no other directives in .htaccess and it would seem the website is driven with directives in the main server config (not accessible to the OP). Furthermore, it seems the .htaccess file (located in the /spintx subdirectory) is bypassed entirely for all requests, other than the homepage! Access to the server config is probably required in order to diagnose this further and implement an Apache HTTP to HTTPS redirect.

Implementing the HTTP to HTTPS redirect in the web application itself (Drupal 7) would perhaps be the way to go.

MrWhite
  • 43.1k
  • 4
  • 50
  • 90