user2072 Dari Tidak diketahui Anggota sejak Des -0001 user2072 28 Mar 2014 17:37 good afternoon, we have installed the cart in ""normal"" site, we are now setting up a secure site. How do I move the cart from ""normal"" to ""secure"", if possible ?
litecart Main Crew Dari Sweden Anggota sejak Feb 2013 litecart 28 Mar 2014 21:17 To force a connection over SSL you can add a .htaccess rule like the following: Redirect to HTTPS RewriteCond %{SERVER_PORT} ^80$ RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R=301] Or RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L] Or RewriteCond %{SERVER_PORT} !^443$ RewriteRule ^(.*) https://%{SERVER_NAME}/$1 [NC,R=301,L] LiteCart will return links relative to the domain port, path and protocol.
user2072 Dari Tidak diketahui Anggota sejak Des -0001 user2072 13 Apr 2014 11:53 thanks, as soon as cert is installed I'll have go htaccess edit worked ok, the site came up as a https alright, however it also blocked the access to the admin -- could not log in - once I removed the htaccess edit of ""redirect to https"" admin was available again .....
litecart Main Crew Dari Sweden Anggota sejak Feb 2013 litecart 15 Apr 2014 01:17 Send an e-mail to support (a) litecart.net with FTP details and we will see if there is any trouble with the platform.
user2072 Dari Tidak diketahui Anggota sejak Des -0001 user2072 16 Apr 2014 09:11 send ftp detail to email as suggested. thanks, much appreciated
litecart Main Crew Dari Sweden Anggota sejak Feb 2013 litecart 16 Apr 2014 14:02 See the subfolder in the code below # Force HTTPS - Remember: Clear links cache RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}/aoifapublications/$1 [R=301,L]
user2072 Dari Tidak diketahui Anggota sejak Des -0001 user2072 18 Apr 2014 09:10 thanks so much, that did the trick ! Update: sorry, trouble again -- admin login with error ""index.php not found on this server"" . removed the https rewrite from htaccess and all works again. I think I will have to re-install cart on secure server, thanks for all your help
litecart Main Crew Dari Sweden Anggota sejak Feb 2013 litecart 18 Apr 2014 16:28 Resolves fine here https://www.**domain**.com/aoifapublications/**admin**/index.php