Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Settings in configure . php


Guest

Recommended Posts

Posted

The code and description at the bottom are from configure.php

 

The setting seems to have a relative effect depending on what you enter in between the ' ' s For example if I leave it as it is other PC's can't browse the site because all links then begin with h t t p ://localhost no use for open websites. If I enter a server name the "top" link on the first grey row becomes a link to the server name also not good if it's on shared webspace. Thirdly if I enter the full path to oscommerce/catalog then all links become doubled. For example

h t t p ://localhost/oscommerce/catalog://localhost/oscommerce/catalog/index.php

 

Can't leave the ' ' setting empty either as the file says "should not be empty for productive servers"

 

What is the best option on a live site ??

 

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

Posted

this should be for example

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

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Archived

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

×
×
  • Create New...