Hi Tiemo,

it´s messed up.
Please use the link
https://dl.qck.nu//?dl=sample_htaccess.txt 
<https://dl.qck.nu//?dl=sample_htaccess.txt>
to download the textfile.

I´ve forgot to mention that you have to replace yourdomain.com 
<http://yourdomain.com/> with your domain.

Matthias
> Am 18.08.2017 um 14:25 schrieb Matthias Rebbe via use-livecode 
> <use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com>>:
> 
> 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 
> <https://www.multitronic.de/> <https://www.multitronic.de/ 
> <https://www.multitronic.de/>>
> 
> RewriteEngine on
> RewriteCond %{HTTPS} off
> RewriteCond %{HTTP_HOST} ^yourdomain.com <http://yourdomain.com/> 
> <http://yourdomain.com/ <http://yourdomain.com/>>$ [NC,OR]
> RewriteCond %{HTTP_HOST} ^www.yourdomain.com <http://www.yourdomain.com/> 
> <http://www.yourdomain.com/ <http://www.yourdomain.com/>>$ [NC]
> RewriteRule (.*) https://www.yourdomain.com/$1 
> <https://www.yourdomain.com/$1> <https://www.yourdomain.com/$1 
> <https://www.yourdomain.com/$1>> [R=301,L]
> RewriteCond %{HTTP_HOST} ^yourdomain.com <http://yourdomain.com/> 
> <http://yourdomain.com/ <http://yourdomain.com/>>$ [NC]
> RewriteRule (.*) https://www.yourdomain.com/$1 
> <https://www.yourdomain.com/$1> <https://www.yourdomain.com/$1 
> <https://www.yourdomain.com/$1>> [R=301,L]
> 
> 
> if the sample code is mixed up then you´ll find it also here as text file for 
> download
> 
> https://dl.qck.nu//?dl=sample_htaccess.txt 
> <https://dl.qck.nu//?dl=sample_htaccess.txt> 
> <https://dl.qck.nu//?dl=sample_htaccess.txt 
> <https://dl.qck.nu//?dl=sample_htaccess.txt>>
> 
> 
> HTH
> Matthias
> 

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to