ID:               22222
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         Apache2 related
 Operating System: Win32
 PHP Version:      4.3.0
 New Comment:

I did a little mistake in the description nothing on the topic
<VirtualHost mycomputer.local:80>
        DocumentRoot "D:/CVSCheckout/project"
        ServerName mycomputer.local
        RewriteEngine On
        RewriteRule ^/.*\.xml /system/if/xmlfile.if.php
</VirtualHost>


Previous Comments:
------------------------------------------------------------------------

[2003-02-14 07:25:51] [EMAIL PROTECTED]

Hello,

I have a problem with a different behaviour of Apache / Apache2
Two configuration:
- Apache 1.3.27 / PHP 4.3 / Win32
- Apache 2.0.44 / PHP 4.3 / Win32

with more or less the same httpd.conf configuration file (here the part
which make troubles):
...
<VirtualHost io:80>
        DocumentRoot "D:/CVSCheckout/project"
        ServerName mycomputer.local
        RewriteEngine On
        RewriteRule ^/.*\.xml /system/if/xmlfile.if.php
</VirtualHost>
....
Both configuration should rewrite all .xml files to a central file,
which load the xml file and output the parsed xml code in a format
(i.e. HTML, PDF, Flash, ...).

No problem till I update the system to apache 2.0.44. Since then I get
a "400 Bad Request" Error (IE, Mozilla). I test a while and solve the
problem with this line: 
        RewriteRule ^/.*\.xml /system/if/xmlfile.if.php [PT]
but now all script variables like SCRIPT_NAME, etc. changes due to the
other way of rewrite.

Ok, I could do a nasty workaround, but I hate to do this due to a bug.

I know it's perhaps not a php Bug (at least I think so) but it
influence the normal php script behaviour a lot. Perhaps one of the PHP
and Apache developer could solve the problem

cu

Thomas Thiery

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=22222&edit=1

Reply via email to