-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello Greg Gunthner,
On Wednesday, August 17, 2005, you wrote:
>>> Running OS X Server 10.3.9 - EIMS 3 - SM 1.4.5
>>
>>> POP/IMAP clients work fine...send & receive.
>>
>>> SM compose - hit send...page just times out. Mail Server shows as
>>> message sent. SM shows message sent in Sent Items.
>>
>>> Have checked my configs over & over....
>>
>>Okay, to clear things up, from this it says the message *is* sent but
>>refreshing to the next page times out? Does it occur on all messages?
>>Do you have SSL enabled in your apache? What PHP version?
> Some progress....
> I have enabled SSL on apache. I can now log in and send mail.....but
> I now get a Bad Request message. Trying to send an http request to an
> https enabled server as soon as the compose page refreshes.
> PHP version: 4.3.11
Okay, this has come up several times, but I'm still unable to
duplicate. Somebody reported a similar issue just the other day about
cross-virtual host variable corruption, in particular the
environmental variables that shouldn't be crossed. They took the
discussion up with PHP/Apache developers, and they just wanted to
point the finger are each other. Back to your issue, I think you'll
find the problem is in functions/strings.php in the function
get_location.
If you have a few minutes for some debugging, it might help us to get
to the bottom of this issue...
Around line 223 in functions/strings.php you should see the following
block of code:
$getEnvVar = getenv('HTTPS');
if ((isset($getEnvVar) && !strcasecmp($getEnvVar, 'on')) ||
(sqgetGlobalVar('HTTPS', $https_on, SQ_SERVER) &&
!strcasecmp($https_on, 'on')) ||
(sqgetGlobalVar('SERVER_PORT', $server_port, SQ_SERVER) &&
$server_port == 443)) {
$proto = 'https://';
}
Change the code to:
$getEnvVar = getenv('HTTPS');
echo 'Env HTTPS: ' . $getEnvVar . '<br>';
if (sqgetGlobalVar('HTTPS', $https_on, SQ_SERVER)) {
echo 'Server HTTPS: ' . $https_on . '<br>';
} else {
echo 'Server HTTPS not set<br>';
}
if (sqgetGlobalVar('SERVER_PORT', $server_port, SQ_SERVER)) {
echo 'Server Port: ' . $server_port . '<br>';
} else {
echo 'Server Port not set<br>';
}
if ((isset($getEnvVar) && !strcasecmp($getEnvVar, 'on')) ||
(sqgetGlobalVar('HTTPS', $https_on, SQ_SERVER) &&
!strcasecmp($https_on, 'on')) ||
(sqgetGlobalVar('SERVER_PORT', $server_port, SQ_SERVER) &&
$server_port == 443)) {
$proto = 'https://';
}
When you attempt to login, you should get a bunch of stuff at the top
of the page, and probably an error or two about headers already being
sent. Paste the results back here, and we'll see if we can work out
what is going on.
- --
Jonathan Angliss
<[EMAIL PROTECTED]>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
iD8DBQFDA0E1K4PoFPj9H3MRAnWAAJ95SuEbzho1ztd28/Rs8qKiRb61awCeIEaX
/gexVw5sdMP4ZqhLgJM47uA=
=9Ptj
-----END PGP SIGNATURE-----
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
--
squirrelmail-users mailing list
Posting Guidelines:
http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: [email protected]
List Archives:
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id)95
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users