From d653b51844dc6a18334330cf045fd508ed019e4b Mon Sep 17 00:00:00 2001 From: "Michael Kaufmann (d00p)" Date: Wed, 20 Jan 2010 10:43:25 +0000 Subject: [PATCH] fixed syscp-bug #1277 (use 301 permanent-redirect rather then 302 temporary); --- TODO | 4 ++-- scripts/cron_tasks.inc.http.10.apache.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/TODO b/TODO index e4373ff0..73679c06 100644 --- a/TODO +++ b/TODO @@ -7,8 +7,8 @@ FIXED 0001281 Wrong open_basedir directive 0001280 deb packet 1.4.2.1-2 fu*ked FIXED 0001279 incorrect usage of escapeshellcmd FIXED 0001269 AWStats RewriteRule is wrong - 0001278 Customer and domain directories are not created - 0001277 Apache Redirect => permanent 301 +WONFIX 0001278 Customer and domain directories are not created +FIXED 0001277 Apache Redirect => permanent 301 0001276 Bind Zones Not Updated on Nameserver Change 0001275 Setting up Traffic limit is limited to 999 GB 0001273 APS-Installer diff --git a/scripts/cron_tasks.inc.http.10.apache.php b/scripts/cron_tasks.inc.http.10.apache.php index 95505cd4..1cedab86 100644 --- a/scripts/cron_tasks.inc.http.10.apache.php +++ b/scripts/cron_tasks.inc.http.10.apache.php @@ -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 {