Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Not installing on the web server root


Craig_B

Recommended Posts

Posted

Hi,

 

I am installing a couple of OSCommerce stores on a domain and I would like this folder setup: (two different databases)

 

/us/catalog

/ca/catalog

 

From the installation instructions, it says that it wants the catalog folder on the server root. Is it possible to set up the folder structure differently than the default?

 

thanks,

Craig

Posted

Yes, this can be done just as easily as installing into the root of the web. Just remember that in the two config files (includes/configure.php and admin/includes/configure.php) you will need to set the file pathways to reflect the destination folders. If this is a manual install, and not a feature preinstalled in your websites' control panel, then you'll have the option to set the directory addresses during the 'install' part of the procedure. You'll probably still have to amend the two config files though. Hope this helps - Vger.

Posted

I would use one directory each. Just change catalog to us or us_catalog and the same for ca. You can use the same database by modifing includes/database_tables.php to be like so.

 

define('TABLE_ADDRESS_BOOK', 'us_address_book');

 

Also make sure you create a private session and cache temp dir for each one.

 

/serverpath/tmp/us/

/serverpath/tmp/ca/

Posted

you need two folders and you can use one database. the proper way to do it is in the tips and tricks area.

Archived

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

×
×
  • Create New...