Craig_B Posted April 14, 2004 Posted April 14, 2004 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
808smokey Posted April 14, 2004 Posted April 14, 2004 On my account I would have to have two seperate databases. Which means more $$$ but yes you can have two.
♥Vger Posted April 14, 2004 Posted April 14, 2004 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.
user99999999 Posted April 15, 2004 Posted April 15, 2004 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/
Guest Posted April 15, 2004 Posted April 15, 2004 you need two folders and you can use one database. the proper way to do it is in the tips and tricks area.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.