Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

secure url where to put


Recommended Posts


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


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


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('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



[email protected]

Link to comment
Share on other sites


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

  • Create New...