Mohan Mandava wrote:
Hello Paul,

I am seeing the same problem on my host 1and1.co.uk
with SSL relay using sslrelay.com.
The question I have is if the server is misconfigured,
why would the links in the left frame "INBOX", etc.
work fine while the links in "page_header" like
"Compose", "Sign Out" break ?

If it is a server config issue, any ideas what I might
need to look at / change ?

As you suggested, I checked $base_uri using the "echo"
and it did not return the full path.

My suggestion below was actually to print out $PHP_SELF

Did you do that?  Can you show....?

Maybe make that function look like this and show the results:

function sqm_baseuri(){
    global $base_uri, $PHP_SELF;
    /**
     * If it is in the session, just return it.
     */
    if (isset($base_uri)){
        return $base_uri;
    }
    $dirs = array('|src/.*|', '|plugins/.*|', '|functions/.*|');
    $repl = array('', '', '');
echo "<hr />PHP_SELF is<br />$PHP_SELF<hr />";
    $base_uri = preg_replace($dirs, $repl, $PHP_SELF);
echo "<hr />base_uri is<br />$base_uri<hr />";
    return $base_uri;
}


From: Paul Lesneiwski <paul <at> squirrelmail.org>
Subject: Re: SSL Problem
Newsgroups: gmane.mail.squirrelmail.user
Date: 2005-03-02 02:50:09 GMT (16 weeks, 6 days, 9
hours and 22 minutes ago)


Hello

I have SquirrelMail installed in a SharedHosting

Environment. To use SSL I

have to change the URL http://www.domain.tld to
https://sslsites.tld/domain.tld.

After that some links in SquirrelMail work correct,

for example the links

in
the left frame. But some do not because the

"domain.tld" part is cut out,

for example the links in the main menu like compose:
https://sslsites.tld/src/compose.php?mailbox=INBOX

instead of

https://sslsites.tld/domain.tld/src/compose.php?mailbox=INBOX.

Has someone an idea how to solve the problem?


Sounds like your web server might be misconfigured, or
something is wrong
with what it reports as PHP_SELF.  You can add
something like this to
functions/display_messages.php, around line 41 (end of
the sqm_baseuri()
function, BEFORE the return $base_uri; line):

echo "<hr />PHP_SELF is $PHP_SELF<hr />";

If this does not include your full path, chances are
your server is trying
to be too smart for its own good, otherwise, we can
keep digging.

-paul

--

Open Guild, LLC
http://openguild.net/
Software.Systems.Solutions


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
--
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=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to