... I just have an problem near or identical like this ...
RC is installed in a root of a SubDomain. I call RC by mail.domain.tld
So all things with topic domain and near this are set by the following code in the main.inc.php
<?php
$rcmail_config = array();
$tempDomain = array_reverse(explode(".",$_SERVER['HTTP_HOST']));
$tempDomain = $tempDomain[1].".".$tempDomain[0];
$tempHost = "mail.".$tempDomain;
... blabla ...
$rcmail_config['default_host'] = $tempDomain;
$rcmail_config['username_domain'] = $tempDomain;
$rcmail_config['mail_domain'] = $tempDomain;
$rcmail_config['smtp_server'] = $tempDomain;
$rcmail_config['smtp_helo_host'] = $tempDomain;
... blabla ...
$rcmail_config['session_domain'] = $tempHost;
... blabla ...
?>
So all works fine at the 1st view, but...
1. If I set
session_domain to tempHost or tempDomain I can't log in
-> Apache- ErrorLog don't say any about that
-> RC- userlogins say
Successful login for ... 2. If I set
session_domain to an empty string (default)
-> Apache- ErrorLog say:
once->
PHP Notice: Undefined index: HTTPS in C:\\[path to]\\iniset.php on line 56twice->
PHP Notice: Undefined index: HTTPS in C:\\[path to]\\iniset.php on line 56, referer: mail.domain.tldtwice->
PHP Notice: Undefined index: HTTPS in C:\\[path to]\\iniset.php on line 56, referer: mail.domain.tld/?_task=mail-> RC- userlogins say
Successful login for ...So I have try many different combinations more but ever with one of the results described before...
I belive it must be possible to get it to run without Errormessages?!?
Anybody an idea???
(sorry about my ugly english...)
PS: The tempDomain/Host thing dont's work right in MyRC at the moment. I belive rosali will fix it in the next time...