qijianbo / tradie-choice

Automatically exported from code.google.com/p/tradie-choice
0 stars 0 forks source link

ability to either disable or enable https #250

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

1. I'd like the ability to enable/disable https from either the 
admin or the config file

Original issue reported on code.google.com by cih...@gmail.com on 13 Nov 2013 at 4:27

GoogleCodeExporter commented 8 years ago
Hi, Jon. I have fixed this issue. I have also attached screenshot of this page 
created. There were some bugs in header of admin page. I have solve them also. 
Now you can adjust the SSL from admin panel. Thank you.

NB: If you want faster load of site in final version you need to add the 
following code in htaccess file.

#Code By Sadeq START
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
#Code By Sadeq END

Original comment by bdsa...@gmail.com on 16 Nov 2013 at 8:11

Attachments:

GoogleCodeExporter commented 8 years ago
Forget to mention. I have added 1 table named 'ssl'

Original comment by bdsa...@gmail.com on 16 Nov 2013 at 8:14

GoogleCodeExporter commented 8 years ago
i cant fully test this, because when I try to go to 
test.tradiechoice.com/index.php/siteadmin
it gives me a blank page with the following message

This webpage has a redirect loop

Original comment by cih...@gmail.com on 16 Nov 2013 at 8:27

GoogleCodeExporter commented 8 years ago
its working on my PC

Original comment by bdsa...@gmail.com on 16 Nov 2013 at 8:29

GoogleCodeExporter commented 8 years ago
just a minute. let me work. 

Original comment by bdsa...@gmail.com on 16 Nov 2013 at 8:30

GoogleCodeExporter commented 8 years ago
fixed

Original comment by bdsa...@gmail.com on 16 Nov 2013 at 8:42

GoogleCodeExporter commented 8 years ago
as discussed from graph
http://www.webpagetest.org/result/131116_BK_S19/1/details/

Original comment by cih...@gmail.com on 16 Nov 2013 at 8:44

GoogleCodeExporter commented 8 years ago
Hi Jon, except the Google Map service rest of them are from http when SSL is 
off. Please check the link 
http://www.webpagetest.org/result/131124_J2_ERP/1/details/ . You can mark this 
issue as fixed.

NB: Because of Google Map service is 3rd party API, so it should remain as 
https. Rest of them are from admin panel setting.

Original comment by bdsa...@gmail.com on 24 Nov 2013 at 2:40

GoogleCodeExporter commented 8 years ago

Original comment by cih...@gmail.com on 29 Nov 2013 at 12:45