Re: [SM-USERS] 404 after sending mail

2010-01-24 Thread Paul Lesniewski
On Fri, Jan 22, 2010 at 1:23 PM, bob.33 wrote: > > > 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: >> >> #

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 removed for brevity by bob.33 > >

Re: [SM-USERS] 404 after sending mail

2010-01-21 Thread Paul Lesniewski
On Wed, Jan 20, 2010 at 2:16 PM, bob.33 wrote: > > > 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))

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-20 Thread Paul Lesniewski
Please be careful of your quoting. This was very hard to read. >> 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

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-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-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 detected as" and make sure that > it matches address dis

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-18 Thread Tomas Kuliavas
bob.33 wrote: > > > 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 secu

Re: [SM-USERS] 404 after sending mail

2010-01-18 Thread Tomas Kuliavas
bob.33 wrote: > > > 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 detected as" and make sure

Re: [SM-USERS] 404 after sending mail

2010-01-18 Thread Tomas Kuliavas
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 detected as" and make sure that it matches address displayed in browser's address bar. If you

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-17 Thread Tomas Kuliavas
bob.33 wrote: > > i'm seeing these 404 errors with the following setup: > > squirrelmail-1.4.19 > dovecot-1.2.8 > exim-4.71 > php 5.2.10 > > links in squirrelmail continously add more "src/" into the url such that > you might end up with a link such as > > http://mail.example.com/src/src/src

Re: [SM-USERS] 404 after sending mail

2007-10-10 Thread Paul Lesniewski
On 10/9/07, Jürgen Knelangen <[EMAIL PROTECTED]> wrote: > 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. > > This appears in the apache log: > 1.2.3.4 - - [09/Oct/2007:10:02:10 +0200] "GET /etc

Re: [SM-USERS] 404 after sending mail

2007-10-10 Thread Jürgen Knelangen
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. > > This appears in the apache log: > 1.2.3.4 - - [09/Oct/2007:10:02:10 +0200] "GET /etc/squirrelmail//squirrelmail/

[SM-USERS] 404 after sending mail

2007-10-09 Thread Jürgen Knelangen
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. This appears in the apache log: 1.2.3.4 - - [09/Oct/2007:10:02:10 +0200] "GET /etc/squirrelmail//squirrelmail/ src/right_main.php?mailbox=INBOX&sort=0