PDA

View Full Version : Domain forwarding / redirect failed


stefanr
28th March 2009, 18:11
Hello,

i upgraded my isp installation from version 2.2.29 to version 2.2.30. Befor i upgrade my domain forwarding from webmail.domain.de to https://ispconfig.domain.de:81/roundcubemail works fine. After the upgrade my forwarding wan't work.

Into the ispconfig the subdomain is defined but the

cat /etc/apache2/vhosts/Vhosts_ispconfig.conf |grep domain.de

shows

RewriteEngine on
RewriteCond %{HTTP_HOST} ^webmail\.domain\.de [NC]
RewriteRule ^/(.*) https://ispconfig.domain.de/roundcubemail/$1 [L,R]
RewriteCond %{HTTP_HOST} ^ispconfig\.domain\.de [NC]
RewriteRule ^/(.*) https://ispconfig.domain.de/$1 [L,R]

it looks like my config in the ispconfig wrote the :81 not into the vhosts_ispconfig.conf


thanks for your help.

STEFAN

virtualweb
29th March 2009, 13:54
As described in the Announcement for Version 2.2.30 i added one line of code to /root/ispconfig/scripts/lib/config.lib.php but even after restarting the server the ports are ignored.

Has someone found a solution for this problem?

SOLVED - it is working now as described with the modifications in config.lib.php

stefanr
29th March 2009, 17:40
thanks for your replay virtualweb,

can you post me the modification of your /root/ispconfig/scripts/lib/config.lib.php

kind regards

STEFAN

falko
29th March 2009, 22:10
http://www.howtoforge.com/forums/showpost.php?p=176629&postcount=18

stefanr
4th April 2009, 22:20
Hello Falko,

thanks for your answer, i do an update to version 2.2.31 it fixed...

THX

STEFAN