Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

secure url where to put


kimmo

Recommended Posts

Hi

I am new to osc

Where do I write the secure url and enable it ?

Can I do it in the admin interface?

I have a shared ssl.

 

Would really appreciate an answer.

Best regards

Kimmo

Link to comment
Share on other sites

Hi, Kimmo!

I'm the same as you - brand new to OSC and feeling my way around the config etc.

OK - to set up your ssl, you need to edit the INCLUDES>CONFIGURE.PHP and ADMIN>INCLUDES>CONFIGURE.PHP files. You will see the HTTPS settings in each file. You will need to chmod the INCLUDES>CONFIGURE.PHP file before it will allow you to edit (it's set to 400 by default, it needs to be 700).

It should already show as "https://www.yourdomain.com" or something similar?

I'm also fighting with setting up https to use a shared cert (with unitedhosting), so I guess you will need to edit it to read something like "https://yourservername.yourhostingcompany.com/yourdomain.com". Your host should be able to tell you exactly how to set it up. I hope!

Hope this helps!

John Mc

Link to comment
Share on other sites

Hi John

Thanks for your fast reply!!!

 

Do I have to configure in both places also in the admin>configure.php?

What should I write there?

My secure server url is

https://dryden.serversecured.net/~wwwabst/

Wherer should I put it ?

Below is some lines from the configure file

could you please guide me.

 

// define our webserver variables

// FS = Filesystem (physical)

// WS = Webserver (virtual)

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

define('HTTP_CATALOG_SERVER', '');

define('HTTPS_CATALOG_SERVER', '');

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

define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)

define('DIR_WS_ADMIN', '/artshop/admin/');

 

Have you got it right?

I plan to use 2checkout.

 

Best regards

Kimmo

www.kimmo.nu

[email protected]

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...