WAHM Forums

The WAHM community forum was created to be a place for work at home moms to share their ideas and stories. In the forum you can find information about work at home jobs, starting home businesses, avoiding scams, and surviving the WAHM lifestyle. In support of the WAHM community, WAHM.com also features instructional articles, easy recipes, as well as job and business listings tailored specifically to work at home opportunities.




View Full Version : SSL pages


lizscgc
02-27-2006, 10:42 AM
I now have a shared SSL and need to know which pages to hyperlink to the secure URL. Any suggestions on which pages I should secure, such as all of the account pages and all of the checkout pages??


The directions say to change the hyperlink to the secure URL. If I do all of the account and checkout pages, this will be a lot of work won't it?


Sorry for all the questions...I'm trying to have the new host site up and running smoothly by Friday.


Thanks!


Liz


TeresaK
02-27-2006, 10:44 AM
Yes, you will definately want all your checkout & account pages to be secure.


It sounds like a lot of work, but I'm not sure because I'm not familiar with their system.


Teresa :)

lizscgc
02-27-2006, 11:36 AM
Does anyone know where I can find the files/folders that include the hyperlinks (for oscommerce)? Such as catalog/includes/languages/english??


chrlstoncharmed
02-27-2006, 12:16 PM
In osCommerce, I believe you have to change the settings in catalog/includes/configure.php and admin/includes/configure.php.

a) catalog/includes/configure.php </span>

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
define('HTTP_SERVER', 'http://www.yourdomain.com'); // eg, http://localhost (http://localhost/) - should not be empty for productive servers
define('HTTPS_SERVER', 'https://yourdomain.com'); // eg, https://localhost (https://localhost/) - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'www.yourdomain.com');
define('HTTPS_COOKIE_DOMAIN', 'yourdomain.com');
define('HTTP_COOKIE_PATH', '/catalog/');
define('HTTPS_COOKIE_PATH', '/catalog/');
define('DIR_WS_HTTP_CATALOG', '/catalog/');
define('DIR_WS_HTTPS_CATALOG', '/catalog/');
<br style="font-weight: bold;">b) admin/includes/configure.php</span>

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
define('HTTP_SERVER', 'http://www.yourdomain.com'); // eg, http://localhost (http://localhost/) - should not be empty for productive servers
define('HTTP_CATALOG_SERVER', 'http://www.yourdomain.com');
define('HTTPS_CATALOG_SERVER', 'https://yourdomain.com');
define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

Then it should automatically secure the appropriate pages and display the https in the address bar.
<!--
var SymRealOnLoad;
var SymReal;

Sym()
{
window.open = SymWinOpen;
if(SymReal != null)
SymReal();
}

SymOnLoad()
{
if(SymRealOnLoad != null)
SymRealOnLoad();
window.open = SymRealWinOpen;
SymReal = window.;
window. = Sym;
}

SymRealOnLoad = window.onload;
window.onload = SymOnLoad;

//-->

lizscgc
02-27-2006, 12:58 PM
OK, but if it is a shared SSL, should I replace the https://yourdomain.com with the shared url https://domain.com/~username/file.htm??

chrlstoncharmed
02-27-2006, 01:53 PM
Yep, if they gave you a path to the certificate's location, that is the one to use in your configure files. smileys/smiley20.gif<!--
var SymRealOnLoad;
var SymReal;

Sym()
{
window.open = SymWinOpen;
if(SymReal != null)
SymReal();
}

SymOnLoad()
{
if(SymRealOnLoad != null)
SymRealOnLoad();
window.open = SymRealWinOpen;
SymReal = window.;
window. = Sym;
}

SymRealOnLoad = window.onload;
window.onload = SymOnLoad;

//-->

lizscgc
02-27-2006, 02:22 PM
Hmmm...still not working right. smileys/smiley7.gif

lizscgc
02-27-2006, 03:22 PM
Finally got it.


Thanks! You've been a great helpsmileys/smiley1.gif