Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL installation


drivle

Recommended Posts

Posted

Hi

I've just managed to install oscommerce and it's all working well.

However, my secure area is on a different server.

How much of the script do I need to install on my secure site?

Or does the whole package have to go there?

 

Thanks,

d.

Posted

From my point of view ...just the image dir goes on your SSL side and make sure to change both configure.php in catalog and admin

 

HTH

 

The_Bear

Posted

Hi - thanks for that.

What I don't understand is....

 

I have defined a secure server for the check out procedure (in the configure scripts).

 

But, when I try to log-in or create an account - the links automatically take me to the secure site.

 

Any ideas what to do about this?

d.

Posted

If you could show an URL it would help

Posted

And it is normal that the account and logging goes to the secre side

 

HTH

 

The_Bear

Posted

yes, it is normal for the login/account edit stuff to occur under https - that could be changed in your code and config files, but a lot of people like that their personal information is being entered under https instead of http - dont ask me why.... they just do :?

Posted

ok - that's fair enough, but it does bring me back to my original question.

 

How much of the script do I need to install on my secure site?

Or does the whole package have to go there?

 

Thanks for yor patience :wink:

d.

Posted

well, none of it really - you install everything into your store (admin and catalog or whatever you have named these folders), and then just make the appropriate changes in your admin/includes/configure.php and catalog/includes/configure.php files to point to the https server url - the rest is then handled by the code

Posted

Thanks Jeff - but I'm missing the point somewhere.

 

I thought that providing the https://whatever - was for the checkout only.

 

If I remove this from my configure script, and replace it with my local url, - granted, the login will now be on my local site, BUT, how then can my scripts find their way to my secure site?

 

This doesn't even look clear to me - and I know what I mean....

 

Thanks again, :oops:

d.

Posted

providing the https url in the configure files point anything that requires the secure site to go there (checkout, create account, edit account, login, etc)

 

but no files are directly loaded onto the secure server, it just evokes the secure server to take over running the scripts

 

so if you are running the general store on one server and the secure site has a different url, that would be the url entered in the configure files.

Posted

providing the https url in the configure files point anything that requires the secure site to go there (checkout, create account, edit account, login, etc)

 

but no files are directly loaded onto the secure server, it just evokes the secure server to take over running the scripts

 

so if you are running the general store on one server and the secure site has a different url, that would be the url entered in the configure files.

Posted

So, then, I have to install ALL my (oscommerce) scripts on the secure server?

 

I'm sorry -- I really am *missing* the point.

 

here are my two config files - can you see where I'm going wrong?

 

/www/oscommerce/catalog/includes

 

<?php



// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

 define('HTTP_SERVER', 'http://www.ebme.net'); // eg, http://localhost - should not be empty for productive servers

 define('HTTPS_SERVER', 'https://prossl.co.uk/166'); // eg, https://localhost - should not be empty for productive servers

 define('ENABLE_SSL', true); // secure webserver for checkout procedure?

 define('DIR_WS_CATALOG', '/oscommerce/catalog/'); // absolute path required

 define('DIR_WS_IMAGES', 'images/');

 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

 define('DIR_WS_INCLUDES', 'includes/');

 define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

 define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

 define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');



 define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');

 define('DIR_FS_DOCUMENT_ROOT', '/www/hosts/ebme.net/www/oscommerce');

 define('DIR_FS_CATALOG', '/www/hosts/ebme.net/www/oscommerce/catalog/');

 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');



// define our database connection

 define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

 define('DB_SERVER_USERNAME', 'ebmeusa');

 define('DB_SERVER_PASSWORD', 'Grr8init');

 define('DB_DATABASE', 'ebme');

 define('USE_PCONNECT', 'false'); // use persistent connections?

 define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

?>

 

/www/oscommerce/catalog/admin/includes

 

<?php



// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

 define('HTTP_SERVER', 'http://www.ebme.net'); // eg, http://localhost or - https://localhost should not be empty for productive servers

 define('HTTP_CATALOG_SERVER', 'http://www.ebme.net');

 define('HTTPS_CATALOG_SERVER', 'https://prossl.co.uk/166');

 define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

 define('DIR_FS_DOCUMENT_ROOT', '/www/hosts/ebme.net/www/oscommerce'); // where the pages are located on the server

 define('DIR_WS_ADMIN', '/oscommerce/catalog/admin/'); // absolute path required

 define('DIR_FS_ADMIN', '/www/hosts/ebme.net/www/oscommerce/catalog/admin/'); // absolute pate required

 define('DIR_WS_CATALOG', '/oscommerce/catalog/'); // absolute path required

 define('DIR_FS_CATALOG', '/www/hosts/ebme.net/www/oscommerce/catalog/'); // absolute path required

 define('DIR_WS_IMAGES', 'images/');

 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

 define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

 define('DIR_WS_INCLUDES', 'includes/');

 define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

 define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

 define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

 define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

 define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

 define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

 define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');



// define our database connection

 define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

 define('DB_SERVER_USERNAME', 'ebmeusa');

 define('DB_SERVER_PASSWORD', 'Grr8init');

 define('DB_DATABASE', 'ebme');

 define('USE_PCONNECT', 'false'); // use persisstent connections?

 define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

?>

Posted

hmmmm .... i see what you mean

 

yes, i would install a copy of the store on the secure server

 

another thing is that is i type in http://www.ebme.net/oscommerce/catalog/ I am looking at all your files.... you should create an index.html or index.php file which contains the following:

 

<?php

header("location:http://www.ebme.net/oscommerce/catalog/default.php");

?>

 

so if people type what i did they will automatically be redirected to your default page instead of looking at all your files...

Posted

How do I copy my shop to a secure sever, and where do I find this? Is that what ypu meeby ISS? :roll: :oops: I'm so newbie, but if I dont ask I dont learn.. :wink:

Posted
hmmmm .... i see what you mean

 

yes, i would install a copy of the store on the secure server

 

I have been reading this thread with much interest as I have a similar problem.

 

When I try to logon or create an account or anything that requires the secure server I get the following message:

 

https://www.secure2.wahju.com/disciple/cata...943394d4ecdd4ea

 

 

If I have understood the other posts correctly the only thing I need is images on the secure server. So what might be causing this error?

 

Thanks for your help!!

All that is not eternal is eternally useless.

Posted

is your secure server a different ip?

 

try placing a copy of your catalog folder there - you only have a couple of files installed there now so it cant find the login.php fiile

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...