Re: htaccess rewrite rule to https let my apps stop working

2017-08-20 Thread Sannyasin Brahmanathaswami via use-livecode
T. Yes mod-rewrite is the way to go. What Matthias sent is how we are doing it. but for backwards compatibility in our apps I also include a function to replace http:// with https:// in any URL in our apps. BR ___ use-livecode mailing list

Re: htaccess rewrite rule to https let my apps stop working

2017-08-18 Thread Matthias Rebbe via use-livecode
Code <use-livecode@lists.runrev.com> > Cc: Matthias Rebbe <matthias_livecode_150...@m-r-d.de> > Betreff: Re: htaccess rewrite rule to https let my apps stop working > > Hi Tiemo, > > it´s messed up. > Please use the link > https://dl.qck.nu//?dl=sample_htaccess.txt

Re: htaccess rewrite rule to https let my apps stop working

2017-08-18 Thread Matthias Rebbe via use-livecode
Hi Tiemo, it´s messed up. Please use the link https://dl.qck.nu//?dl=sample_htaccess.txt to download the textfile. I´ve forgot to mention that you have to replace yourdomain.com with your domain. Matthias > Am 18.08.2017 um

Re: htaccess rewrite rule to https let my apps stop working

2017-08-18 Thread Matthias Rebbe via use-livecode
Hi Tiemo, we are using the following code in the htaccess to redirect http:// request (either with or without www) to https://www.multitronic.de RewriteEngine on RewriteCond %{HTTPS} off RewriteCond %{HTTP_HOST} ^yourdomain.com $ [NC,OR]

Re: htaccess rewrite rule to https let my apps stop working

2017-08-18 Thread Mark Waddingham via use-livecode
On 2017-08-18 13:58, Tiemo Hollmann TB via use-livecode wrote: Hello, I attached a certificate to our domain and started switching our domain / web from http to https, because of the security alerts of some browsers saying that our site isn't safe. So far so good. Our web hoster recommended