PDA

View Full Version : Broken links after install



thesoapman
01-20-2004, 08:05 PM
I install ms2max on my server in a folder called ms2max. My "create an account" and "log yourself" in links are like this;
https://puresoap.authsecure.com/login.php when they sould be like this;
https://puresoap.authsecure.com/ms2max/login.php. I tried changing the https variable in includes/configure.php to;
https://puresoap.authsecure.com/ms2max/ instead of;
https://puresoap.authsecure.com/ but that did not work. Can someone tell me how to correct this? Thanks.

michael_s
01-21-2004, 07:52 AM
thesoapman, put the /ms2max in the DIR_WS_CATALOG line.

Anonymous
01-21-2004, 12:06 PM
thesoapman, put the /ms2max in the DIR_WS_CATALOG line.

That did not work. This is a copy of my config file.

<?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://www.puresoap.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://puresoap.authsecure.com'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'www.puresoap.com');
define('HTTPS_COOKIE_DOMAIN', 'www.puresoap.com');
define('HTTP_COOKIE_PATH', '/ms2max/');
define('HTTPS_COOKIE_PATH', '/ms2max/');
define('DIR_WS_HTTP_CATALOG', '/ms2max/');
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/');

//Added for BTS1.0
define('DIR_WS_TEMPLATES', 'templates/');
define('DIR_WS_CONTENT', DIR_WS_TEMPLATES . 'content/');
define('DIR_WS_JAVASCRIPT', DIR_WS_INCLUDES . 'javascript/');
//End BTS1.0
define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
define('DIR_FS_CATALOG', '/home/puresoap.com/www/puresoap.com/ms2max/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

// define our database connection
?>

jpf
01-21-2004, 12:44 PM
define('HTTP_COOKIE_PATH', '/ms2max/');
define('HTTPS_COOKIE_PATH', '/ms2max/');
define('DIR_WS_HTTP_CATALOG', '/ms2max/');
define('DIR_WS_HTTPS_CATALOG', '/');


S/B:

define('HTTP_COOKIE_PATH', '/ms2max/');
define('HTTPS_COOKIE_PATH', '/ms2max/');
define('DIR_WS_HTTP_CATALOG', '/ms2max/');
define('DIR_WS_HTTPS_CATALOG', '/ms2max/');


Notice the last line....