php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #42915 mod_proxy + php5_module + URL ? UTF-8 = HTTP 404
Submitted: 2007-10-10 12:08 UTC Modified: 2008-03-26 12:58 UTC
Votes:4
Avg. Score:4.8 ± 0.4
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: yeti at na-svyazi dot ru Assigned: fb-req-jani (profile)
Status: Not a bug Package: Apache related
PHP Version: 5.2.4 OS: Win
Private report: No CVE-ID: None
 [2007-10-10 12:08 UTC] yeti at na-svyazi dot ru
Description:
------------
>>>httpd.conf
LoadModule php5_module "C:/SOFT/PHP524/php5apache.dll
PHPIniDir "C:/SOFT/PHP524/"

<Location /demo> 
    ProxyPass http://iis/demo 
    ProxyPassReverse http://iis/demo 
</Location>

---
in browser:
http://apache/demo/???.txt

browser send to apache:
GET /demo/%D1%84%D1%84%D1%84.txt

apache send to iis:80 :
GET /demo/&#9572;%84&#9572;%84&#9572;%84.txt

(i.e. %D1 convert to chr(0xd1))

if php5_module is not loaded apache send to iis:80 :
GET /demo/%D1%84%D1%84%D1%84.txt

tested on: Apache 1.3.39, 2.0.59, 2.2.6 & PHP 5.2.4, 5.0.5, 4.4.6


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-03-26 12:58 UTC] jani@php.net
And how is this a _PHP_ bug?
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 11:01:29 2024 UTC