Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Alter configure.php when changing to root


catalunian

Recommended Posts

Hello y'all

I wish to change my website from catalog to root and i have read that i have to alter my configure.php files but unable to find out what to change?

My current catalog/admin/includes/configure is:-

<?php

define('HTTP_SERVER', 'http://vestidos-de-novia-online.com');

define('HTTP_CATALOG_SERVER', 'http://vestidos-de-novia-online.com');

define('HTTPS_CATALOG_SERVER', 'https://vestidos-de-novia-online.com');

define('ENABLE_SSL_CATALOG', false);

define('DIR_FS_DOCUMENT_ROOT', '/home/oaiqogny/public_html/catalog/');

define('DIR_WS_ADMIN', '/catalog/admin/');

define('DIR_FS_ADMIN', '/home/oaiqogny/public_html/catalog/admin/');

define('DIR_WS_CATALOG', '/catalog/');

define('DIR_FS_CATALOG', '/home/oaiqogny/public_html/catalog/');

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/');

 

and my catalog/includes/configur.php is:-

<?php

define('HTTP_SERVER', 'http://vestidos-de-novia-online.com');

define('HTTPS_SERVER', 'https://vestidos-de-novia-online.com');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', 'vestidos-de-novia-online.com');

define('HTTPS_COOKIE_DOMAIN', 'vestidos-de-novia-online.com');

define('HTTP_COOKIE_PATH', '/catalog/');

define('HTTPS_COOKIE_PATH', '/catalog/');

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_CATALOG', '/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', '/home/oaiqogny/public_html/catalog/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

what do i have to change??

 

Thanks in anticipation

I live for today I might die tomorrow

Link to comment
Share on other sites

Anywhere the word 'catalog' appears in part of the VALUE, simply remove it.

 

'/home/oaiqogny/public_html/catalog/' would change to '/home/oaiqogny/public_html/'

'/catalog/' would change to '/'

 

And this...

'/home/oaiqogny/public_html/catalog/admin/' please change the 'admin' to something else and read the Security forum about Securing your site.

Community Bootstrap Edition, Edge

 

Avoid the most asked question. See How to Secure My Site and How do I...?

Link to comment
Share on other sites

Anywhere the word 'catalog' appears in part of the VALUE, simply remove it.

 

'/home/oaiqogny/public_html/catalog/' would change to '/home/oaiqogny/public_html/'

'/catalog/' would change to '/'

 

And this...

'/home/oaiqogny/public_html/catalog/admin/' please change the 'admin' to something else and read the Security forum about Securing your site.

I live for today I might die tomorrow

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...