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: templates/.htaccess verhindert templates

    amSee

    • Neu im Forum
    • Beiträge: 1
    templates/.htaccess verhindert templates
    am: 21. November 2017, 13:13:16
    Die Existenz des .htaccess files im templates unterverzeichnis verhindert bei mir, dass Templates funktionieren.
    Wenn ich direkt per Browser auf css oder png Dateien unter templates zugreife gibt es einen Error 500 vom Webserver.
    Der Effekt ist m.E., dass keine datei unterhalb templates angezeigt werden kann.
    Vermutlich hat der Filesmatch Filter ein Problem und filtert alles.
    Ich habe fast standard config, ssl aktiviert und http server bereits auf die URL des ssl servers gesetzt.
    Hat jemand eine Erklärung?

    File: shoproot/templates/.htaccess

    #  -----------------------------------------------------------------------------------------
    #  $Id: .htaccess 9957 2016-06-09 12:01:38Z GTB $
    #
    #  modified eCommerce Shopsoftware
    http://www.modified-shop.org
    #
    #  Copyright (c) 2009 - 2016 [www.modified-shop.org]
    #  -----------------------------------------------------------------------------------------
    #  based on:
    #  (c) 2000-2001 The Exchange Project
    #  (c) 2002-2003 osCommerce (.htaccess,v 1.4 2001/04/22); www.oscommerce.com
    #  (c) 2003    nextcommerce (.htaccess,v 1.3 2003/08/13); www.nextcommerce.org
    #  (c) 2003    XT-Commerce (.htaccess,v 1.3 2003/08/13); www.(( Wir dulden keine kommerziellen Werbelinks - Bitte <a href="index.php?topic=3013.0">Forenregeln</a> beachten! ))
    #
    #  Released under the GNU General Public License
    #  -----------------------------------------------------------------------------------------
    #
    # This is used with Apache WebServers
    # The following blocks direct HTTP requests in this directory recursively

    <FilesMatch ".*\.(php|php3|php4|php5|phtml|htm|html|xhtml|pl)$">
      <IfModule mod_authz_core.c>
        # Apache 2.4
        <RequireAll>
          Require all denied
        </RequireAll>
      </IfModule>
      <IfModule !mod_authz_core.c>
        # Apache 2.2
        Order Deny,Allow
        Deny from all
      </IfModule>
    </FilesMatch>

    P.S: meine scripts sind aus: modified-shop_2.0.3.0-r10907_install

    Linkback: https://www.modified-shop.org/forum/index.php?topic=38272.0
    Shop Hosting

    webald

    • modified Team
    • Beiträge: 2.791
    Re: templates/.htaccess verhindert templates
    Antwort #1 am: 21. November 2017, 15:12:01
    Wenn Du direkt die Bilder oder css im Browser aufrufts, dann ist das ein direct access auf diese Dateien. Genau das soll diese htaccess doch verhindern.

    Funktioniert Dein Shop wie er soll? Werden dort die Bilder angezeigt? Falls ja ist doch alles richtig.

     :-?
    Managed Server
    9 Antworten
    5993 Aufrufe
    26. Februar 2018, 12:53:27 von lithoverlag
    1 Antworten
    1657 Aufrufe
    29. Januar 2018, 19:56:36 von dukie
    14 Antworten
    17610 Aufrufe
    06. Juni 2009, 11:01:27 von DokuMan
               
    anything