Sorry i Have a question.
by the code
Code:
... "\nRewriteRule ^/(.*)$ http://".$servername.$domain["domain_weiterleitung"]."$1 [R]";
Must i Remove ONLY the PART with [R] or the complete Line ?
Also this Part ?
Code:
$rewrite_rule .= "\nRewriteCond %{HTTP_HOST} ^".$rewrite_cond_url." [NC]";
if(substr($domain["domain_weiterleitung"],0,4) == "http" || substr($domain["domain_weiterleitung"],0,4) == "HTTP"){
$domain["domain_weiterleitung"] = strtolower($domain["domain_weiterleitung"]);
if(substr($domain["domain_weiterleitung"],-1) == "/") $domain["domain_weiterleitung"] = substr($domain["domain_weiterleitung"],0$
$rewrite_rule .= "\nRewriteRule ^/(.*) ".$domain["domain_weiterleitung"]."/$1 [L,R]";
} else {
//if(substr($domain["domain_weiterleitung"],-1) != "/") $domain["domain_weiterleitung"] .= "/";
if(substr($domain["domain_weiterleitung"],0,1) != "/") $domain["domain_weiterleitung"] = "/".$domain["domain_weiterleitung"];
$rewrite_rule .= "\nRewriteRule ^/(.*)$ http://".$servername.$domain["domain_weiterleitung"]."$1 [R]";
Thx for Help.
Greetz Pierre