Jump to content
xt:Commerce Community Forum

Warum funktioniert diese htaccess nicht?


hazzi

Recommended Posts

Nach der Installation bekam ich den Fehler 500

Nach Änderung in der htaccess:RewriteRule . – [E=HTTP_MOD_REWRITE:On]

bekomme ich einen Umleitungsfehler, die nie beendet werden kann!

Das ist sie:

# RewriteEngine on

# RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php

DirectoryIndex index.php

AddDefaultCharset utf-8

<IfModule mod_rewrite.c>

RewriteEngine On

RewriteRule . – [E=HTTP_MOD_REWRITE:On]

RewriteEngine on

RewriteBase /

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>

Ich experimentiere hier schon Tage, find aber den Fehler nicht!

Es handelt sich um xtcommerce shop start 4.1, installiert auf einer subdomain!:confused:

Ich bedanke mich schon im voraus für eventuelle Antworten! Danke

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...