- fix redirect-statement in lighttpd-cronjobm refs #89

This commit is contained in:
Michael Kaufmann (d00p)
2010-03-25 10:54:21 +00:00
parent 677cd54e1c
commit 8077a2e3b1

View File

@@ -318,7 +318,7 @@ class lighttpd
if(preg_match('/^https?\:\/\//', $domain['documentroot']))
{
$vhost_content.= ' url.redirect = (' . "\n";
$vhost_content.= ' "^/(.*)$" => "'. $this->idnaConvert->encode($domain['documentroot']) . '"/$1'. "\n";
$vhost_content.= ' "^/(.*)$" => "'. $this->idnaConvert->encode($domain['documentroot']) . '$1"'. "\n";
$vhost_content.= ' )' . "\n";
}
else