 |
Canadian Webhosting Forums Discussion Forums
|
| am i an idiot asking this question because i have spent a week finding the answer |
| I am a fool |
|
0% |
[ 0 ] |
| satisifactory |
|
100% |
[ 2 ] |
|
| Total Votes : 2 |
|
| Author |
Message |
wowcards
Joined: 08 Mar 2006 Posts: 2 Location: Waterloo, On
|
Posted: Wed Mar 08, 2006 11:45 pm Post subject: SECURE the WEBSITE |
|
|
Hi guys, I am having a problem securing my website with PHP; don't know if PHP is the only thing that supporst SSL. I have a PHP website with certificates for "wowcards.ca" I know i need to change my configuration for main page what do i put in?
define('HTTP_SERVER', 'http://wowcards.ca'); // eg, http://localhost
define('HTTPS_SERVER', 'https://wowcards.ca'); // eg, https://localhost
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'http://wowcards.ca');
define('HTTPS_COOKIE_DOMAIN', 'https://wowcards.ca');
define('HTTP_COOKIE_PATH', '/');
define('HTTPS_COOKIE_PATH', 'catalog/');
define('DIR_WS_HTTP_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/public_html/includes/'); |
|
| Back to top |
|
 |
sjsorell
Joined: 24 Aug 2005 Posts: 17 Location: Calgary, AB
|
Posted: Wed Mar 15, 2006 12:23 pm Post subject: yo |
|
|
Hey dude, I don't really know anything about this but here are some things I found. I tried logging onto your site with https://wowcards.ca/ and got a message that the certificate was for https://www.wowcards.ca. Maybe that is the difference in your php file? If you want just your checkout to be secure maybe you could set it to redirect you to https://... when checkout button is pressed or something like that. Again I have no idea of what to do in php specifically or even what system you're using for your website. Are you using a php-based script for your ... wait, now I see your using OSCommerce.
**The best idea would be to check out the OSCommerce forums to see what they say http://forums.oscommerce.com/
Hope this was any help at all!
Scott |
|
| Back to top |
|
 |
shivin Guest
|
Posted: Mon Oct 02, 2006 12:38 am Post subject: |
|
|
Thanks Scott.
Some client do get confused while getting a warning message when accessing their site through https://domainname when the Certificate is registered for www.domainname. |
|
| Back to top |
|
 |
|
|