php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10075 Exta path information beyond the PHP script won't work with CGI
Submitted: 2001-03-30 00:25 UTC Modified: 2002-05-30 07:19 UTC
Votes:3
Avg. Score:5.0 ± 0.0
Reproduced:3 of 3 (100.0%)
Same Version:1 (33.3%)
Same OS:2 (66.7%)
From: brett at mad dot scientist dot com Assigned:
Status: Not a bug Package: Apache related
PHP Version: 4.0.4pl1 OS: Win32, Linux, probably any
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: brett at mad dot scientist dot com
New email:
PHP Version: OS:

 

 [2001-03-30 00:25 UTC] brett at mad dot scientist dot com
In CGI mode calling a php script (playlist.php in example below) causes a 500 internal server error.

Calling this URL:
http://www.server.com/playlist.php/mylist.m3u?id=7
Causes a 500 error in CGI mode.  However, as a module PHP accepts this just fine.

Also note that calling the URL like this:
http://www.server.com/playlist.php?id=7
does NOT give this error.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-26 07:18 UTC] a dot vanefferen at mediacom4 dot nl
Same problem on different platform:

-Win2k Server
-IIS5
-PHP as a CGI
-PHP 4.1.1
 [2002-05-30 07:19 UTC] edink@php.net
This is a limitation of the CGI interface. If you need this functionality, use PHP as a module.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 22:01:28 2024 UTC