osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

404 error on non https pages

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 04-18-2004, 08:36 PM
Anonymous
Guest
 
Posts: n/a
Default 404 error on non https pages

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 tried to find a prior post on this topic, but couldn't locate one that seemed to apply.

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
But it hasn't helped.

Anybody have any ideas?

Tim
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 04-18-2004, 08:39 PM
nfmg's Avatar
Member
 
Join Date: Oct 2003
Location: Montana
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
nfmg
Default thought I was logged in...404 error

the url of the site is www.journeymanline.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 04-18-2004, 09:01 PM
nfmg's Avatar
Member
 
Join Date: Oct 2003
Location: Montana
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
nfmg
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 07-11-2004, 03:39 AM
Lurker
 
Join Date: Jul 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Fillman
Default

Quote:
Originally Posted by nfmg
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
Unbelievable! I have spent two weeks of evenings trying to figure out this problem and now my site works as well. Many thanks for posting your tip
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 10:25 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax