Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

subdomains for admin and shop...


westberlin

Recommended Posts

Posted

Hi there,

 

i've moved the adminsite to admin.mydomain.net (/varwww/mydomain.net/admin/) in addition i moved the catalog to shop.mydomain.net (/var/www/mydomain.net/shop/).

 

In the adminnistrationmode i can't see the images. Rightclick on the images shows my this for example: http://admin.mydomain.net/images/category_hardware.gif

 

This is my admin/includes/configure.php:

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

 define('HTTP_SERVER', 'http://admin.mydomain.net'); // eg, http://localhost - should not be empty for productive servers

 define('HTTP_CATALOG_SERVER', 'http://shop.mydomain.net');

 define('HTTPS_CATALOG_SERVER', '');

 define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module

 define('DIR_FS_DOCUMENT_ROOT', '/var/www/mydomain.net/'); // where the pages are located on the server

 define('DIR_WS_ADMIN', '/'); // absolute path required

 define('DIR_FS_ADMIN', '/var/www/mydomain.net/admin/'); // absolute pate required

 define('DIR_WS_CATALOG', '/'); // absolute path required

 define('DIR_FS_CATALOG', '/var/www/mydomain.net/shop/'); // absolute path required

 define('DIR_WS_IMAGES', 'images/');

 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

 define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

 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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

 define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

 define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

 define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

 define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

Is it possible to get it work or should i run the shop under the normal configuration (shop at mydomain.net/shop/ and admin under mydomain.net/admin/)?

 

If there isn't a solution i wanna know if it is possible to run the shop directly under the domain e.g mydomain.net/index.php without having two links to the main site ( Top ? Catalog or in german: Startseite ? Katalog) with shows you your currently position.

 

kind regards

 

malte

Bremen, GER

contact me via ICQ: 303475861

Posted

This may help you with your breadcrumb trail issue.

 

Good luck,

Matt

Archived

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

×
×
  • Create New...