karen
Posts: 99
|
Posted: 09/22/2011, 5:33 AM |
|
Hi all,
I would like to be able to test pages that require SSL locally on WAMP which does not have SSL installed. The production server will have SSL.
This post http://forums.yessoftware.com/posts.php?post_id=72604 looked like something I could use but I realised that the function CCCheckSSL (in common.php) is not allowing the lack of https, if I'm not mistaken since I just get the message "SSL connection error. This page can be accessed only via secured connection.".
What's the best way to do this such that I can locally test the functionality of the pages without worrying about the secure part yet? Thanks for any advice.
Cheers,
Karen
|
|
|
phpminer
Posts: 28
|
Posted: 09/23/2011, 1:48 AM |
|
This may be helpful:
http://stackoverflow.com/questions/4221874/how-do-i-cre...ocalhost-apache
|
|
|
karen
Posts: 99
|
Posted: 09/23/2011, 4:01 AM |
|
Thanks, phpminer. I was hoping I didn't have to install SSL on the local test server and be able to put a condition such that if it's localhost, then don't require SSL. Looks like everyone has SSL on their local machines...
|
|
|
datadoit
|
Posted: 09/23/2011, 6:05 AM |
|
I replied with detailed instructions, but it got wiped out. Probably
because of the inline code. If I get time today I'll repost to my blog.
|
|
|
phpminer
Posts: 28
|
Posted: 09/23/2011, 10:07 AM |
|
You're welcome.
To "datadoit": If you can, just post a "Gif" or "JPeg" of the solution -- to get around the inline code issue.
|
|
|
karen
Posts: 99
|
Posted: 09/24/2011, 3:58 AM |
|
Thanks for your effort, datadoit. That must have been frustrating. It is for me even, waiting to see what your advice is. Yes, pls don't forget to link to your blog post from here when you get the time. Thanks a lot!
|
|
|
datadoit
|
Posted: 09/27/2011, 8:30 AM |
|
Details of a workaround here: http://www.codechargesupport.com/blog/
|
|
|
karen
Posts: 99
|
Posted: 09/27/2011, 4:47 PM |
|
Thanks so much for the detailed steps, datadoit! I'm definitely trying this and won't attempt to install SSL on my local WAMP environment...I did start to try but already got stuck very early on! I'll update soon.
|
|
|
datadoit
|
Posted: 09/28/2011, 9:33 AM |
|
Updated the post with a solution.
|
|
|
karen
Posts: 99
|
Posted: 09/28/2011, 5:00 PM |
|
Ok, will try that too. Thanks!
|
|
|