Neuigkeiten
  • Die modified eCommerce Shopsoftware ist kostenlos, aber nicht umsonst.
    Spenden
  • Damit wir die modified eCommerce Shopsoftware auch zukünftig kostenlos anbieten können:
    Spenden
  • Thema: 301 Domain-Umleitung

    Onlineshopper

    • Fördermitglied
    • Beiträge: 954
    • Geschlecht:
    Re: 301 Domain-Umleitung
    Antwort #15 am: 14. Februar 2022, 23:11:50
    Ich wollte das Thema eigentlich abhaken und euch damit nicht weiter stressen, weils ja erstmal funktioniert hat. Auch wenn die Google-Links nicht si ganz hinhauen.

    Aber hier mal meine configure.php
    Die sieht eigentlich genauso aus wie im alten Shop, deswegen wundert mich das etwas.

    Code: PHP  [Auswählen]
    <?php
    /* --------------------------------------------------------------
       $Id: configure.php 12243 2019-10-04 12:32:07Z GTB $

       modified eCommerce Shopsoftware
       http://www.modified-shop.org

       Copyright (c) 2009 - 2013 [www.modified-shop.org]
       --------------------------------------------------------------
       based on:
       (c) 2000-2001 The Exchange Project  (earlier name of osCommerce)
       (c) 2002-2003 osCommerce (configure.php,v 1.13 2003/02/10); www.oscommerce.com
       (c) 2003 XT-Commerce (configure.php)

       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)

      // global defines
      define('DIR_FS_DOCUMENT_ROOT', '/var/www/xxxxx/html/shop_neu/'); // absolut path required
      define('DIR_WS_CATALOG', '/'); // relative path required
      define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT);

      // define our database connection
      define('DB_MYSQL_TYPE', 'mysqli'); // define mysql type set to 'mysql' or 'mysqli'
      define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers
      define('DB_SERVER_USERNAME', 'xxxxx');
      define('DB_SERVER_PASSWORD', 'xxxxx');
      define('DB_DATABASE', 'xxxxx);
      define('
    DB_SERVER_CHARSET', 'latin1'); // set db charset 'utf8' or 'latin1'
      define('
    USE_PCONNECT', 'false'); // use persistent connections?

      if (DB_DATABASE != '
    ') {
        // auto include
        require_once (DIR_FS_CATALOG.'
    inc/auto_include.inc.php');

        foreach(auto_include(DIR_FS_CATALOG.'
    includes/extra/configure/','php') as $file) require_once ($file);
      }

      // server
      defined('
    HTTP_SERVER') or define('HTTP_SERVER', 'https://www.der-materialspezialist.com'); // eg, http://localhost - should not be empty for productive servers
      defined('HTTPS_SERVER') or define('HTTPS_SERVER', 'https://www.der-materialspezialist.com'); // eg, https://localhost - should not be empty for productive servers

      // secure SSL
      defined('ENABLE_SSL') or define('ENABLE_SSL', true); // secure webserver for checkout procedure?

      // session handling
      defined('STORE_SESSIONS') or define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

      if (DB_DATABASE != '') {
        // set admin directory DIR_ADMIN
        require_once(DIR_FS_CATALOG.'inc/set_admin_directory.inc.php');

        // include standard settings
        require(DIR_FS_CATALOG.(defined('RUN_MODE_ADMIN')? DIR_ADMIN : '').'includes/paths.php');
      }
    ?>

    Nicht funktionieren bedeutet, dass wenn ich den Unterstrich bei der htaccess im root entferne und die suchmaschinenfreundlichen URL´s im Backend einschalte, dann kommt folgende Meldung:

    Zitat
    Not Found
    The requested URL was not found on this server.

    Apache Server at www.der-materialspezialist.com Port 443

    VG
    Nils
    7 Antworten
    4387 Aufrufe
    17. Mai 2013, 18:50:38 von jannemann
    12 Antworten
    8386 Aufrufe
    28. September 2012, 14:14:36 von b-ultimate
               
    anything