SourceForge has been redesigned. Learn more.
Close

#1705 Problem with Logout-, Compose-, ... Link

closed-fixed
None
5
2006-07-25
2005-01-26
No

Hi,

I've installed SquirrelMail 1.4.4 on my homepage, but I
have a problem with the logout, compose, ... link.
The location for Squirrelmail on my homepage is e.g.
https://xxx.yyy.de/webmail.test.de/squirrelmail

When I use this URL, I can login to SquirrelMail and
read my messages, ...
When I try to logout or compose a message I have the
problem that the links are set to
https://xxx.yyy.de/src/signout.php instead of
https://xxx.yyy.de/webmail.test.de/squirrelmail/src/signout.php

Can you imagine whats the problem?
If I use a Squirrelmail over http://webmail.test.de
everything works fine.

Best regards.

Discussion

  • Thijs Kinkhorst

    Thijs Kinkhorst - 2005-01-28

    Logged In: YES
    user_id=285765

    When you run the src/configtest.php script, what does it
    output after "Base URL detected as:" ?

     
  • Anonymous

    Anonymous - 2005-01-28

    Logged In: YES
    user_id=841587

    It detects the Base URL as http://webmail.test.de/src

     
  • Anonymous

    Anonymous - 2005-01-30

    Logged In: YES
    user_id=841587

    Hello again,

    I've asked my Webhoster, and he said that all the request
    over SSL are going throught a proxy.
    The proxy is forwarding the request to the http-Server and
    sends the reply SSL-encoded.

    Is there a way to define the Base URL manually or change it?

     
  • Thijs Kinkhorst

    Thijs Kinkhorst - 2005-01-30

    Logged In: YES
    user_id=285765

    Currently, that's not possible except by changing the
    SquirrelMail source code (which is not that hard): just
    adapt the get_location() function in functions/strings.php
    to return your hardcoded URL.

    There's indeed a plan to make the base URL manually
    configurable which is quite common in other web
    applications, and leave the current function as a
    default/fallback/'detect' option.

     
  • Anonymous

    Anonymous - 2005-01-30

    Logged In: YES
    user_id=841587

    I've tried to change the get_location() function, but the
    problem is still the same.

    The links from the left mailbox-tree are working fine, also
    the links to read a mail.
    Only the page header links (Compose, Search, Help, ...) are
    working with other paths. Are they coded relative or full?

     
  • Thijs Kinkhorst

    Thijs Kinkhorst - 2005-03-31
    • assigned_to: nobody --> kink
     
  • Thijs Kinkhorst

    Thijs Kinkhorst - 2005-04-04

    Logged In: YES
    user_id=285765

    Hmm, appearently $base_uri is not set correctly in the
    session (which is used to make that URL in the function
    makeInternalLink(), functions/page_header.php. I guess that
    it's set to "/" for some reason (it's being 'calculated' in
    redirect.php).

    Since it doesn't happen here, I can't easily debug it. Do
    you think you can debug why it gets the wrong value? That
    would be of great help in resolving this issue.

     
  • Thijs Kinkhorst

    Thijs Kinkhorst - 2005-04-27

    Logged In: YES
    user_id=285765

    Can you help tracing the information I requested? Please let
    me know.

     
  • Thijs Kinkhorst

    Thijs Kinkhorst - 2005-05-14

    Logged In: YES
    user_id=285765

    Can you help in resolving this bug? Please let me know.

     
  • Thijs Kinkhorst

    Thijs Kinkhorst - 2006-06-26

    Logged In: YES
    user_id=285765

    I've applied some fixes to the logic in 1.4.7-CVS and
    1.5.2-CVS recently. Can you check whether that resolved the
    problem?

     
  • Thijs Kinkhorst

    Thijs Kinkhorst - 2006-07-06

    Logged In: YES
    user_id=285765

    We've recently released 1.4.7 which includes fixes to
    address this problem. Can you confirm that this indeed fixed
    the bug? Please let us know. Thanks.

     
  • Thijs Kinkhorst

    Thijs Kinkhorst - 2006-07-25

    Logged In: YES
    user_id=285765

    I've applied a bug fix to current devel and stable CVS that
    allows one to configure the proto+hostname+port part of the
    base uri (optionally), so situations like this where that
    goes wrong can then be fixed by the administrator. I think
    we cannot further improve our heuristic because some things
    we just don't know.

     
  • Thijs Kinkhorst

    Thijs Kinkhorst - 2006-07-25
    • status: open --> closed-fixed
     

Log in to post a comment.