php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38987 isapi_fcgi.dll has problems with search engine friendly paths
Submitted: 2006-09-28 21:33 UTC Modified: 2006-09-29 02:07 UTC
From: randy at rcs-comp dot com Assigned:
Status: Not a bug Package: IIS related
PHP Version: 5.2.0RC4 OS: Win XP
Private report: No CVE-ID: None
 [2006-09-28 21:33 UTC] randy at rcs-comp dot com
Description:
------------
I am using the code (and dll) from here:

http://msmvps.com/blogs/guilherme/archive/2006/02/02/82336.aspx

on a Windows XP machine with IIS 5.1.

It runs well, except for one problem.  I use the PATH_INFO information to run scripts that are search engine friendly.  So, I can have a path like this:

http://www.example.com/index.php/view/News-Main

Which works fine.  I can also pass other variables like this:

http://www.example.com/index.php/view/News-Main/article/hi_there

Which also works fine.  However, I have a content module that uses urls like this:

http://www.example.com/index.php/view/Content-Main/page/index.html

Which gives me the following error:

Error initializing bind path for 
index.php/view/Content-Main/page/index.html

I see in CVS that there have been some changes in this area (I guess this error would have crashed the server before?).  Is there a configuration or something that I can change to make this work?  I don't understand why it is happening?

There is no problem with this when I use php directly and bypass isapi_fcgi.dll.

Thanks.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-09-28 22:19 UTC] tony2001@php.net
>I see in CVS that there have been some changes in this area 
What do you mean?

>Is there a configuration or something that I can change to make this work?
The error message comes from IIS, not PHP, so I have serious doubts we can help you.
 [2006-09-28 22:27 UTC] randy at rcs-comp dot com
Actually, the error comes from the isapi_fcgi.dll module I believe:

http://viewcvs.php.net/viewvc.cgi/fastcgi-isapi/isapi_fcgi/isapi_fcgi.cpp?revision=1.3&view=markup

Also, there is another bug dealing with this module that makes me think that PHP developers are working on this module?  Here is the reference:

http://bugs.php.net/bug.php?id=37448

(The bug is not necessarily related to mine though, just both being caused by isapi_fcgi.dll)
 [2006-09-28 22:55 UTC] tony2001@php.net
Please report issues related to PECL projects to PECL bug tracker.
 [2006-09-29 02:07 UTC] randy at rcs-comp dot com
Can you please tell me how this is related to PECL?  I have looked through the PECL packages and do not find this project listed.  In addition, the package itself is outside the PECL folder in CVS.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 14:01:28 2024 UTC