ID:               35199
 Updated by:       [EMAIL PROTECTED]
 Reported By:      choover at rdg dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Apache2 related
 Operating System: Linux  2.6.9-22.0.1
 PHP Version:      4.4.1
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip




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

[2005-11-12 15:12:55] choover at rdg dot com

Description:
------------
A script under Apache2 using PHP 4.3.11 as an Apache 2 Handler that was
called from a .htaccess file using the AddHandler and Action statements
worked fine.  The 4.4.1 version of PHP with the same configuration no
longer executes the page and gives no errors.  We changed the php.ini
with cgi.fix_pathinfo=1 and made the appropriate modifications to
httpd.conf to fix the issue.  Still no luck.  

Reproduce code:
---------------
#.htaccess file
Addtype text/xml .phpx
AddHandler phpx-file-handler .phpx
Action phpx-file-handler /lib/phpx.php
DirectoryIndex index.phpx index.php



Create the phpx.php file:

<?

session_start();

echo "Passed Path :".$_SERVER["PATH_INFO"];

session_write_close();
?> 


Create a file with .phpx as extension:

<?xml version="1.0"?>
<Document>
</Document>

Expected result:
----------------
This url represents the expected
result:http://emd11.medianext.com/quango/websites/rdg/index.phpx

Apache redirects the .phpx file to the /lib/phpx.php page for
processing and outputs results.

Actual result:
--------------
This is the non-working one:
http://quangoweb.medianext.com/websites/rdg/index.phpx

There are NO errors in our logs:

/var/log/httpd/error_log
/var/log/error_php

And no $_SERVER variables are being set on the phpx.php page. However,
calling the page by itself:

http://quangoweb.medianext.com/lib/phpx.php

Show that it does run.


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


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

Reply via email to