Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Copying osc into new folder


A Shah

Recommended Posts

I currently have osc installed on the root of the webserver, therefore if you go to 'www.mydomain.com' osc is opened.

 

However if I wanted to create a sub surectory under the root such as 'www.mydomain.com/uk', could I copy the files from the root directory and expect them to work under the 'uk' directory seamless, or will I have to re-install osc in the sub directory.

 

Thanks.

Link to comment
Share on other sites

I currently have osc installed on the root of the webserver, therefore if you go to 'www.mydomain.com' osc is opened.

 

However if I wanted to create a sub surectory under the root such as 'www.mydomain.com/uk', could I copy the files from the root directory and expect them to work under the 'uk' directory seamless, or will I have to re-install osc in the sub directory.

 

Thanks.

 

 

Not quite seamless - nothing ever is :) You will need to change your configure paths to point to the new path - also if you have any contribs that have hard coded paths - There are some - then you will have to change those as well.

 

Charles

A kite flies highest AGAINST the wind !

 

"Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, a lover in one hand, martini in the other, body thoroughly used up, totally worn out and screaming ~ WOO HOO!! What a ride!"

Link to comment
Share on other sites

Thanks Charles.

 

Other than changing the configure.php & contribs, if I wanted the new shop (in the sub directory - uk) to use a new set of tables in the mySQL db, could I achieve this by creating the new tables (maybe changing the prefix on them to make them unique in the db) ? However I am unsure how I would point the new shop ) in the uk folder) to read the new mySQL tables (assumiing you can do this) ?

 

Thanks.

Link to comment
Share on other sites

Thanks Charles.

 

Other than changing the configure.php & contribs, if I wanted the new shop (in the sub directory - uk) to use a new set of tables in the mySQL db, could I achieve this by creating the new tables (maybe changing the prefix on them to make them unique in the db) ?  However I am unsure how I would point the new shop ) in the uk folder) to read the new mySQL tables (assumiing you can do this) ?

 

Thanks.

 

 

Not sure why you want it to se a new set of tables :huh: Whats wrong with the existing ones ?

 

Charles

A kite flies highest AGAINST the wind !

 

"Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, a lover in one hand, martini in the other, body thoroughly used up, totally worn out and screaming ~ WOO HOO!! What a ride!"

Link to comment
Share on other sites

I was going to cofigure the existing ones for the US and the new set for the UK/Europe Market.

 

Based on your info so far this is design wise two different carts and entities so...IMO

 

The easisest and cleanest way fwd is to

 

set up two carts in two different directories and two different databases.

 

Charles

A kite flies highest AGAINST the wind !

 

"Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, a lover in one hand, martini in the other, body thoroughly used up, totally worn out and screaming ~ WOO HOO!! What a ride!"

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...