Endless redirects if there is an alias with "Redirect with the HTTP 301 code" option

Refers to:

  • Plesk 11.5 for Linux

Created:

2016-11-16 12:55:08 UTC

Modified:

2017-02-04 19:05:23 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Endless redirects if there is an alias with "Redirect with the HTTP 301 code" option

Symptoms

A domain redirects itself endlessly if the domain has an alias with "Redirect with the HTTP 301 code" option.

In domain's config file /var/www/vhosts/system/sub1.tld/conf/last_httpd.conf

    <IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^domain.com [NC,OR]
RewriteCond %{HTTP_HOST} ^www.domain.com [NC]
RewriteRule ^(.*)$ http://domain.com.ru$1 [L,R=301]
</IfModule>

Cause

This behavior is considered a software issue #PPPM-711 and will be fixed in future Plesk updates.

Resolution

The issue has been reported as fixed in Parallels Plesk 11.5 MU#7.

Have more questions? Submit a request
Please sign in to leave a comment.