Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need help with ssl


TafAdm

Recommended Posts

Hi all,

 

I' am sorry my inglish is no good. I'am from Spain, but i try it.

I have install the oscommerce 2.2 and all work funny. But now i want to install it on a server with ssl. For example. My page is on http://www.mipage.com/catalog and mi ssl server is on https://secureserver.com/mipage what files must be in the secureserver and what files in my page? Or must i install all the aplication in the serure server site? I have expose this question on spanish forums but no one have answered me. Thanks. I hope anyone understand me.

 

Tom?s

Link to comment
Share on other sites

Ola Tomas!

 

I am sorry I do not speak more Spanish. Setting your site up with SSL depends a little bit on your host's configuration.

 

Is the HTTPS on the same server as your HTTP?

 

Do you have separate directories in the root for HTTP and HTTPS?

 

Once you have the questions answered we can help with the configuration of your shop.

Link to comment
Share on other sites

Tomas,

 

I have a similar situation where my store is at http://www.arbucklechurch.org/catalog but the secure part is at https://whisper.internetsecuresite.com/arbu...echurch/catalog. I didn't have to have multiple copies of the store or anything like that because I think my host and probably yours has a symbolic link (or something similar) from the secure site to the normal site. I just had to play around with the paths a little in admin/includes/configure.php because the path on the http server is www/arbucklechurch/catalog and on the secure server it is arbucklechurch/catalog.

In olden times the men were made of iron and the ships were made of wood; now it's the other way around. :wink:

Link to comment
Share on other sites

Reply to Kim in this task :) - I have the same problem as Tomas. Secureserver is a different machine as the webserver. If i enter the path of secure server in config files i got http 404 if i changed to checkout_payment

Link to comment
Share on other sites

How do you have your servers defined in configure.php? Mine are like this

  define('HTTP_SERVER', 'http://www.arbucklechurch.org');

 define('HTTPS_SERVER', 'https://whisper.internetsecuresite.com/arbucklechurch');

Notice the directory on the end of HTTPS_SERVER. You need to enter the servers so that the web path to your store is the same on both.

In olden times the men were made of iron and the ships were made of wood; now it's the other way around. :wink:

Link to comment
Share on other sites

Hello Orchard,

Thanxs for replay, my entries are:

define('HTTP_SERVER', 'http://www.xtrem.biz');

define('HTTPS_SERVER', 'https://ssl9.inode.at/xtrem.biz');

define('HTTP_CATALOG_SERVER', 'http://www.xtrem.biz');

define('HTTPS_CATALOG_SERVER', 'https://ssl9.inode.at/xtrem.biz');

 

Start path is: http://www.xtrem.biz/catalog/default.php

if i checkout from basket i get http 404

https://ssl9.inode.at/xtrem.biz/catalog/che...91402793b1ba573

 

Any idea

best regards

Rainer

Link to comment
Share on other sites

Those look like the settings from admin/includes/configure.php. Are the settings in includes/configure.php the same? Also, are you sure the directory on the secure server is xtrem.biz and not just xtrem? Often the hosting company removes the www. and .biz.

In olden times the men were made of iron and the ships were made of wood; now it's the other way around. :wink:

Link to comment
Share on other sites

Hello Orchard,

 

entries in configure.php under catalog are the same, i already do a test without .biz, as you mentioned, not lucky :cry:

 

Any further idea?

 

Rainer

Link to comment
Share on other sites

Not really, but I don't mind guessing with you. :wink: Do you have an httpdocs and an httpsdocs directory or do you have an public_html directory or something else?

In olden times the men were made of iron and the ships were made of wood; now it's the other way around. :wink:

Link to comment
Share on other sites

I do not really exactly know what you mean with httpdocs directory but with installation of SSL i get a new subdirectory in my webspace under www/ssl

shop starting under www/home/catalog/, but as i understand, is this the filesystem path and not executable in IE

 

Here a list of configure.php with entries:

define('HTTP_SERVER', 'http://www.xtrem.biz');

define('HTTPS_SERVER', 'https://ssl9.inode.at/xtrem.biz')

define('HTTP_CATALOG_SERVER', 'http://www.xtrem.biz');

define('HTTPS_CATALOG_SERVER', 'https://ssl9.inode.at/xtrem.biz');

define('ENABLE_SSL', 'true');

define('ENABLE_SSL_CATALOG', 'true');

define('DIR_FS_DOCUMENT_ROOT', '/home/xt001vfr/www/home'); // where the pages are located on the server

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

define('DIR_FS_ADMIN', '/home/xt001vfr/www/home/admin/'); // absolute pate required

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

define('DIR_FS_CATALOG', '/home/xt001vfr/www/home/catalog/'); // absolute path required

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

 

:shock:

Link to comment
Share on other sites

To help debug, you should probably put an index.html page in the www/ssl directory and then try to load it in IE using https://ssl9.inode.at/xtrem.biz/index.html or something similar. It might be an easier way to figure out what the correct SSL URL is.

In olden times the men were made of iron and the ships were made of wood; now it's the other way around. :wink:

Link to comment
Share on other sites

Interesting. At least know we know the correct URL for SSL. Do you have shell access / telnet? If so, you may be able to make a symbolic link to your store. I've never created one before, mine were already setup by the hosting company. From the www/ssl directory, I think you want to type "ln -s http://www.xtrem.biz/catalog catalog" to make a symbolic link from catalog to your store. If this works it will behave like the store catalog directory is also in the www/ssl directory. If it doesn't work or you don't have telnet access, you may need to contact your hosting company. I have also heard of people putting a second copy of their store in the www/ssl directory, but that seems like a pain.

In olden times the men were made of iron and the ships were made of wood; now it's the other way around. :wink:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...