Re: PHP 5.2.4 with Apache 2.2.6 => 302 rather than 200?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 13, 2007 at 10:26:12AM +0200, Laurent FAILLIE wrote:

> When I spoke about configuration, I means system
> configuration in general, not only Apache's one.

Hi Laurent,

You may well be right about "system configuration in general." Still, the
question is "What?" I've now confirmed that PHP 5.2.3 built against Apache
2.2.6 also produces an Apache/PHP that serves 302s rather than pages. So:

PHP         Built Against    Run With    Result

5.2.3       Apache 2.4.4     2.4.4       works
5.2.3       Apache 2.4.4     2.4.6       works
5.2.3       Apache 2.4.6     2.4.6       302
5.2.4       Apache 2.4.4     2.4.4       works
5.2.4       Apache 2.4.4     2.4.6       works
5.2.4       Apache 2.4.6     2.4.6       302

So there appears to be something about what PHP 5.2.(3|4) includes from
Apache 2.4.6, but not Apache 2.4.4, that results in a PHP module which
causes Apache to serve 302s rather than pages to every request. And your
experience narrows this down at least to a Linux issue, perhaps only a
Gentoo Linux issue, or perhaps only the specific configuration of Gentoo I'm
running - although in most respects it's a fairly standard Gentoo, with
current ebuilds for everything except Apache & PHP (since Gentoo's current
approach to Apache is, IMHO, a mess).

I've got a bug filed with php.net, since they're probably the most motivated
to help with this - although the bug is more specific to Apache version than
PHP version. If we can track it back to something about Gentoo, I'll file a
bug there. Since I'm not using Gentoo's Apache or PHP ebuilds, there's
nothing really to file it against at this point.

Whit

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux