Re: [SM-USERS] 404 after sending mail

2010-01-18 Thread bob.33
>Jürgen Knelangen schrieb: >> Hi all! >> >> After sending an email with squirrelmail i get a 404. Nevertheless the >> mail is >> sent and when i reload the page i return to the inbox view. >> > >Okay. Fixed. > >Seemed to be a cookie problem. >get_location() returned a wrong path. After deleting

Re: [SM-USERS] 404 after sending mail

2010-01-19 Thread bob.33
Tomas Kuliavas wrote: > > > Please provide more information about your web service setup and > SquirrelMail location configuration. > > 1. Do you use some proxy, forwarder, mod_rewrite hacks or some > non-standard port configuration? > 2. Did you test SquirrelMail configuration with configtes

Re: [SM-USERS] 404 after sending mail

2010-01-19 Thread bob.33
Tomas Kuliavas wrote: > > > bob.33 wrote: >> >> 2. configtest.php has no complaints and says, "looks fine to me!" >> > You look at the wrong part of page. Location base test involves human. You > must check text written after "Base URL detec

Re: [SM-USERS] 404 after sending mail

2010-01-19 Thread bob.33
Tomas Kuliavas wrote: > > > Let's start by finding why autodetection fails. Looks like PHP_SELF is > missing. PHP upgrade should not change things. I don't see any similar > things in changelog. It might be one of FastCGI setup differences or some > SquirrelMail security updates corrupt PHP_SEL

Re: [SM-USERS] 404 after sending mail

2010-01-20 Thread bob.33
Tomas Kuliavas wrote: > Could you check http://mail.example.org/src/test.php?test and see if > REQUEST_URI includes '?test' part?If you want you could try upgrading your > PHP setup in desperate hope than newer version adds PHP_SELF variable. > Correct fix is to make SquirrelMail use REQUEST_URI,

Re: [SM-USERS] 404 after sending mail

2010-01-21 Thread bob.33
Paul Lesniewski wrote: > > If you just want to paste in the new > php_self() function in functions/strings.php, here it is: > > function php_self () { > if (sqgetGlobalVar('PHP_SELF', $php_self, SQ_SERVER) > && !empty($php_self)) { > if (sqgetGlobalVar('QUERY_STRING', $query_st

Re: [SM-USERS] 404 after sending mail

2010-01-24 Thread bob.33
Paul Lesniewski wrote: > > Thanks for being so helpful. I have slightly rewritten this function, > and although the ultimate functionality should be identical, it'd be > good to have other people test it. Do you mind? Here it is: > > # most non-coding lines remove