- fix redirect-statement in lighttpd-cronjobm refs #89
This commit is contained in:
@@ -318,7 +318,7 @@ class lighttpd
|
|||||||
if(preg_match('/^https?\:\/\//', $domain['documentroot']))
|
if(preg_match('/^https?\:\/\//', $domain['documentroot']))
|
||||||
{
|
{
|
||||||
$vhost_content.= ' url.redirect = (' . "\n";
|
$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";
|
$vhost_content.= ' )' . "\n";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user