Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

The Best Oscommerce Setup


yel

Recommended Posts

hi everyone,

 

well ich have tried to install oscommerce on my system (gentoo linux) thigs works just fine (at this point i would thanks you guys out there doing all the good work).

 

i start just to tests the whole system so i tryied to separe the system so that the

 

admin area is under a shopadmin.domain.com

and the the catalog under shop.domain.com

 

but iam having probelm to set it up sice all the links are pointing to a special paths and

if i restrict acces

to admin area from shop.domain.com

i can't access it even from

 

shopadmin.domain.com

 

since all the links are pointing

to shop.domain.com/admin where i installed my shop catalog

 

what i want to do is a 100% resriction of access to the admin area

 

from shop.domain.com

 

 

and to restrict access to shopadmin.domain.com to only registerd users

(this point is already done but since all the links points to shop.domain.com/admin its not working )

 

so i just wants to know how did you handel your oscommerce system ?

 

thanks for any ideas

greets

YEL

Link to comment
Share on other sites

the way you are trying to create things, are via sub domains, and unless you understand how that works, it is tough.

if you post your configure.php files here WITHOUT the database connection info, perhaps we can help.

to make it easier on you, i suggest not using different subdomains.

Link to comment
Share on other sites

hi MIbble,

 

thanks here is my configure.php

<?php
/*
 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'http://shop.domain.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', false); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'shop.domain.com');
 define('HTTPS_COOKIE_DOMAIN', '');
 define('HTTP_COOKIE_PATH', '/shop');
 define('HTTPS_COOKIE_PATH', '');
 define('DIR_WS_HTTP_CATALOG', '/');
 define('DIR_WS_HTTPS_CATALOG', '');
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_INCLUDES', 'includes/');
 define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
 define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
 define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
 define('DIR_FS_CATALOG', '/var/www/domain.com/htdocs/shop/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

// define our database connection
 define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', 'usr');
 define('DB_SERVER_PASSWORD', 'passwd');
 define('DB_DATABASE', 'dbname');
 define('USE_PCONNECT', 'false'); // use persistent connections?
 define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'
?>

 

i suggest not using different subdomains.

 

will you please explain why using subdomains is not a meaningfull solution ? and how would dou deal with such issue ?

 

thanks :)

 

YEL

Link to comment
Share on other sites

now that i added my configure.php i really hope your guys can get me some help out of this issue!!!

 

:blush:

 

 

 

thanks ofor any help (ideas) :thumbsup:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...