ID:               41817
 Updated by:       [EMAIL PROTECTED]
 Reported By:      progcom at gmail dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         CGI related
 Operating System: FreeBSD
 PHP Version:      5CVS-2007-06-27 (CVS)
 Assigned To:      dmitry
 New Comment:

And you're absolutely sure your scripts point to the right binary?
(it was renamed to be php-cgi in 5.2.3)


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

[2007-06-28 10:30:56] progcom at gmail dot com

Yes, I use apache 2.2.4 with mod_fastcgi 2.4.2, setup by FreeBSD ports.
Here is my httpd.conf:

FastCgiServer /usr/local/www/php-bin/php-cgi
Alias /php-bin /usr/lcal/www/php-bin
Action php-fastcgi /php-bin/php-cgi
AddHandler php-fastcgi .php
AddType application/x-httpd-php .php

<Location /php-bin>
  SetHandler php-fastcgi
</Location>

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

[2007-06-28 10:09:29] [EMAIL PROTECTED]

I was never able to reproduce this trailing slash problem.

Do you user apache with mod_fastcgi or something else?
Could you provide your FasrtCGI configuration?

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

[2007-06-27 04:55:31] progcom at gmail dot com

Description:
------------
This is same bug as #40419, so I tried CVS version, but problem is
still occured.

Request with trailing slash, PHP doen't set any PATH_INFO or
PATH_TRANSLATED.


Reproduce code:
---------------
http://www.foo.com/bar.php/


Expected result:
----------------
$_SERVER['PATH_INFO'] = "/"
$_SERVER['PATH_TRANSLATED'] = "/blahblah/bar.php/"

Actual result:
--------------
$_SERVER['PATH_INFO'] = NULL
$_SERVER['PATH_TRANSLATED'] = NULL


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


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

Reply via email to