Ich habe immer noch ein Rewrite Problem, dass ich nicht wirklich gelöst bekomme. Meine .htaccess sieht folgedermaßen aus:
Code: Select all
# Rewrite:
<IfModule mod_rewrite.c>
RewriteEngine On
DirectoryIndex index.html index.php
RewriteBase /
#REDIRECT OTHER DOMAINS
RewriteCond %{http_host} !^www\.example\.com [NC]
RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301]
#NO REWRITE ON REAL FOLDERS AND FILES
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
#AUCH NO REWRITE ON THESE (obwohl ja egtl. nich tmehr nötig nach den zeilen drüber...)
RewriteCond %{REQUEST_URI} !^(include|img|images|template|picture|filearchive|content|robots\.txt|favicon\.ico|kunden|sales)
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
RewriteRule ^([^/]+)/([0-9]+)-([0-9]+)/([^/]+).html?$ index.php?$1&newsdetail=$2-$3_$4&%{QUERY_STRING} [L]
RewriteRule ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.html$ index.php?id=$1,$2,$3,$4,$5,$6&%{QUERY_STRING}
RewriteRule ^(.+)\.html$ index.php?$1&%{QUERY_STRING}
</IfModule>
Die index.html beinhaltet folgenden Code und stellt nur etwas in einem frame dar:
Code: Select all
<html>
<head>
<title>TITEL</title>
</head>
<frameset framespacing="0" frameborder="0" border="0">
<frame src="http://www.google.de" name="home" marginwidth="0" marginheight="0" framespacing="0" frameborder="0" topmargin="0" leftmargin="0" border="0" height="100%" width="100%">
</frameset>
<noframes>
<body bgcolor="#001A3E" text="#FFFFFF" link="#FFFFFF" vlink="#001A3E" alink="#001A3E">
<p>Please use a frames capable browser.
</body>
</noframes>
</html>
Hiiiilfe!