fixed syscp-bug #1277 (use 301 permanent-redirect rather then 302 temporary);
This commit is contained in:
@@ -482,7 +482,7 @@ class apache
|
||||
|
||||
if(preg_match('/^https?\:\/\//', $domain['documentroot']))
|
||||
{
|
||||
$vhost_content.= ' Redirect / ' . $domain['documentroot'] . "\n";
|
||||
$vhost_content.= ' Redirect 301 / ' . $domain['documentroot'] . "\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user