If you're stuck with .htaccess, then mod_rewrite is likely your only recourse. I would recommend debugging mod_rewrite on your development / staging server with the rewrite log, too.
Lastly, look up the "http2https" recipe on the httpd wiki. On Sat, 2 Feb 2019 at 12:51, R. Diez <rdiezmail-te...@yahoo.de.invalid> wrote: > First of all, thanks for your answer. > > > [...] > > Htaccess is only used for clients on a host server (such as a > godaddy.com website) > > where the client does NOT have access to configuration files of the > server… > > That is exactly my case. > > HSTS does not seem suitable either. > > I hope someone can help me with that kind of .htaccess rules. Most people > on that sort of cheap server tariff should be using the rules I am looking > for, so it is not something that would help me alone. > > Best regards, > rdiez > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > >