Now redirects are "permanent" redirects(code 301)

the upgrade script should regenerate previously created redirects
References: 1165
This commit is contained in:
Nahuel Angelinetti 2009-02-18 18:10:45 +00:00
parent 136ae243e8
commit 9a71472424
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ add_host() {
value=`echo $value | sed -e 's#\([^/:]*://\)\?\([^/]*\)/*\(.*\)#\1\2/\3#'`
(echo "RewriteEngine on"
echo "RewriteRule (.*) ${value}\$1 [R,L]"
echo "RewriteRule (.*) ${value}\$1 [R=permanent,L]"
) > "$htaccess_directory/.htaccess"
ln -snf "$htaccess_directory" "$vhost_directory"
;;