From: yeti at na-svyazi dot ru
Operating system: Win
PHP version: 5.2.4
PHP Bug Type: Unknown/Other Function
Bug description: mod_proxy + php5_module + URL â UTF-8 = HTTP 404
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/╤%84╤%84╤%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
--
Edit bug report at http://bugs.php.net/?id=42915&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=42915&r=trysnapshot44
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=42915&r=trysnapshot52
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=42915&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=42915&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=42915&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=42915&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=42915&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=42915&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=42915&r=support
Expected behavior: http://bugs.php.net/fix.php?id=42915&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=42915&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=42915&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=42915&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=42915&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=42915&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=42915&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=42915&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=42915&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=42915&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=42915&r=mysqlcfg