Results 1 to 4 of 4

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

      
  1. #1
    Anonymous
    Guest


    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

  2. #2
    Member nfmg's Avatar
    Join Date
    Oct 2003
    Location
    Montana
    Posts
    49
    Rep Power
    0


    Default thought I was logged in...404 error

    the url of the site is www.journeymanline.com

  3. #3
    Member nfmg's Avatar
    Join Date
    Oct 2003
    Location
    Montana
    Posts
    49
    Rep Power
    0


    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

  4. #4
    Lurker
    Join Date
    Jul 2004
    Posts
    1
    Rep Power
    0


    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

Similar Threads

  1. https error
    By wheelie in forum osCommerce 2.2 Installation Help
    Replies: 6
    Last Post: 07-23-2004, 03:34 AM
  2. SSL - Links to https pages not including /catalog/ in URL
    By secretagentwoman in forum osCommerce 2.2 Installation Help
    Replies: 8
    Last Post: 03-31-2004, 01:18 PM
  3. MS2MAX - HTTP and hTTPS output differ on same pages.
    By glk in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 03-04-2004, 09:05 PM
  4. https when accessing Admin pages
    By NickW in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 02-09-2004, 06:32 AM
  5. Easy Populate https error
    By john- in forum osCMax v1.7 General Mods Discussion
    Replies: 0
    Last Post: 12-27-2003, 06:13 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •