Paul,

Apologize for the incorrect info ...below is the
datayou asked (domain names / ip addresses changed) .

Enjoy your holiday ! It would be of great help if
anyone else can think of what could be wrong.

-Mohan.

==========
PHP_SELF is /src/redirect.php

base_uri is
/

Array
(
    [CONTENT_LENGTH] => 77
    [CONTENT_TYPE] =>
application/x-www-form-urlencoded
    [DBENTRY] =>
/kunden/homepages/xx/dyyy/htdocs/webmail:d0000#CPU 6
#MEM 10240 #CGI 49503 #NPROC 12 #TAID 36842373 #WERB 0
#LANG 1 #STAT
    [DOCUMENT_ROOT] =>
/kunden/homepages/xx/dyyy/htdocs/webmail
    [HTTP_ACCEPT] =>
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
    [HTTP_ACCEPT_CHARSET] =>
ISO-8859-1,utf-8;q=0.7,*;q=0.7
    [HTTP_ACCEPT_ENCODING] => gzip,deflate
    [HTTP_ACCEPT_LANGUAGE] => en-us,en;q=0.5
    [HTTP_CACHE_CONTROL] => no-cache
    [HTTP_HOST] => webmail.abc.co.uk
    [HTTP_MAX_FORWARDS] => 10
    [HTTP_PRAGMA] => no-cache
    [HTTP_REFERER] =>
https://sslrelay.com/webmail.abc.co.uk/src/login.php
    [HTTP_USER_AGENT] => Mozilla/5.0 (Windows; U;
Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511
Firefox/1.0.4
    [HTTP_X_FORWARDED_BY] => United Internet SSL Proxy
    [HTTP_X_FORWARDED_FOR] => 171.39.65.47
    [HTTP_X_FORWARDED_HOST] => sslrelay.com
    [HTTP_X_FORWARDED_SERVER] => sslrelay.com
    [PATH] => /bin:/usr/bin
    [REDIRECT_DBENTRY] =>
/kunden/homepages/xx/dyyy/htdocs/webmail:d0000#CPU 6
#MEM 10240 #CGI 49503 #NPROC 12 #TAID 36842373 #WERB 0
#LANG 1 #STAT
    [REDIRECT_STATUS] => 200
    [REDIRECT_UNIQUE_ID] => QsREDtTjba0AABryNm4
    [REDIRECT_URL] => /src/redirect.php
    [REMOTE_ADDR] => 172.24.55.162
    [REMOTE_PORT] => 61431
    [SCRIPT_FILENAME] =>
/kunden/homepages/xx/dyyy/htdocs/webmail/src/redirect.php
    [SCRIPT_URI] =>
http://webmail.abc.co.uk/src/redirect.php
    [SCRIPT_URL] => /src/redirect.php
    [SERVER_ADDR] => 202.237.86.43
    [SERVER_ADMIN] => [EMAIL PROTECTED]
    [SERVER_NAME] => webmail.abc.co.uk
    [SERVER_PORT] => 80
    [SERVER_SIGNATURE] => 
    [SERVER_SOFTWARE] => Apache/1.3.29 (Unix)
    [UNIQUE_ID] => QsREDtTjba0AABryNm4
    [GATEWAY_INTERFACE] => CGI/1.1
    [SERVER_PROTOCOL] => HTTP/1.1
    [REQUEST_METHOD] => POST
    [QUERY_STRING] => 
    [REQUEST_URI] => /src/redirect.php
    [SCRIPT_NAME] => /src/redirect.php
    [PATH_INFO] => /src/redirect.php
    [PATH_TRANSLATED] =>
/kunden/homepages/xx/dyyy/htdocs/webmail/src/redirect.php
    [STATUS] => 200
    [REDIRECT_SCRIPT_URI] =>
http://webmail.abc.co.uk/src/redirect.php
    [REDIRECT_SCRIPT_URL] => /src/redirect.php
    [PHP_SELF] => /src/redirect.php
    [argv] => Array
        (
        )

    [argc] => 0
)

============


--- Paul Lesneiwski <[EMAIL PROTECTED]> wrote:

> 
> 
> Mohan Mandava wrote:
> > Paul,
> > 
> > Here's the output :
> > 
> > PHP_SELF is /src/redirect.php
> > 
> > PHP_SELF is /src/redirect.php
> 
> 2nd one should be base_uri.... can you double check
> that you put in what 
> I asked for?  Although, I guess the fact that
> PHP_SELF doesn't have the 
> full path is an issue.  On the login page, mine is 
> "/mail/src/login.php".  Try  sm_print_r($_SERVER); 
> I am out on 
> vacation, so maybe someone else can help you from
> here or you can wait a 
> week.
> 
> 
> 
> > -Mohan.
> > 
> > --- Paul Lesneiwski <[EMAIL PROTECTED]> wrote:
> > 
> > 
> >>
> >>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
> >>>
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
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