Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Shared SSL problem


jonathan hayton

Recommended Posts

I'm a newbie and have just installed oscommerce through cpanel on my hosting companies website.

 

I've been trying to get it to work with a shared ssl, I assume it does, but the address I put in during the configuration process was incorrect. It looks like this in the address bar

 

https://https//secure.esolute.net/~visua317...49fcf9d6ee45e39

 

I wanted to know if there was somewhere in the administration area where the SSL address can be changed.

 

any help would be much appreciated!

Link to comment
Share on other sites

I'm a newbie and have just installed oscommerce through cpanel on my hosting companies website.

 

I've been trying to get it to work with a shared ssl, I assume it does, but the address I put in during the configuration process was incorrect. It looks like this in the address bar

 

https://https//secure.esolute.net/~visua317...49fcf9d6ee45e39

 

I wanted to know if there was somewhere in the administration area where the SSL address can be changed.

 

any help would be much appreciated!

 

Not in your admin, you will need to change it in your two configure.php files

includes/configure.php

admin/includes/configure.php

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Link to comment
Share on other sites

I'm having the same problem, and I think that my confi files are correct. Or at least they look correct to me. I need an answer to this problem as well so if you figure it out, let me know.

 

Heres what my config looks like in the admin site

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

define('HTTP_CATALOG_SERVER', 'http://localhost:8080');

define('HTTPS_CATALOG_SERVER', 'https://localhost');

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

define('DIR_FS_DOCUMENT_ROOT', 'C:/Program Files/Apache Group/Apache2/htdocs/cat/catalog/'); // where the pages are located on the server

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

define('DIR_FS_ADMIN', 'C:/Inetpub/SSLDummy/admin/'); // absolute pate required

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

define('DIR_FS_CATALOG', 'C:/Program Files/Apache Group/Apache2/htdocs/cat/catalog/'); // absolute path required

 

And for the catalog site

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

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

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

 

 

Thanks,

Ryan Smith

osCommerce is a great piece of software with wonderful contributions.

Spend some time in the contribution area. There are a lot of gems there.

Link to comment
Share on other sites

I'm a newbie and have just installed oscommerce through cpanel on my hosting companies website.

 

I've been trying to get it to work with a shared ssl, I assume it does, but the address I put in during the configuration process was incorrect. It looks like this in the address bar

 

https://https//secure.esolute.net/~visua317...49fcf9d6ee45e39

 

I wanted to know if there was somewhere in the administration area where the SSL address can be changed.

 

any help would be much appreciated!

 

 

I think I got a good handle on this problem now. I found that the reason that I was having this difficulty was in both the config file and the application_top file. after seraching throught the forums, I found some similar posts, and dug through the code. I ended up changing my config file in the admin folder to

 

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

define('HTTP_CATALOG_SERVER', 'https://localhost/');

define('HTTPS_CATALOG_SERVER', 'https://localhost/');

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

define('DIR_FS_DOCUMENT_ROOT', 'C:/Program Files/Apache Group/Apache2/htdocs/cat/catalog/'); // where the pages are located on the server

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

define('DIR_FS_ADMIN', 'C:/Inetpub/SSLDummy/admin/'); // absolute pate required

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

define('DIR_FS_CATALOG', 'C:/Program Files/Apache Group/Apache2/htdocs/cat/catalog/'); // absolute path required

 

This was redirecting back to the non-SSL server so I had to add the following line to the application_top in admin/includes:

 

$request_type = 'SSL';

 

Now it all works great.

 

Hope this helps you out too.

 

Ryan Smith

osCommerce is a great piece of software with wonderful contributions.

Spend some time in the contribution area. There are a lot of gems there.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...