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: 1.06 .htaccess, ein paar Fragen dazu

    Jim

    • Fördermitglied
    • Beiträge: 356
    • Geschlecht:
    1.06 .htaccess, ein paar Fragen dazu
    am: 05. Februar 2013, 20:50:27
    Hallo modified,

    Ich bin am updaten (vorerst auf einen Test-Domain) von 1.05 auf 1.06 und jetzt is die .htaccess dran.

    Code: Javascript  [Auswählen]
      ##-- Use canonical URLs
      ##-- redirect to www-domain, when www is missing and no subdomain given and not using an ssl-proxy
      ##-- HostEurope
      #RewriteCond %{HTTP:X-Forwarded-Server}   !^ssl\.webpack\.de$ [NC]
      ##-- 1und1
      #RewriteCond %{HTTP:X-Forwarded-Server}   !^ssl\.kundenserver\.de$ [NC]
      ##-- domainFACTORY
      #RewriteCond %{HTTP:X-Forwarded-Server}   !^sslsites\.de$ [NC]
      ##-- All-Inkl
      #RewriteCond %{HTTP:X-Forwarded-Server}   !^ssl-account\.com$ [NC]
      ##-- Strato
      #RewriteCond %{HTTP:X-Forwarded-Server}   !^www\.ssl-id\.de$ [NC]

      #RewriteCond %{HTTP_HOST}                 !^www\.(.*) [NC]
      #RewriteCond %{HTTP_HOST}                 !^(.*)\.(.*)\.(.*) [NC]
      #RewriteCond %{HTTP_HOST}                 !^localhost(.*)$ [NC]
      #RewriteRule ^(.*)                        http://www.%{HTTP_HOST}/$1 [R=301,L]

    Use canonical URLs

    Ich bin bei All-Inkl und habe meine eigene Zertifikat (also keine SSL-Proxy). Welche Zeilen sollte ich auskommentieren, 14-17 oder auch 10?

    Vorerst alle Bots aussperren

    Da ich noch am Testen bin möchte ich nicht dass dort gecrawlt wird.

    Code: Javascript  [Auswählen]
    # Protect the Testshop with a password

    AuthName "106 Testshop"
    AuthType Basic
    AuthUserFile "/www/htdocs/xxxxxxxx/.htpasswd"
    require valid-user

    Wo genau sollte ich dieses Code einbauen, als erstes ganz oben?

    Später, bestimmte Bots aussperren

    Code: Javascript  [Auswählen]
    #Stop this IP from filling the shopping cart
    order allow,deny
    deny from xx.x.xx.xxx
    allow from all

    Gleiche Frage, ist die Stelle wichtig wo man das einbaut oder funktioniert das egal wo es sitzt?

    magic_quotes_gpc

    Auf meinem Webspace is magic_quotes_gpc auf "on". Ist das eine Grund für Sorgen?

    session.use_trans_sid

    Code: Javascript  [Auswählen]
    ##-- Disable transparent sid support PHP-default is off (XTC Session only on first visit)
      #php_flag session.use_trans_sid off

    Auf meinen Webspace (All-Inkl) ist session.use_trans_sid auf "0". Ist das so richtig oder sollte es auf "1" sein?

    Schöne Grüße

    Jim

    Linkback: https://www.modified-shop.org/forum/index.php?topic=24631.0
    1 Antworten
    2653 Aufrufe
    13. Mai 2010, 14:14:24 von Tomcraft
    4 Antworten
    3669 Aufrufe
    16. Februar 2012, 15:28:25 von claudia
    2 Antworten
    2532 Aufrufe
    17. Mai 2010, 14:23:45 von Tomcraft