Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Secure SSL


neilwalker

Recommended Posts

Posted

Hi having trouble setting up oscommerce to integrate with a shared ssl;

 

any support or knowledge would be much appriciated,

 

Cheers

Posted

It depends really on the format the shared ssl address takes. You'd need to post that address to get any realistic advice.

 

Vger

Posted

Try these settings:

 

define('HTTP_SERVER', 'http://www.mydomain.com');

define('HTTPS_SERVER', 'https://secure.webhoster.co.uk/mydomain.com'); define('ENABLE_SSL', true);

define('HTTP_COOKIE_DOMAIN', 'www.mydomain.com');

define('HTTPS_COOKIE_DOMAIN', 'secure.webhoster.co.uk/mydomain.com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

 

If that does not work then try leaving the https_cookie_domain blank (nothing between the apostrophies), in which case you'd also leave the https_cookie_path blank.

 

Vger

Posted
Have a read through this:

 

http://www.oscommerce.com/forums/index.php?sho...ndpost&p=672623

 

You'll most likely solve your problem.

 

I am printing out the above for reference but currently have an SSL problem I do not understand.

I go to the configure.php file and add the appropriate https entries but when I save the file and then go back to check my work, nothing has been saved??.

 

I do not have SSL on the server yet, I have purchased it but do not have confirmation of completion. I am also in the process of getting a cert. Is this the reason nothing will update in the (catalog/includes/configure.php). I might add that the (catalog/admin/includes/configure.php) will update ok.

 

Thank you

jer37

Posted
Try these settings:

 

You can fool around with settings in configure.php till next Christmas and you won't solve the problem. That's not where the problem lies.

 

The most ordinary and standard settings in configure.php will be fine once the fundamental problem is solved.

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Posted
I am printing out the above for reference but currently have an SSL problem I do not understand.

I go to the configure.php file and add the appropriate https entries but when I save the file and then go back to check my work, nothing has been saved??.

 

That's a basic problem with file permissions and nothing to do with ssl settings. If you're on a windows host you may have to use some other method to edit the file.

 

I do not have SSL on the server yet, I have purchased it but do not have confirmation of completion. I am also in the process of getting a cert. Is this the reason nothing will update in the (catalog/includes/configure.php). I might add that the (catalog/admin/includes/configure.php) will update ok.

 

Once the ssl is working with the cert (you can get an https://yoursite.com connection) just go back and edit the configure.php file again.

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Posted
That's a basic problem with file permissions and nothing to do with ssl settings. If you're on a windows host you may have to use some other method to edit the file.

Once the ssl is working with the cert (you can get an https://yoursite.com connection) just go back and edit the configure.php file again.

 

Thank you

What I didnt try and it just dawned on me that it might be the place to edit is in the commerce admin/tools/file manager function.

 

I'll try that and see what happens

 

jer37

Posted
Thank you

What I didnt try and it just dawned on me that it might be the place to edit is in the commerce admin/tools/file manager function.

 

I'll try that and see what happens

 

jer37

Uh oh...

 

That's not good. The file manager editor is buggy and you'll create more problems than you solve.

 

How are you trying to do the edit?

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Archived

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

×
×
  • Create New...