This is a discussion on 404 error on non https pages within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; Hi All, Working on my third osc setup. This one seemed to go fine, but now that I have it ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hi All, Working on my third osc setup. This one seemed to go fine, but now that I have it installed, whenever I click on a product I get a page cannot be found error (404). I have it installed to the document root. The site is www.journeymanline.com. The admin works fine... Viewing new products or manufacturers works fine. Clicking on a link to accessories gives me this url: http://www.journeymanline.com/index.php/cPath/25 here's my /includes/config.php Code: <?php
/*
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2003 osCommerce
Released under the GNU General Public License
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://www.journeymanline.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://ssl.secured-websites.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.journeymanline.com');
define('HTTPS_COOKIE_DOMAIN', 'https://ssl.secured-websites.com/journeymanline.com/');
define('HTTP_COOKIE_PATH', '/');
define('HTTPS_COOKIE_PATH', '/');
define('DIR_WS_HTTP_CATALOG', '/');
define('DIR_WS_CATALOG', '/'); // absolute path required nfmg
define('DIR_FS_CATALOG', '/www/'); // absolute path required nfmg
define('DIR_WS_HTTPS_CATALOG', '/journeymanline.com/');
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_DOCUMENT_ROOT', '/www/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
// define our database connection
define('DB_SERVER', 'mysql'); // eg, localhost - should not be empty for productive servers
define('DB_SERVER_USERNAME', 'yadayadayayda');
define('DB_SERVER_PASSWORD', 'yadayadayada');
define('DB_DATABASE', 'djourneymanline_com');
define('USE_PCONNECT', 'false'); // use persistent connections?
define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
?>
I've been dinking around with the paths in Code: define('DIR_WS_CATALOG', '/'); // absolute path required nfmg
define('DIR_FS_CATALOG', '/www/'); // absolute path required nfmg
Anybody have any ideas? Tim |
| Sponsored Links | ||
| ||
| |
|
#2
| ||||
| ||||
| the url of the site is www.journeymanline.com |
|
#3
| ||||
| ||||
| Aha! I figgered it out. It was the search engine safe URLs. I turned them off and now all is well, apparently. Wish I'd thought of that first... -Tim |
|
#4
| |||
| |||
| Quote:
|
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| https error | wheelie | osCommerce 2.2 Installation Help | 6 | 07-23-2004 02:34 AM |
| SSL - Links to https pages not including /catalog/ in URL | secretagentwoman | osCommerce 2.2 Installation Help | 8 | 03-31-2004 12:18 PM |
| MS2MAX - HTTP and hTTPS output differ on same pages. | glk | osCMax v1.7 Discussion | 1 | 03-04-2004 08:05 PM |
| https when accessing Admin pages | NickW | osCommerce 2.2 Installation Help | 1 | 02-09-2004 05:32 AM |
| Easy Populate https error | john- | osCMax v1.7 General Mods Discussion | 0 | 12-27-2003 05:13 PM |