#31594 [Opn->NoF]: virtual(): Unable to include 'xxx' - error finding URI

From: Date: Mon, 06 Jun 2005 18:01:05 +0000
Subject: #31594 [Opn->NoF]: virtual(): Unable to include 'xxx' - error finding URI
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-79969@lists.php.net to get a copy of this message
ID: 31594 Updated by: derick@php.net Reported By: per at computer dot org -Status: Open +Status: No Feedback Bug Type: Apache2 related Operating System: linux 2.4.26 PHP Version: 5.0.4, 4.3.11 New Comment: Well, obviously we can't remove set_locale. Previous Comments: ------------------------------------------------------------------------ [2005-06-06 19:58:43] per at computer dot org Also, I must point out that it worked perfectly well in 4.3.8, so something was quite obviously regressed. ------------------------------------------------------------------------ [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] jorton@php.net 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. ------------------------------------------------------------------------ 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

« previous php.bugs (#79969) next »