Hi, After hour of digging I found that midcom tries to redirect me to an invalid URL afrte creating new article.
Dec 02 11:29:11 [warn] de.linkm.taviewer admin::_init_create: Relocating to http://www.wizja.com.pl:8001|:8001|/midcom-admin/ais/20/data/create/3022 I've added "|" to show the parts of the URL made by the code: // This is an URL from the local host if(array_key_exists("SSL_PROTOCOL",$_SERVER) || $_SERVER["SERVER_PORT"]==443) $protocol="https"; else $protocol="http"; $port=""; if($protocol=="http" && $_SERVER["SERVER_PORT"]!=80) $port=":".$_SERVER["SERVER_PORT"]; else if($protocol=="https" && $_SERVER["SERVER_PORT"]!=443) $port=":".$_SERVER["SERVER_PORT"]; $location="Location: $protocol://".$_SERVER['HTTP_HOST'].$port.$url; In this example parts are: $protocol=" http" $_SERVER['HTTP_HOST']="http://www.wizja.com.pl:8001" $port="8001" $url="/midcom-admin/ais/20/data/create/3022" I think there should be $_SERVER['SERVER_NAME'] rather than $_SERVER['HTTP_HOST']. At least works for me BR Solt --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
