Contao-Hosting bei All-Inkl Neue Medien Münnich

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • Balduin
    Contao-Nutzer
    • 07.04.2010
    • 164

    #61
    Vielen Dank für diesen klasse Hinweis!
    Ich hatte das Problem nun auch schon einige male mit Contao-Installationen bei all-inkl, wäre aber im Traum nicht darauf gekommen, daß der neue Firefox etwas damit zu tun hat. Noch ein kleiner Tipp: Wenn man die Web-Developer Erweiterung installiert hat, kann man recht bequem über die entsprechende Toolbar alle Sitzungs, Domain und Pfad - Cookies löschen. Danach funktioniert die install.php auch ohne Probleme.

    Kommentar

    • neophron
      Contao-Fan
      • 12.06.2010
      • 293

      #62
      Viele Einstellungsfelder verschwunden

      Hallo,

      hoffe, dass ich hier richtig bin.
      Contao 2.9.5 (zuvor Upgrade von 2.9.1 auf 2.9.5) bei all-inkl.com. Habe alle Contao Dateien von einen Unterunterordner eine Ebene nach oben verschoben.
      Im kas die Pfade angepasst, dann in der localconfig.php so wie immer. Alles läuft bestens, bis auf die Tatsache, dass im back-end unter System --> Einstellungen nur noch 4 Felder zu sehen sind (siehe attachment). Habe zwischendurch die Rechte der verschiedenen …config.php von 644 auf 777 gesetzt, hat nichts gebracht.
      Eigentlich brauche ich die Frontendeinstellungen (URLs umschreiben). In welcher config Datei finde ich diese Einstellungen?
      Angehängte Dateien

      Kommentar

      • Flex
        Contao-Urgestein
        • 03.06.2010
        • 2149

        #63
        Könntest du testweise einmal das Installationstool aufrufen (setzt Pfade automatisch, falls da was nicht stimmt) und dann einmal einen System Check für die jeweilige Version durchführen?

        Kommentar

        • neophron
          Contao-Fan
          • 12.06.2010
          • 293

          #64
          Hallo flex,
          danke für den Tip.

          in der localconfig.php habe ich folgendes eingetragen:
          $GLOBALS['TL_CONFIG']['useFTP'] = true;
          $GLOBALS['TL_CONFIG']['ftpUser'] = 'gleich ftp';
          $GLOBALS['TL_CONFIG']['ftpPass'] = 'gleich ftp';

          Von der contao-check.php bekomme immer noch die Fehler:
          Create directory • Error Error creating directory "contao-check"
          Create file • Error Error creating file "contao-check.txt"

          Im kas habe ich rekursiv die Besitzrechte angeglichen. Die install.php läuft ohne Probleme.

          Was mich wundert ist, dass zuvor alles normal lief und nach dem Upgrade diese Probleme auftauchen.
          In welcher der config Dateien kann ich Frontendeinstellungen (URLs umschreiben) ändern?

          Kommentar

          • Nina
            Contao-Urgestein
            • 04.06.2009
            • 4755

            #65
            Zur Info:

            Sehr geehrte ALL-INKL.COM - Kundin,
            Sehr geehrter ALL-INKL.COM - Kunde,

            die gerade in PHP entdeckte Sicherheitslücke zwang uns alle Aufrufe,
            welche ?-s enthalten, zu unterbinden. Betroffen sind alle Accounts in
            welchen PHP5 im CGI-Modus ausgeführt wird. Mit einem solchen Aufruf
            wurden die PHP-Dateien im Quellcode angezeigt, es war somit durchaus
            möglich z.B. Zugangsdaten zu Datenbanken auszulesen.

            Sofern Sie PHP5 als CGI-Modul nutzen empfehlen wir Ihnen dringend, die
            in den Scripten verwendeten Zugangsdaten zu ändern.
            Ob Ihre Domain Aufrufe dieser Art hatte, können Sie nach Erstellung der
            Statistiken (gegen 1Uhr) ihren Accesslogs entnehmen.

            Sobald ein entsprechender Patch zur Verfügung steht werden wir diesen
            in die PHP-Versionen einpflegen.

            Siehe auch:
            Das US-CERT warnt vor einer kritischen Sicherheitslücke in PHP, die versehentlich an die Öffentlichkeit geraten ist, während die Entwickler noch an einem Fix arbeiten.

            Kommentar

            • Kahmoon
              Contao-Urgestein
              • 22.06.2009
              • 5301

              #66
              Zeitgleich mit mir geposted

              @Nina
              Bitte diesen Thread dann löschen.
              http://www.contao-community.de/showt...cke-in-PHP-CGI

              Gruß
              VG Frank

              mediastuff.de - Webdesign, SEO und SEA

              Kommentar

              • Nina
                Contao-Urgestein
                • 04.06.2009
                • 4755

                #67
                Ne, is schon ok. In dem Fall lasse ich lieber beide Hinweise im Forum

                Kommentar

                • neckarheld
                  Contao-Nutzer
                  • 19.12.2011
                  • 63

                  #68
                  Hallo zusammen,

                  eine Frage zur Domain & Contao bei all-inkl.

                  Wie muss ich die Domain einstellen?
                  Ich habe contao installier in:

                  root/contao/

                  In diesem Ordner liegt auch die index.php.
                  Lege ich die Domain aber in den Ordner sagt er "Page not found". Was tun??
                  Zuletzt geändert von neckarheld; 22.05.2012, 21:07.

                  Kommentar

                  • xchs
                    Administrator
                    • 19.06.2009
                    • 14682

                    #69
                    Wie schaut Deine ".htaccess" aus?
                    Contao Community Administrator

                    [Unterstützungsmöglichkeiten]
                    sigpic

                    Kommentar

                    • neckarheld
                      Contao-Nutzer
                      • 19.12.2011
                      • 63

                      #70
                      Entschuldigung für die späte Antwort.
                      Also, umbenannt von .htaccess.default auf .htaccess, das habe ich ja noch geschafft.

                      Danach habe ich nach viel herumgoogeln und rumversuchen nach hundert Versuchen mit dieser Version aufgegeben:

                      Code:
                      ##
                      # Contao Open Source CMS
                      # Copyright (C) 2005-2012 Leo Feyer
                      #
                      # Formerly known as TYPOlight Open Source CMS.
                      #
                      # This program is free software: you can redistribute it and/or
                      # modify it under the terms of the GNU Lesser General Public
                      # License as published by the Free Software Foundation, either
                      # version 3 of the License, or (at your option) any later version.
                      #
                      # This program is distributed in the hope that it will be useful,
                      # but WITHOUT ANY WARRANTY; without even the implied warranty of
                      # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
                      # Lesser General Public License for more details.
                      #
                      # You should have received a copy of the GNU Lesser General Public
                      # License along with this program. If not, please visit the Free
                      # Software Foundation website at <http://www.gnu.org/licenses/>.
                      #
                      # PHP version 5
                      # @copyright  Leo Feyer 2005-2012
                      # @author     Leo Feyer <http://www.contao.org>
                      # @license    LGPL
                      ##
                      AddHandler php-fastcgi .php
                      ##
                      # Disable ETags
                      # @see http://developer.yahoo.com/performance/rules.html#etags
                      ##
                      FileETag None
                      <IfModule mod_headers.c>
                        Header unset ETag
                      </IfModule>
                      
                      ##
                      # Prevent access to the Contao template files
                      ##
                      <FilesMatch "\.(tpl|html5|xhtml)$">
                        Order allow,deny
                        Deny from all
                      </FilesMatch>
                      
                      ##
                      # Set the proper MIME types
                      # @see https://github.com/h5bp/html5-boilerplate
                      ##
                      <IfModule mod_mime.c>
                        # JavaScript
                        AddType application/javascript              js jsonp
                        AddType application/json                    json
                        # Audio
                        AddType audio/ogg                           oga ogg
                        AddType audio/mp4                           m4a f4a f4b
                        # Video
                        AddType video/ogg                           ogv
                        AddType video/mp4                           mp4 m4v f4v f4p
                        AddType video/webm                          webm
                        AddType video/x-flv                         flv
                        # SVG
                        AddType image/svg+xml                       svg svgz
                        AddEncoding gzip                            svgz
                        # Webfonts
                        AddType application/vnd.ms-fontobject       eot
                        AddType application/x-font-ttf              ttf ttc
                        AddType font/opentype                       otf
                        AddType application/x-font-woff             woff
                        # Assorted types
                        AddType image/x-icon                        ico
                        AddType image/webp                          webp
                        AddType text/cache-manifest                 appcache manifest
                        AddType text/x-component                    htc
                        AddType application/xml                     rss atom xml rdf
                        AddType application/x-web-app-manifest+json webapp
                        AddType text/x-vcard                        vcf
                        AddType application/x-shockwave-flash       swf
                      </IfModule>
                      
                      ##
                      # Gzip compression
                      # @see https://github.com/h5bp/html5-boilerplate
                      ##
                      <IfModule mod_deflate.c>
                        # Current Apache versions (>= 2.2)
                        <IfModule filter_module>
                          FilterDeclare   COMPRESS
                          FilterProvider  COMPRESS  DEFLATE resp=Content-Type $text/html
                          FilterProvider  COMPRESS  DEFLATE resp=Content-Type $text/css
                          FilterProvider  COMPRESS  DEFLATE resp=Content-Type $text/plain
                          FilterProvider  COMPRESS  DEFLATE resp=Content-Type $text/xml
                          FilterProvider  COMPRESS  DEFLATE resp=Content-Type $text/x-component
                          FilterProvider  COMPRESS  DEFLATE resp=Content-Type $application/javascript
                          FilterProvider  COMPRESS  DEFLATE resp=Content-Type $application/json
                          FilterProvider  COMPRESS  DEFLATE resp=Content-Type $application/xml
                          FilterProvider  COMPRESS  DEFLATE resp=Content-Type $application/xhtml+xml
                          FilterProvider  COMPRESS  DEFLATE resp=Content-Type $application/rss+xml
                          FilterProvider  COMPRESS  DEFLATE resp=Content-Type $application/atom+xml
                          FilterProvider  COMPRESS  DEFLATE resp=Content-Type $application/vnd.ms-fontobject
                          FilterProvider  COMPRESS  DEFLATE resp=Content-Type $image/svg+xml
                          FilterProvider  COMPRESS  DEFLATE resp=Content-Type $image/x-icon
                          FilterProvider  COMPRESS  DEFLATE resp=Content-Type $application/x-font-ttf
                          FilterProvider  COMPRESS  DEFLATE resp=Content-Type $font/opentype
                          FilterChain     COMPRESS
                          FilterProtocol  COMPRESS  DEFLATE change=yes;byteranges=no
                        </IfModule>
                        # Legacy Apache versions
                        <IfModule !mod_filter.c>
                          AddOutputFilterByType DEFLATE text/html text/plain text/css application/json
                          AddOutputFilterByType DEFLATE application/javascript
                          AddOutputFilterByType DEFLATE text/xml application/xml text/x-component
                          AddOutputFilterByType DEFLATE application/xhtml+xml application/rss+xml application/atom+xml
                          AddOutputFilterByType DEFLATE image/x-icon image/svg+xml application/vnd.ms-fontobject application/x-font-ttf font/opentype
                        </IfModule>
                      </IfModule>
                      
                      ##
                      # Expires headers (for better cache control)
                      # @see https://github.com/h5bp/html5-boilerplate
                      ##
                      <IfModule mod_expires.c>
                        ExpiresActive on
                        ExpiresByType text/cache-manifest           "access plus 0 seconds"
                        ExpiresByType text/html                     "access plus 0 seconds"
                        # Data
                        ExpiresByType text/xml                      "access plus 0 seconds"
                        ExpiresByType application/xml               "access plus 0 seconds"
                        ExpiresByType application/json              "access plus 0 seconds"
                        # Feed
                        ExpiresByType application/rss+xml           "access plus 1 hour"
                        ExpiresByType application/atom+xml          "access plus 1 hour"
                        # Media: images, video, audio
                        ExpiresByType image/gif                     "access plus 1 month"
                        ExpiresByType image/png                     "access plus 1 month"
                        ExpiresByType image/jpg                     "access plus 1 month"
                        ExpiresByType image/jpeg                    "access plus 1 month"
                        ExpiresByType image/x-icon                  "access plus 1 month"
                        ExpiresByType video/ogg                     "access plus 1 month"
                        ExpiresByType audio/ogg                     "access plus 1 month"
                        ExpiresByType video/mp4                     "access plus 1 month"
                        ExpiresByType video/webm                    "access plus 1 month"
                        # HTC files  (css3pie)
                        ExpiresByType text/x-component              "access plus 1 month"
                        # Webfonts
                        ExpiresByType application/x-font-ttf        "access plus 1 month"
                        ExpiresByType font/opentype                 "access plus 1 month"
                        ExpiresByType application/x-font-woff       "access plus 1 month"
                        ExpiresByType image/svg+xml                 "access plus 1 month"
                        ExpiresByType application/vnd.ms-fontobject "access plus 1 month"
                        # CSS and JavaScript
                        ExpiresByType text/css                      "access plus 1 year"
                        ExpiresByType application/javascript        "access plus 1 year"
                      </IfModule>
                      
                      ##
                      # Add a Vary Accept-Encoding header for the compressed resources. If you
                      # modify the file types above, make sure to change them here accordingly.
                      # @see http://developer.yahoo.com/performance/rules.html#gzip
                      ##
                      <IfModule mod_headers.c>
                        <FilesMatch "\.(js|css|xml|gz)$">
                          Header append Vary Accept-Encoding
                        </FilesMatch>
                      </IfModule>
                      
                      ##
                      # URL rewriting
                      ##
                      <IfModule mod_rewrite.c>
                        RewriteEngine On
                      
                        ##
                        # Change the RewriteBase if your Contao installation is in a subdirectoy and
                        # the rewrite rules are not working properly. Usage examples:
                        #
                      
                        #
                        # Depending on your server, you might have to remove the line entirely.
                        ##
                      
                      
                        ##
                        # Uncomment the following lines and replace "domain.com" with your domain
                        # name to redirect requests without "www" to the correct domain.
                        ##
                        RewriteCond %{HTTP_HOST} ^meinedomain.de/ [NC]
                        RewriteRule (.*) http://www.meinedomain.de/ [R=301,L]
                      
                        ##
                        # If you cannot use mod_deflate, uncomment the following lines to load a
                        # compressed .gz version of the aggregated Contao JavaScript and CSS files.
                        ##
                        #AddEncoding gzip .gz
                        #<FilesMatch "\.js\.gz$">
                        #  AddType "text/javascript" .gz
                        #</FilesMatch>
                        #<FilesMatch "\.css\.gz$">
                        #  AddType "text/css" .gz
                        #</FilesMatch>
                        #RewriteCond %{HTTP:Accept-encoding} gzip
                        #RewriteCond %{REQUEST_FILENAME} \.(js|css)$
                        #RewriteCond %{REQUEST_FILENAME}.gz -f
                        #RewriteRule ^(.*)$ $1.gz [QSA,L]
                      
                        ##
                        # Do not rewrite requests for static files or folders such as style sheets,
                        # images, movies or text documents. Do not add the URL suffix here!
                        ##
                        <FilesMatch "\.(htm|php|js|css|htc|png|gif|jpe?g|ico|xml|csv|txt|swf|flv|eot|woff|svg|ttf|pdf|gz)$">
                          RewriteEngine Off
                        </FilesMatch>
                      
                        ##
                        # By default, Contao adds ".html" to the generated URLs to simulate static
                        # HTML documents. If you change the URL suffix in the back end settings, make
                        # sure to change it here accordingly!
                        #
                        #   RewriteRule .*\.html$ index.php [L]   # URL suffix .html
                        #   RewriteRule .*\.txt$ index.php [L]    # URL suffix .txt
                        #   RewriteRule .*\.json$ index.php [L]   # URL suffix .json
                        #
                        # If you do not want to use an URL suffix at all, you have to add a second
                        # line to prevent URLs that point to folders from being rewritten (see #4031).
                        #
                        #   RewriteCond %{REQUEST_FILENAME} !-d
                        #
                        # If you are using mod_cache, it is recommended to use the RewriteRule below,
                        # which adds the query string to the internal URL:
                        #
                        #   RewriteRule (.*\.html)$ index.php/$1 [L]
                        #
                        # Note that not all environments support mod_rewrite and mod_cache.
                        ##
                        RewriteCond %{REQUEST_FILENAME} !-f
                        RewriteRule .*\.html$ index.php [L]
                      
                        ##
                        # The following rules are required if you want to pass the language as first
                        # URL parameter (added in Contao 2.11). The first rule rewrites an empty URL
                        # to the front end controller, the second one adds a missing trailing slash.
                        ##
                        RewriteRule ^[a-z]{2}/$ index.php [L]
                        RewriteRule ^([a-z]{2})$ $1/ [R=301,L]
                      
                      </IfModule>
                      Noch mal zur Erklärung:
                      Lege ich die Domain im KAS in den Root-Ordner geht sie natürlich nicht.
                      hänge ich aber an meine Domain von Hand den Contao Ordner (http://www.meinedomain.de/contao/), dann erscheint die Seite.
                      Lege ich die Domain im KAS in den Contao-Ordner, geht sie nicht. Dann erscheint "Page not found".

                      Ich habe nicht den blassesten Schimmer, wie ich die htaccess einstellen muss, dass es funktioniert. Ich dachte, nach der Installation auf den Webserver geht das alles von selbst ... aber weit gefehlt ;-)

                      Danke für eure Hilfe!

                      Kommentar

                      • Andreas
                        Contao-Urgestein
                        • 19.06.2009
                        • 7709

                        #71
                        Normalerweise braucht man an der .htaccess auch nicht rum zu schrauben.

                        In der Zeile muss der Punkt escaped werden
                        Code:
                        RewriteCond %{HTTP_HOST} ^meinedomain.de/ [NC]
                        RewriteCond %{HTTP_HOST} ^meinedomain\.de/ [NC]
                        Mach die Weiterleitung auf eine andere Domain aber besser direkt im KAS, wenn das geht.

                        Folgende Zeile kannst du auch mal ausprobieren. Steht in der Original-.htaccess.default
                        Code:
                          RewriteBase /
                        Du hast ja bestimmt einen eigenen Ordner für die Installation im Root angelegt. Die Domain dorthin zu führen ist richtig.
                        Bitte!
                        Vor Anfragen im Forum HTML validieren.
                        Codesnippets hier im Froum sauber einrücken. Nur Tabs o. nur Leerzeichen verwenden.

                        Vielen Dank an alle Wunschlistenerfüller
                        Andreas Burg, Web Solutions

                        Kommentar

                        • neckarheld
                          Contao-Nutzer
                          • 19.12.2011
                          • 63

                          #72
                          Also, im KAS führt die Domain nun in den Ordner /contao/.

                          Es geht leider noch immer nicht. Die .htacess sieht nun folgendermaßen aus:

                          Code:
                          ##
                          # Contao Open Source CMS
                          # Copyright (C) 2005-2012 Leo Feyer
                          #
                          # Formerly known as TYPOlight Open Source CMS.
                          #
                          # This program is free software: you can redistribute it and/or
                          # modify it under the terms of the GNU Lesser General Public
                          # License as published by the Free Software Foundation, either
                          # version 3 of the License, or (at your option) any later version.
                          #
                          # This program is distributed in the hope that it will be useful,
                          # but WITHOUT ANY WARRANTY; without even the implied warranty of
                          # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
                          # Lesser General Public License for more details.
                          #
                          # You should have received a copy of the GNU Lesser General Public
                          # License along with this program. If not, please visit the Free
                          # Software Foundation website at <http://www.gnu.org/licenses/>.
                          #
                          # PHP version 5
                          # @copyright  Leo Feyer 2005-2012
                          # @author     Leo Feyer <http://www.contao.org>
                          # @license    LGPL
                          ##
                          AddHandler php-fastcgi .php
                          ##
                          # Disable ETags
                          # @see http://developer.yahoo.com/performance/rules.html#etags
                          ##
                          FileETag None
                          <IfModule mod_headers.c>
                            Header unset ETag
                          </IfModule>
                          
                          ##
                          # Prevent access to the Contao template files
                          ##
                          <FilesMatch "\.(tpl|html5|xhtml)$">
                            Order allow,deny
                            Deny from all
                          </FilesMatch>
                          
                          ##
                          # Set the proper MIME types
                          # @see https://github.com/h5bp/html5-boilerplate
                          ##
                          <IfModule mod_mime.c>
                            # JavaScript
                            AddType application/javascript              js jsonp
                            AddType application/json                    json
                            # Audio
                            AddType audio/ogg                           oga ogg
                            AddType audio/mp4                           m4a f4a f4b
                            # Video
                            AddType video/ogg                           ogv
                            AddType video/mp4                           mp4 m4v f4v f4p
                            AddType video/webm                          webm
                            AddType video/x-flv                         flv
                            # SVG
                            AddType image/svg+xml                       svg svgz
                            AddEncoding gzip                            svgz
                            # Webfonts
                            AddType application/vnd.ms-fontobject       eot
                            AddType application/x-font-ttf              ttf ttc
                            AddType font/opentype                       otf
                            AddType application/x-font-woff             woff
                            # Assorted types
                            AddType image/x-icon                        ico
                            AddType image/webp                          webp
                            AddType text/cache-manifest                 appcache manifest
                            AddType text/x-component                    htc
                            AddType application/xml                     rss atom xml rdf
                            AddType application/x-web-app-manifest+json webapp
                            AddType text/x-vcard                        vcf
                            AddType application/x-shockwave-flash       swf
                          </IfModule>
                          
                          ##
                          # Gzip compression
                          # @see https://github.com/h5bp/html5-boilerplate
                          ##
                          <IfModule mod_deflate.c>
                            # Current Apache versions (>= 2.2)
                            <IfModule filter_module>
                              FilterDeclare   COMPRESS
                              FilterProvider  COMPRESS  DEFLATE resp=Content-Type $text/html
                              FilterProvider  COMPRESS  DEFLATE resp=Content-Type $text/css
                              FilterProvider  COMPRESS  DEFLATE resp=Content-Type $text/plain
                              FilterProvider  COMPRESS  DEFLATE resp=Content-Type $text/xml
                              FilterProvider  COMPRESS  DEFLATE resp=Content-Type $text/x-component
                              FilterProvider  COMPRESS  DEFLATE resp=Content-Type $application/javascript
                              FilterProvider  COMPRESS  DEFLATE resp=Content-Type $application/json
                              FilterProvider  COMPRESS  DEFLATE resp=Content-Type $application/xml
                              FilterProvider  COMPRESS  DEFLATE resp=Content-Type $application/xhtml+xml
                              FilterProvider  COMPRESS  DEFLATE resp=Content-Type $application/rss+xml
                              FilterProvider  COMPRESS  DEFLATE resp=Content-Type $application/atom+xml
                              FilterProvider  COMPRESS  DEFLATE resp=Content-Type $application/vnd.ms-fontobject
                              FilterProvider  COMPRESS  DEFLATE resp=Content-Type $image/svg+xml
                              FilterProvider  COMPRESS  DEFLATE resp=Content-Type $image/x-icon
                              FilterProvider  COMPRESS  DEFLATE resp=Content-Type $application/x-font-ttf
                              FilterProvider  COMPRESS  DEFLATE resp=Content-Type $font/opentype
                              FilterChain     COMPRESS
                              FilterProtocol  COMPRESS  DEFLATE change=yes;byteranges=no
                            </IfModule>
                            # Legacy Apache versions
                            <IfModule !mod_filter.c>
                              AddOutputFilterByType DEFLATE text/html text/plain text/css application/json
                              AddOutputFilterByType DEFLATE application/javascript
                              AddOutputFilterByType DEFLATE text/xml application/xml text/x-component
                              AddOutputFilterByType DEFLATE application/xhtml+xml application/rss+xml application/atom+xml
                              AddOutputFilterByType DEFLATE image/x-icon image/svg+xml application/vnd.ms-fontobject application/x-font-ttf font/opentype
                            </IfModule>
                          </IfModule>
                          
                          ##
                          # Expires headers (for better cache control)
                          # @see https://github.com/h5bp/html5-boilerplate
                          ##
                          <IfModule mod_expires.c>
                            ExpiresActive on
                            ExpiresByType text/cache-manifest           "access plus 0 seconds"
                            ExpiresByType text/html                     "access plus 0 seconds"
                            # Data
                            ExpiresByType text/xml                      "access plus 0 seconds"
                            ExpiresByType application/xml               "access plus 0 seconds"
                            ExpiresByType application/json              "access plus 0 seconds"
                            # Feed
                            ExpiresByType application/rss+xml           "access plus 1 hour"
                            ExpiresByType application/atom+xml          "access plus 1 hour"
                            # Media: images, video, audio
                            ExpiresByType image/gif                     "access plus 1 month"
                            ExpiresByType image/png                     "access plus 1 month"
                            ExpiresByType image/jpg                     "access plus 1 month"
                            ExpiresByType image/jpeg                    "access plus 1 month"
                            ExpiresByType image/x-icon                  "access plus 1 month"
                            ExpiresByType video/ogg                     "access plus 1 month"
                            ExpiresByType audio/ogg                     "access plus 1 month"
                            ExpiresByType video/mp4                     "access plus 1 month"
                            ExpiresByType video/webm                    "access plus 1 month"
                            # HTC files  (css3pie)
                            ExpiresByType text/x-component              "access plus 1 month"
                            # Webfonts
                            ExpiresByType application/x-font-ttf        "access plus 1 month"
                            ExpiresByType font/opentype                 "access plus 1 month"
                            ExpiresByType application/x-font-woff       "access plus 1 month"
                            ExpiresByType image/svg+xml                 "access plus 1 month"
                            ExpiresByType application/vnd.ms-fontobject "access plus 1 month"
                            # CSS and JavaScript
                            ExpiresByType text/css                      "access plus 1 year"
                            ExpiresByType application/javascript        "access plus 1 year"
                          </IfModule>
                          
                          ##
                          # Add a Vary Accept-Encoding header for the compressed resources. If you
                          # modify the file types above, make sure to change them here accordingly.
                          # @see http://developer.yahoo.com/performance/rules.html#gzip
                          ##
                          <IfModule mod_headers.c>
                            <FilesMatch "\.(js|css|xml|gz)$">
                              Header append Vary Accept-Encoding
                            </FilesMatch>
                          </IfModule>
                          
                          ##
                          # URL rewriting
                          ##
                          <IfModule mod_rewrite.c>
                            RewriteEngine On
                          
                            ##
                            # Change the RewriteBase if your Contao installation is in a subdirectoy and
                            # the rewrite rules are not working properly. Usage examples:
                            #
                            #   RewriteBase /contao-2.11.0
                            #   RewriteBase /path/to/contao
                            #
                            # Depending on your server, you might have to remove the line entirely.
                            ##
                            RewriteBase /contao/
                          
                            ##
                            # Uncomment the following lines and replace "domain.com" with your domain
                            # name to redirect requests without "www" to the correct domain.
                            ##
                            RewriteCond %{HTTP_HOST} ^furnier-und-sperrholz-zentrale\.de [NC]
                            #RewriteRule (.*) http://www.domain.com/$1 [R=301,L]
                          
                            ##
                            # If you cannot use mod_deflate, uncomment the following lines to load a
                            # compressed .gz version of the aggregated Contao JavaScript and CSS files.
                            ##
                            #AddEncoding gzip .gz
                            #<FilesMatch "\.js\.gz$">
                            #  AddType "text/javascript" .gz
                            #</FilesMatch>
                            #<FilesMatch "\.css\.gz$">
                            #  AddType "text/css" .gz
                            #</FilesMatch>
                            #RewriteCond %{HTTP:Accept-encoding} gzip
                            #RewriteCond %{REQUEST_FILENAME} \.(js|css)$
                            #RewriteCond %{REQUEST_FILENAME}.gz -f
                            #RewriteRule ^(.*)$ $1.gz [QSA,L]
                          
                            ##
                            # Do not rewrite requests for static files or folders such as style sheets,
                            # images, movies or text documents. Do not add the URL suffix here!
                            ##
                            <FilesMatch "\.(htm|php|js|css|htc|png|gif|jpe?g|ico|xml|csv|txt|swf|flv|eot|woff|svg|ttf|pdf|gz)$">
                              RewriteEngine Off
                            </FilesMatch>
                          
                            ##
                            # By default, Contao adds ".html" to the generated URLs to simulate static
                            # HTML documents. If you change the URL suffix in the back end settings, make
                            # sure to change it here accordingly!
                            #
                            #   RewriteRule .*\.html$ index.php [L]   # URL suffix .html
                            #   RewriteRule .*\.txt$ index.php [L]    # URL suffix .txt
                            #   RewriteRule .*\.json$ index.php [L]   # URL suffix .json
                            #
                            # If you do not want to use an URL suffix at all, you have to add a second
                            # line to prevent URLs that point to folders from being rewritten (see #4031).
                            #
                            #   RewriteCond %{REQUEST_FILENAME} !-d
                            #
                            # If you are using mod_cache, it is recommended to use the RewriteRule below,
                            # which adds the query string to the internal URL:
                            #
                            #   RewriteRule (.*\.html)$ index.php/$1 [L]
                            #
                            # Note that not all environments support mod_rewrite and mod_cache.
                            ##
                            RewriteCond %{REQUEST_FILENAME} !-f
                            RewriteRule .*\.html$ index.php [L]
                          
                            ##
                            # The following rules are required if you want to pass the language as first
                            # URL parameter (added in Contao 2.11). The first rule rewrites an empty URL
                            # to the front end controller, the second one adds a missing trailing slash.
                            ##
                            RewriteRule ^[a-z]{2}/$ index.php [L]
                            RewriteRule ^([a-z]{2})$ $1/ [R=301,L]
                          
                          </IfModule>
                          Die Raute vor
                          Code:
                          RewriteCond %{HTTP_HOST} ^furnier-und-sperrholz-zentrale\.de [NC]
                          zu entfernen ist doch richtig oder?

                          Kommentar

                          • xchs
                            Administrator
                            • 19.06.2009
                            • 14682

                            #73
                            Wenn die Domain in dieses Verzeichnis zeigt, muss die RewriteBase folgendermaßen aussehen:
                            Code:
                            RewriteBase /
                            Code:
                            RewriteCond %{HTTP_HOST} ^furnier-und-sperrholz-zentrale\.de [NC]
                            RewriteRule (.*) http://www.furnier-und-sperrholz-zentrale.de/$1 [R=301,L]
                            Contao Community Administrator

                            [Unterstützungsmöglichkeiten]
                            sigpic

                            Kommentar

                            • neckarheld
                              Contao-Nutzer
                              • 19.12.2011
                              • 63

                              #74
                              Zitat von xchs Beitrag anzeigen
                              Wenn die Domain in dieses Verzeichnis zeigt, muss die RewriteBase folgendermaßen aussehen:
                              Code:
                              RewriteBase /
                              Code:
                              RewriteCond %{HTTP_HOST} ^furnier-und-sperrholz-zentrale\.de [NC]
                              RewriteRule (.*) http://www.furnier-und-sperrholz-zentrale.de/$1 [R=301,L]
                              Danke für den Hinweis.
                              Habe ich jetzt alles genau so angepasst und dennoch gehts nicht ...

                              Solangsam wirds echt peinlich

                              Kommentar

                              • xchs
                                Administrator
                                • 19.06.2009
                                • 14682

                                #75
                                Wie schaut denn Deine Seitenstruktur aus?
                                Contao Community Administrator

                                [Unterstützungsmöglichkeiten]
                                sigpic

                                Kommentar

                                Lädt...