drivle Posted March 7, 2003 Posted March 7, 2003 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.
Guest Posted March 7, 2003 Posted March 7, 2003 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
drivle Posted March 7, 2003 Author Posted March 7, 2003 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.
Guest Posted March 7, 2003 Posted March 7, 2003 And it is normal that the account and logging goes to the secre side HTH The_Bear
drivle Posted March 7, 2003 Author Posted March 7, 2003 Hello, This is a 'test' site - it's not live. http://www.ebme.net/oscommerce/catalog/default.php Thanks again, d.
Guest Posted March 7, 2003 Posted March 7, 2003 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 :?
drivle Posted March 7, 2003 Author Posted March 7, 2003 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.
Guest Posted March 7, 2003 Posted March 7, 2003 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
drivle Posted March 7, 2003 Author Posted March 7, 2003 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.
Guest Posted March 7, 2003 Posted March 7, 2003 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.
Guest Posted March 7, 2003 Posted March 7, 2003 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.
drivle Posted March 7, 2003 Author Posted March 7, 2003 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' ?>
Guest Posted March 7, 2003 Posted March 7, 2003 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...
Selini Posted March 8, 2003 Posted March 8, 2003 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:
disciple1 Posted March 8, 2003 Posted March 8, 2003 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.
Guest Posted March 8, 2003 Posted March 8, 2003 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.