Dateipfad ändern

Thema wurde von Anonymous, 28. Oktober 2018 erstellt.

  1. Anonymous
    Anonymous Mitglied
    Registriert seit:
    7. Juni 2018
    Beiträge:
    11
    Danke erhalten:
    0
    Danke vergeben:
    1
    Hallo zusammen,

    bei mir liegt der Shop in einem Ordner welcher im Root liegt ((Link nur für registrierte Nutzer sichtbar.))

    Der Webspace Pfad stand dabei auf:
    (Link nur für registrierte Nutzer sichtbar.)

    Nach der Installation und Einrichtung wollte ich den Pfad beim Webspace direkt auf:
    (Link nur für registrierte Nutzer sichtbar.)

    legen.
    Ab dem Moment kann der Shop nicht mehr richtig aufgerufen werden und der Login funktioniert auch nicht.
    Fehlermeldung siehe Screenshot.

    Gambio Fehlerscreenshot.JPG

    1. cache und template_c habe ich auch geleert.
    2. Browser Cache auch geleert.
    3. configure.php Pfad Werte stimmen auch

    An was kann dieses liegen?
    Was habe ich vergessen?
     
  2. barbara
    barbara G-WARD 2014-2020
    Registriert seit:
    14. August 2011
    Beiträge:
    35.657
    Danke erhalten:
    11.371
    Danke vergeben:
    1.616
    von beiden configure.php?
    irgend eine Umleitung in der .htaccess?
     
  3. Anonymous
    Anonymous Mitglied
    Registriert seit:
    7. Juni 2018
    Beiträge:
    11
    Danke erhalten:
    0
    Danke vergeben:
    1
    Guten Morgen,

    root configure.php
    admin configure.php
    Alle 2 sind Standart und ohne extra Ordner Angaben.

    root .htaccess
    Standart ohne Veränderungen.
     
  4. ReneT
    ReneT Erfahrener Benutzer
    Registriert seit:
    1. Dezember 2016
    Beiträge:
    708
    Danke erhalten:
    232
    Danke vergeben:
    67
    da die Zeiten, wo man mit einem Blick in die Glaskugel Problem lösen konnte vorbei sind und der Post hier sonst ins unendliche geht stelle ich jetzt mal ein paar detaillierte Fragen

    Sind in der Datei includes/configure.php die Zeilen 21, 48, 49, 50, 73, 74, 75
    und in Datei includes/configure.php die Zeilen 21, 52, 53, 54, 55, 86, 87, 88
    korrekt angepasst?

    Hier im Forum gibt es eine detaillierte Anleitungen für "Umzug des Shops".
     
  5. Anonymous
    Anonymous Mitglied
    Registriert seit:
    7. Juni 2018
    Beiträge:
    11
    Danke erhalten:
    0
    Danke vergeben:
    1
    includes\configure.php
    (Datenbank Name und Passwort hier am Ende entfernt).


    <?php
    /* --------------------------------------------------------------
    configure.php 2016-05-11
    Gambio GmbH
    (Link nur für registrierte Nutzer sichtbar.)
    Copyright (c) 2016 Gambio GmbH
    Released under the GNU General Public License (Version 2)
    [(Link nur für registrierte Nutzer sichtbar.)]
    --------------------------------------------------------------


    based on:
    (c) 2000-2001 The Exchange Project (earlier name of osCommerce)
    (c) 2002-2003 osCommerce (configure.php,v 1.13 2003/02/10); (Link nur für registrierte Nutzer sichtbar.)
    (c) 2003 XT-Commerce - community made shopping (Link nur für registrierte Nutzer sichtbar.)

    Released under the GNU General Public License
    ---------------------------------------------------------------------------------------*/


    $t_document_root = '/www/htdocs/w00d/'; // absolute server path required (domain root)

    if(realpath($t_document_root) !== false)
    {
    $t_document_root = realpath($t_document_root) . '/';
    }

    $t_document_root = str_replace('\\', '/', $t_document_root);

    if($t_document_root == '//')
    {
    $t_document_root = '/';
    }

    $t_dir_fs_frontend = dirname(dirname(__FILE__));

    if(basename(dirname(__FILE__)) == 'local')
    {
    $t_dir_fs_frontend = dirname($t_dir_fs_frontend);
    }

    $t_dir_fs_frontend = str_replace('\\', '/', $t_dir_fs_frontend) . '/';
    $t_dir_ws_catalog = substr($t_dir_fs_frontend, strlen($t_document_root) - 1);

    // Define the webserver and path parameters
    // * DIR_FS_* = Filesystem directories (local/physical)
    // * DIR_WS_* = Webserver directories (virtual/URL)
    define('HTTP_SERVER', '(Link nur für registrierte Nutzer sichtbar.) // eg, (Link nur für registrierte Nutzer sichtbar.) - should not be empty for productive servers
    define('HTTPS_SERVER', '(Link nur für registrierte Nutzer sichtbar.) // eg, (Link nur für registrierte Nutzer sichtbar.) - should not be empty for productive servers
    define('ENABLE_SSL', true); // SSL: true = active, false = inactive
    define('DIR_WS_CATALOG', $t_dir_ws_catalog); // absolute url path required
    define('DIR_FS_DOCUMENT_ROOT', $t_dir_fs_frontend); // absolute server path required
    define('DIR_FS_CATALOG', $t_dir_fs_frontend); // absolute server path required
    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_ORIGINAL_IMAGES', DIR_WS_IMAGES . 'product_images/original_images/');
    define('DIR_WS_THUMBNAIL_IMAGES', DIR_WS_IMAGES . 'product_images/thumbnail_images/');
    define('DIR_WS_INFO_IMAGES', DIR_WS_IMAGES . 'product_images/info_images/');
    define('DIR_WS_POPUP_IMAGES', DIR_WS_IMAGES . 'product_images/popup_images/');
    define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
    define('DIR_WS_INCLUDES',DIR_FS_DOCUMENT_ROOT. 'includes/');
    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_FS_CATALOG . 'lang/');

    define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
    define('DIR_FS_INC', DIR_FS_CATALOG . 'inc/');
     
  6. Anonymous
    Anonymous Mitglied
    Registriert seit:
    7. Juni 2018
    Beiträge:
    11
    Danke erhalten:
    0
    Danke vergeben:
    1
    admin\includes\configure.php
    (Datenbank Name und Passwort hier am Ende entfernt).

    <?php
    /* --------------------------------------------------------------
    configure.php 2016-05-11
    Gambio GmbH
    (Link nur für registrierte Nutzer sichtbar.)
    Copyright (c) 2016 Gambio GmbH
    Released under the GNU General Public License (Version 2)
    [(Link nur für registrierte Nutzer sichtbar.)]
    --------------------------------------------------------------


    based on:
    (c) 2000-2001 The Exchange Project (earlier name of osCommerce)
    (c) 2002-2003 osCommerce (configure.php,v 1.14 2003/02/21); (Link nur für registrierte Nutzer sichtbar.)
    (c) 2003 XT-Commerce - community made shopping (Link nur für registrierte Nutzer sichtbar.)

    Released under the GNU General Public License
    ---------------------------------------------------------------------------------------*/


    $t_document_root = '/www/htdocs/w00d/'; // absolute server path required (domain root)

    if(realpath($t_document_root) !== false)
    {
    $t_document_root = realpath($t_document_root) . '/';
    }

    $t_document_root = str_replace('\\', '/', $t_document_root);

    if($t_document_root == '//')
    {
    $t_document_root = '/';
    }

    $t_dir_fs_backend = dirname(dirname(__FILE__));
    $t_dir_fs_frontend = dirname(dirname(dirname(__FILE__)));

    if(basename(dirname(__FILE__)) == 'local')
    {
    $t_dir_fs_backend = dirname($t_dir_fs_backend);
    $t_dir_fs_frontend = dirname($t_dir_fs_frontend);
    }

    $t_dir_fs_backend = str_replace('\\', '/', $t_dir_fs_backend) . '/';
    $t_dir_fs_frontend = str_replace('\\', '/', $t_dir_fs_frontend) . '/';

    $t_dir_ws_catalog = substr($t_dir_fs_frontend, strlen($t_document_root) - 1);

    // Define the webserver and path parameters
    // * DIR_FS_* = Filesystem directories (local/physical)
    // * DIR_WS_* = Webserver directories (virtual/URL)
    define('HTTP_SERVER', '(Link nur für registrierte Nutzer sichtbar.) // eg, (Link nur für registrierte Nutzer sichtbar.) or - (Link nur für registrierte Nutzer sichtbar.) should not be empty for productive servers
    define('HTTP_CATALOG_SERVER', '(Link nur für registrierte Nutzer sichtbar.)
    define('HTTPS_CATALOG_SERVER', '(Link nur für registrierte Nutzer sichtbar.)
    define('ENABLE_SSL_CATALOG', 'true'); // SSL: 'true' = active, 'false' = inactive
    define('DIR_FS_DOCUMENT_ROOT', $t_dir_fs_frontend); // where the pages are located on the server
    define('DIR_WS_ADMIN', $t_dir_ws_catalog . 'admin/'); // absolute url path required
    define('DIR_FS_ADMIN', $t_dir_fs_backend); // absolute server path required
    define('DIR_WS_CATALOG', $t_dir_ws_catalog); // absolute url path required
    define('DIR_FS_CATALOG', $t_dir_fs_frontend); // absolute server path required
    define('DIR_WS_IMAGES', 'images/');
    define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
    define('DIR_FS_CATALOG_ORIGINAL_IMAGES', DIR_FS_CATALOG_IMAGES . 'product_images/original_images/');
    define('DIR_FS_CATALOG_THUMBNAIL_IMAGES', DIR_FS_CATALOG_IMAGES . 'product_images/thumbnail_images/');
    define('DIR_FS_CATALOG_INFO_IMAGES', DIR_FS_CATALOG_IMAGES . 'product_images/info_images/');
    define('DIR_FS_CATALOG_POPUP_IMAGES', DIR_FS_CATALOG_IMAGES . 'product_images/popup_images/');
    define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
    define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
    define('DIR_WS_CATALOG_ORIGINAL_IMAGES', DIR_WS_CATALOG_IMAGES . 'product_images/original_images/');
    define('DIR_WS_CATALOG_THUMBNAIL_IMAGES', DIR_WS_CATALOG_IMAGES . 'product_images/thumbnail_images/');
    define('DIR_WS_CATALOG_INFO_IMAGES', DIR_WS_CATALOG_IMAGES . 'product_images/info_images/');
    define('DIR_WS_CATALOG_POPUP_IMAGES', DIR_WS_CATALOG_IMAGES . 'product_images/popup_images/');
    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_CATALOG. 'lang/');
    define('DIR_FS_LANGUAGES', DIR_FS_CATALOG. 'lang/');
    define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
    define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
    define('DIR_FS_INC', DIR_FS_CATALOG . 'inc/');
     
  7. Anonymous
    Anonymous Mitglied
    Registriert seit:
    7. Juni 2018
    Beiträge:
    11
    Danke erhalten:
    0
    Danke vergeben:
    1
    .htaccess
    # -----------------------------------------------------------------------------
    # Important Notice on own Redirects/Rewrites
    # -----------------------------------------------------------------------------

    ## It's easily possible to put own Redirects and Rewrites into this file. Please note our comments hinting the best place to do this below.

    # -----------------------------------------------------------------------------
    # Htaccess Version
    # -----------------------------------------------------------------------------

    ## By checking this variable from the Shop we can guess if htaccess Directives are current
    ## Since some hosters do provide apache mod_env and others only mod_envif we need to do some doubling
    ##
    ## Important: After changing the version, you have to update the version_ino/htaccessVersion.php file too.

    <IfModule mod_env.c>
    SetEnv gambio_htaccessVersion 2.6
    SetEnv gambio_mod_env_working 1
    </IfModule>

    <IfModule !mod_env.c>
    <IfModule mod_setenvif.c>
    SetEnvIf ENV ^(.*)$ gambio_htaccessVersion=2.6
    SetEnvIf ENV ^(.*)$ gambio_mod_envif_working=1
    </IfModule>
    </IfModule>

    # -----------------------------------------------------------------------------
    # Disable ETags for Performance
    # -----------------------------------------------------------------------------

    <IfModule mod_headers.c>

    <IfModule mod_env.c>
    SetEnv gambio_mod_headers_working 1
    </IfModule>

    <IfModule !mod_env.c>
    <IfModule mod_setenvif.c>
    SetEnvIf ENV ^(.*)$ gambio_mod_headers_working=1
    </IfModule>
    </IfModule>

    Header unset ETag

    </IfModule>

    # `FileETag None` doesn't work in all cases.

    FileETag None

    # -----------------------------------------------------------------------------
    # Set Default Encoding for static HTML Files, JSON and friends to standards
    # -----------------------------------------------------------------------------

    AddDefaultCharset UTF-8

    <IfModule mod_mime.c>

    <IfModule mod_env.c>
    SetEnv gambio_mod_mime_working 1
    </IfModule>

    <IfModule !mod_env.c>
    <IfModule mod_setenvif.c>
    SetEnvIf ENV ^(.*)$ gambio_mod_mime_working=1
    </IfModule>
    </IfModule>

    AddCharset utf-8 .atom \
    .bbaw \
    .geojson \
    .json \
    .jsonld \
    .manifest \
    .rdf \
    .rss \
    .topojson \
    .vtt \
    .webapp \
    .webmanifest \
    .xloc \
    .xml
    </IfModule>

    # ----------------------------------------------------------------------
    # MIME types |
    # ----------------------------------------------------------------------

    # There are quite some servers serving resources without the proper media types (f.k.a. MIME types)
    # breaking security,caching,compression

    <IfModule mod_mime.c>

    # Data interchange
    AddType application/atom+xml atom
    AddType application/json json map topojson
    AddType application/ld+json jsonld
    AddType application/rss+xml rss
    AddType application/vnd.geo+json geojson
    AddType application/xml rdf xml

    # JavaScript
    AddType application/javascript js

    # Manifest files
    AddType application/manifest+json webmanifest
    AddType application/x-web-app-manifest+json webapp
    AddType text/cache-manifest appcache

    # Media files
    AddType audio/mp4 f4a f4b m4a
    AddType audio/ogg oga ogg opus
    AddType image/bmp bmp
    AddType image/svg+xml svg svgz
    AddType image/webp webp
    AddType video/mp4 f4v f4p m4v mp4
    AddType video/ogg ogv
    AddType video/webm webm
    AddType video/x-flv flv
    AddType image/x-icon cur ico

    # Web fonts
    AddType application/font-woff woff
    AddType application/font-woff2 woff2
    AddType application/vnd.ms-fontobject eot
    AddType application/x-font-ttf ttc ttf
    AddType font/opentype otf

    # Other
    AddType application/octet-stream safariextz
    AddType application/x-bb-appworld bbaw
    AddType application/x-chrome-extension crx
    AddType application/x-opera-extension oex
    AddType application/x-xpinstall xpi
    AddType text/vcard vcard vcf
    AddType text/vnd.rim.location.xloc xloc
    AddType text/vtt vtt
    AddType text/x-component htc

    </IfModule>

    # -----------------------------------------------------------------------------
    # Compression
    # -----------------------------------------------------------------------------

    <IfModule mod_deflate.c>

    <IfModule mod_env.c>
    SetEnv gambio_mod_deflate_working 1
    </IfModule>

    <IfModule !mod_env.c>
    <IfModule mod_setenvif.c>
    SetEnvIf ENV ^(.*)$ gambio_mod_deflate_working=1
    </IfModule>
    </IfModule>

    <IfModule mod_headers.c>
    SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)\s*,?\s*)+|[X~-]{4,13}$ HAVE_Accept-Encoding
    RequestHeader append Accept-Encoding "gzip,deflate" env=HAVE_Accept-Encoding
    </IfModule>

    <IfModule mod_filter.c>

    <IfModule mod_env.c>
    SetEnv gambio_mod_filter_working 1
    </IfModule>

    <IfModule !mod_env.c>
    <IfModule mod_setenvif.c>
    SetEnvIf ENV ^(.*)$ gambio_mod_filter_working=1
    </IfModule>
    </IfModule>

    AddOutputFilterByType DEFLATE "application/atom+xml" \
    "application/javascript" \
    "application/json" \
    "application/ld+json" \
    "application/manifest+json" \
    "application/rdf+xml" \
    "application/rss+xml" \
    "application/schema+json" \
    "application/vnd.geo+json" \
    "application/vnd.ms-fontobject" \
    "application/x-font-ttf" \
    "application/x-javascript" \
    "application/x-web-app-manifest+json" \
    "application/xhtml+xml" \
    "application/xml" \
    "font/eot" \
    "font/opentype" \
    "image/bmp" \
    "image/svg+xml" \
    "image/vnd.microsoft.icon" \
    "image/x-icon" \
    "text/cache-manifest" \
    "text/css" \
    "text/html" \
    "text/javascript" \
    "text/plain" \
    "text/vcard" \
    "text/vnd.rim.location.xloc" \
    "text/vtt" \
    "text/x-component" \
    "text/x-cross-domain-policy" \
    "text/xml"
    </IfModule>

    <IfModule mod_mime.c>
    AddEncoding gzip svgz
    </IfModule>

    </IfModule>

    # -----------------------------------------------------------------------------
    # Caching
    # -----------------------------------------------------------------------------

    <IfModule mod_expires.c>

    <IfModule mod_env.c>
    SetEnv gambio_mod_expires_working 1
    </IfModule>

    <IfModule !mod_env.c>
    <IfModule mod_setenvif.c>
    SetEnvIf ENV ^(.*)$ gambio_mod_expires_working=1
    </IfModule>
    </IfModule>

    ExpiresActive On

    # -----------------------------------------------------------------------------
    # Really cache anything
    # -----------------------------------------------------------------------------

    ExpiresDefault "access plus 1 month"

    # -----------------------------------------------------------------------------
    # Definitons for tweakers
    # -----------------------------------------------------------------------------

    # CSS
    ExpiresByType text/css "access plus 1 month"

    # Favicon (cannot be renamed!) and cursor images
    ExpiresByType image/vnd.microsoft.icon "access plus 1 month"
    ExpiresByType image/x-icon "access plus 1 month"

    # Media files
    ExpiresByType audio/ogg "access plus 1 month"
    ExpiresByType image/bmp "access plus 1 month"
    ExpiresByType image/gif "access plus 1 month"
    ExpiresByType image/jpeg "access plus 1 month"
    ExpiresByType image/png "access plus 1 month"
    ExpiresByType image/svg+xml "access plus 1 month"
    ExpiresByType image/webp "access plus 1 month"
    ExpiresByType video/mp4 "access plus 1 month"
    ExpiresByType video/ogg "access plus 1 month"
    ExpiresByType video/webm "access plus 1 month"

    # Web fonts
    ExpiresByType application/vnd.ms-fontobject "access plus 1 month"
    ExpiresByType font/eot "access plus 1 month"
    ExpiresByType font/opentype "access plus 1 month"
    ExpiresByType application/x-font-ttf "access plus 1 month"
    ExpiresByType application/font-woff "access plus 1 month"
    ExpiresByType application/x-font-woff "access plus 1 month"
    ExpiresByType font/woff "access plus 1 month"
    ExpiresByType application/font-woff2 "access plus 1 month"

    # JavaScript
    ExpiresByType application/javascript "access plus 1 month"
    ExpiresByType application/x-javascript "access plus 1 month"
    ExpiresByType text/javascript "access plus 1 month"

    # -----------------------------------------------------------------------------
    # Exclude these mimetypes from caching, these always need to be current
    # -----------------------------------------------------------------------------

    # XML Files like the Sitemap
    ExpiresByType application/xml "access plus 0 seconds"

    # Styleedit Output, Statistics, Shopintercommunication, API Output
    ExpiresByType application/json "access plus 0 seconds"

    # All kinds of exports
    ExpiresByType text/csv "access plus 0 seconds"

    </IfModule>

    # -----------------------------------------------------------------------------
    # Security
    # -----------------------------------------------------------------------------

    <ifModule mod_headers.c>

    Header set X-Content-Type-Options: nosniff

    </ifModule>

    # -----------------------------------------------------------------------------
    # Rewrites: SEOBoost, Security + Image Processing on the fly
    # -----------------------------------------------------------------------------

    <IfModule mod_rewrite.c>

    <IfModule mod_env.c>
    SetEnv gambio_mod_rewrite_working 1
    </IfModule>

    <IfModule !mod_env.c>
    <IfModule mod_setenvif.c>
    SetEnvIf ENV ^(.*)$ gambio_mod_rewrite_working=1
    </IfModule>
    </IfModule>

    RewriteEngine on

    ##some Hosters like 1&1 need the following line to be enabled, else all the following will fail all the time

    RewriteBase /

    # -----------------------------------------------------------------------------
    # Dynamically detect Rewritebase and URI part past Rewritebase
    # -----------------------------------------------------------------------------

    RewriteCond %{REQUEST_URI}::$1 ^(.*?/)(.*)::\2$
    RewriteRule ^(.*)$ - [E=SUFFIX:%2]

    RewriteCond %{REQUEST_URI}::$1 ^(.*?/)(.*)::\2$
    RewriteRule ^(.*)$ - [E=BASE:%1]

    # -----------------------------------------------------------------------------
    # Passthrough of HTTP Auth Headers to PHP on Hosts using PHP FPM/FCGI
    # -----------------------------------------------------------------------------

    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

    # -----------------------------------------------------------------------------
    # Security: Deny direct access to important system folders
    # -----------------------------------------------------------------------------

    RewriteCond %{ENV:SUFFIX} ^admin/backups/.* [or]
    RewriteCond %{ENV:SUFFIX} ^cache/.* [or]
    RewriteCond %{ENV:SUFFIX} ^debug/.* [or]
    RewriteCond %{ENV:SUFFIX} ^download/.* [or]
    RewriteCond %{ENV:SUFFIX} ^export/inventory/.* [or]
    RewriteCond %{ENV:SUFFIX} ^export/invoice/.* [or]
    RewriteCond %{ENV:SUFFIX} ^export/packsingslip/.* [or]
    RewriteCond %{ENV:SUFFIX} ^export/sepa/.* [or]
    RewriteCond %{ENV:SUFFIX} ^gm/customer_uploads/.* [or]
    RewriteCond %{ENV:SUFFIX} ^GProtector/.* [or]
    RewriteCond %{ENV:SUFFIX} ^GXEngine/.* [or]
    RewriteCond %{ENV:SUFFIX} ^GXMainComponents/.* [or]
    RewriteCond %{ENV:SUFFIX} ^includes/.* [or]
    RewriteCond %{ENV:SUFFIX} ^logfiles/.* [or]
    RewriteCond %{ENV:SUFFIX} ^templates_c/.* [or]
    RewriteCond %{ENV:SUFFIX} ^uploads/.* [or]
    RewriteCond %{ENV:SUFFIX} ^version_info/.*
    RewriteRule ^(.*)$ - [R=403,L]

    # -----------------------------------------------------------------------------
    # Image Processing on the fly
    # -----------------------------------------------------------------------------

    ## if request destination is a product image and size not bigger than 0 try to create the sized image
    RewriteCond %{REQUEST_FILENAME} ".*?\/images\/product_images\/.*\.(?:gif|jpe?g|png)$" [NC]
    RewriteCond %{REQUEST_FILENAME} !-s
    RewriteRule (\.gif|\.jpe?g|\.png)$ %{ENV:BASE}shop.php?do=ImageRequest [L,NC]

    # -----------------------------------------------------------------------------
    # Put your own Redirects and Rewrites here - Start
    # -----------------------------------------------------------------------------

    # Example Redirect
    # Redirect 301 /oldlocation (Link nur für registrierte Nutzer sichtbar.)

    # -----------------------------------------------------------------------------
    # Put your own Redirects and Rewrites here - End
    # -----------------------------------------------------------------------------

    # -----------------------------------------------------------------------------
    # Gambio SEO Boost URLs
    # -----------------------------------------------------------------------------

    ## if request destination is any of these filetypes or located in any of these folders stop processing rewrite
    RewriteCond %{REQUEST_FILENAME} ^(.*)\.(php|css|js|gif||jpe?g|png)$ [NC] [or]
    RewriteCond %{REQUEST_URI} .*?\/(?:admin|images|templates)\/.
    RewriteRule ^(.+) - [L]

    ## if request destination is an existing directory, file or link stop processing rewrite
    RewriteCond %{REQUEST_FILENAME} -d [or]
    RewriteCond %{REQUEST_FILENAME} -f [or]
    RewriteCond %{REQUEST_FILENAME} -l
    RewriteRule ^(.+) - [L]

    #if request destination is a php file in root dir and language code in url is present lets go there
    RewriteRule ^[a-z]{2}/([A-Za-z0-9_/-]+)\.php.* %{ENV:BASE}$1.php?%{QUERY_STRING} [PT,L]

    ##If all of these conditions didn't stop us, lets rewrite

    ##boosted CONTENT
    RewriteRule (^[A-Za-z]{2}/){0,1}(.*/)?info/([A-Za-z0-9_/-]+)\.html.* %{ENV:BASE}shop_content.php?gm_boosted_content=$3&%{QUERY_STRING} [PT,L]
    RewriteRule (^[A-Za-z]{2}/){0,1}(.*/)?popup/([A-Za-z0-9_/-]+)\.html.* %{ENV:BASE}popup_content.php?gm_boosted_content=$3&%{QUERY_STRING} [PT,L]

    ##boosted PRODUCTS
    RewriteRule (^[A-Za-z]{2}/){0,1}([A-Za-z0-9_/-]+)\.html %{ENV:BASE}product_info.php?gm_boosted_product=$2&%{QUERY_STRING} [PT,L]

    ##boosted CATEGORIES
    RewriteRule (^[A-Za-z]{2}/){0,1}([A-Za-z0-9_\/-]*)(\?*.*|\z) %{ENV:BASE}index.php?gm_boosted_category=$2&%{QUERY_STRING} [L]

    </IfModule>

    Langen diese Angaben?
    Ich habe dies gesplittet da ich nicht genügend Zeichen hatte.
     
  8. ReneT
    ReneT Erfahrener Benutzer
    Registriert seit:
    1. Dezember 2016
    Beiträge:
    708
    Danke erhalten:
    232
    Danke vergeben:
    67
    Das kann dir hier keine beantworten, da keinem deine Daten bekannt sind.
    Es wird wahrscheinlich am Root Eintrag liegen.
    Wie in einem anderen Post gestern schon geschrieben, legt man den Shop nicht in den Root Ordner, sondern in ein Unterverzeichnis und passt dann das Ziel der URL dementsprechend im Admin des Hosters an.
     
  9. Manni_HB
    Manni_HB G-WARD 2012/13/14/15
    Registriert seit:
    26. April 2011
    Beiträge:
    9.098
    Danke erhalten:
    1.540
    Danke vergeben:
    909
    Ort:
    Bremen
    Für solche Bandwürmer gibt es hier die Funktion "Einfügen - Code" ... was die Sache außerdem sehr viel übersichtlicher gestaltet!
    Lässt sich auch nachträglich noch ändern. :rolleyes:
     
  10. Anonymous
    Anonymous Mitglied
    Registriert seit:
    7. Juni 2018
    Beiträge:
    11
    Danke erhalten:
    0
    Danke vergeben:
    1
    Genau das habe ich auch. Siehe meinen ersten Beitrag.

    Entschuldigung. Das habe ich nicht gewusst :-(
     
  11. barbara
    barbara G-WARD 2014-2020
    Registriert seit:
    14. August 2011
    Beiträge:
    35.657
    Danke erhalten:
    11.371
    Danke vergeben:
    1.616
    Ich bin mir nicht sicher, aber ich meine da müsste der exakte Ordnerpfad rein.

    Nachtrag: habe das gerade bei mir nachgesehen.
    Hier muss der Shop-Ordner mit angegeben werden.
     
  12. ReneT
    ReneT Erfahrener Benutzer
    Registriert seit:
    1. Dezember 2016
    Beiträge:
    708
    Danke erhalten:
    232
    Danke vergeben:
    67
    das dir hier keiner helfen kann, liegt wahrscheinlich daran, das der erste Post nicht so ganz verständlich ist...

    Möchtest du jetzt das der Shop per www. url.de erreichbar ist oder per www. url.de/gambio-shop?
     
  13. Anonymous
    Anonymous Mitglied
    Registriert seit:
    7. Juni 2018
    Beiträge:
    11
    Danke erhalten:
    0
    Danke vergeben:
    1
    (Link nur für registrierte Nutzer sichtbar.)


    Perfekt, vielen lieben dank. Das war es.