|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21884 enable-force-cgi-redirect doesnot work
Submitted: 2003-01-26 02:37 UTC Modified: 2003-02-14 08:35 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: kosmas at incredible dot com Assigned:
Status: Closed Package: Apache related
PHP Version: 4.3.0 OS: BSD/OS
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: kosmas at incredible dot com
New email:
PHP Version: OS:


 [2003-01-26 02:37 UTC] kosmas at incredible dot com
I use PHP as CGI with Apache 1.3.27. I compiled PHP 
with --safe-mode and --enable-force-cgi-redirect (minimal config to verify the problem).

When I access php like the 
"enable-force-cgi-redirect" works fine BUT when I aceess and test.php does NOT exist I get
"No input file specified" and of course you may then pass parameters and the rest is known. ie returns the password file.

In exactly the same setups I never had problems with prior versions of PHP.
Also in the virual hosts in apache conf I have:
ScriptAlias /cgi-bin/ /home/domain/cgi-bin/

but this was always like this. The same compilation with 
PHP 4.3 RC2 and before and there was no problem

Thank you in advance

Kosmas Skiadopoulos


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-02-14 08:35 UTC]
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at
In case this was a documentation problem, the fix will show up soon at

In case this was a website problem, the change will show
up on the site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Feb 26 11:01:28 2024 UTC