fixed syscp-bug #1277 (use 301 permanent-redirect rather then 302 temporary);

This commit is contained in:
Michael Kaufmann (d00p)
2010-01-20 10:43:25 +00:00
parent d329eb3b63
commit d653b51844
2 changed files with 3 additions and 3 deletions

4
TODO
View File

@@ -7,8 +7,8 @@ FIXED 0001281 Wrong open_basedir directive
0001280 deb packet 1.4.2.1-2 fu*ked 0001280 deb packet 1.4.2.1-2 fu*ked
FIXED 0001279 incorrect usage of escapeshellcmd FIXED 0001279 incorrect usage of escapeshellcmd
FIXED 0001269 AWStats RewriteRule is wrong FIXED 0001269 AWStats RewriteRule is wrong
0001278 Customer and domain directories are not created WONFIX 0001278 Customer and domain directories are not created
0001277 Apache Redirect => permanent 301 FIXED 0001277 Apache Redirect => permanent 301
0001276 Bind Zones Not Updated on Nameserver Change 0001276 Bind Zones Not Updated on Nameserver Change
0001275 Setting up Traffic limit is limited to 999 GB 0001275 Setting up Traffic limit is limited to 999 GB
0001273 APS-Installer 0001273 APS-Installer

View File

@@ -482,7 +482,7 @@ class apache
if(preg_match('/^https?\:\/\//', $domain['documentroot'])) if(preg_match('/^https?\:\/\//', $domain['documentroot']))
{ {
$vhost_content.= ' Redirect / ' . $domain['documentroot'] . "\n"; $vhost_content.= ' Redirect 301 / ' . $domain['documentroot'] . "\n";
} }
else else
{ {