ID: 31594
User updated by: per at computer dot org
Reported By: per at computer dot org
Status: Open
Bug Type: Apache2 related
Operating System: linux 2.4.26
PHP Version: 5.0.4, 4.3.11
New Comment:
Also, I must point out that it worked perfectly well in 4.3.8, so
something was quite obviously regressed.
Previous Comments:
------------------------------------------------------------------------
[2005-06-06 19:57:20] per at computer dot org
If the answer is "don't do that", what is the setlocale() doing in php
in the first place? If it doesn't work, setlocale() should be
_disabled_ when used under Apache (but perhaps not in CLI mode).
------------------------------------------------------------------------
[2005-06-06 17:41:47] [EMAIL PROTECTED]
I can reproduce this only with the setlocale call enabled, and see a
"no acceptable variant" error in error_log. Locale settings are
process-global and changing them are quite likely to break other Apache
modules doing e.g. case-sensitive string comparisons. So, I think the
resolution for this bug should be simply "don't do that".
------------------------------------------------------------------------
[2005-04-16 08:59:31] per at computer dot org
Just checked with 4.3.11 - problem is still there.
------------------------------------------------------------------------
[2005-01-23 10:23:46] per at computer dot org
It's content negotiation. You need mod_negotiation and "Options
+Multiviews" for the directory.
I've just tried turning off Multiviews and virtual() then produces
"Warning: virtual(): Unable to include 'part1' - request execution
failed in " as expected.
------------------------------------------------------------------------
[2005-01-22 15:14:20] [EMAIL PROTECTED]
How exactly do I have to configure Apache2 to be able to use virtual()
without the .php (or like you do, without .phtml) suffix??
Apart from that, when I change the parameter to virtual to be correct,
your example works just fine with latest CVS checkout regardless of
what locale is in use..
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/31594
--
Edit this bug report at http://bugs.php.net/?id=31594&edit=1