torstenv Posted March 26, 2014 Report Share Posted March 26, 2014 Hallo, Kann es sein, das meine htaccess nicht richitg konfiguriert ist ? Ich habe einen Multishop, jeder Mandant hat einen Eintrag RewriteCond %{HTTP_HOST} ^meinshop.de$ RewriteRule ^/?$ "http\:\/\/www\.meinshop\.de" [R=301,L] damit der entsprechende Shop auch ohne www. richitg angezeigt wird. Ein HP-Check-Programm sagt mir aber jetzt, das die htacess doppelten content aufweist... Sind die Einstellungen so richtig ? Vielen Dank für Eure Hilfe ! lg, Torsten ------------------- # RewriteEngine on # RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php DirectoryIndex index.php <IfModule mod_rewrite.c> SetEnv HTTP_MOD_REWRITE On RewriteEngine on RewriteCond %{REQUEST_URI} !^/media/ RewriteCond %{REQUEST_URI} !^/extAdmin/ RewriteCond %{REQUEST_URI} !^/skin/ RewriteCond %{REQUEST_URI} !^/js/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule .* index.php </IfModule> <IfModule mod_expires.c> ExpiresActive On ExpiresDefault "access plus 1 seconds" ExpiresByType image/x-icon "access plus 2692000 seconds" ExpiresByType image/jpeg "access plus 2692000 seconds" ExpiresByType image/png "access plus 2692000 seconds" ExpiresByType image/gif "access plus 2692000 seconds" ExpiresByType application/x-shockwave-flash "access plus 2692000 seconds" ExpiresByType text/css "access plus 2692000 seconds" ExpiresByType text/javascript "access plus 2692000 seconds" ExpiresByType application/x-javascript "access plus 2692000 seconds" </IfModule> <IfModule mod_headers.c> <FilesMatch "\\.(ico|jpe?g|png|gif|swf|css|js)$"> Header set Cache-Control "max-age=2692000, public" </FilesMatch> Header unset ETag Header unset Last-Modified </IfModule> RewriteCond %{HTTP_HOST} ^meinshop.de$ RewriteRule ^/?$ "http\:\/\/www\.meinshop\.de" [R=301,L] -------------------- Link to comment Share on other sites More sharing options...
torstenv Posted April 7, 2014 Author Report Share Posted April 7, 2014 *nochmal hochschieb...* Link to comment Share on other sites More sharing options...
leverage Posted April 13, 2014 Report Share Posted April 13, 2014 Hallo Torsten, bei mir gleiches Problem. ### Nachtrag - hatte cache nicht geleert. Alles ok. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.