Export to GitHub

mongoose - issue #408

Still not smart about urls containing cgi script and more elements after script in the url


Posted on Jul 24, 2014 by Happy Bear

What steps will reproduce the problem? 1. set up mongoose + php cgi 2. create a index.php containing e.g <?php phpinfo(); ?> 3. go to http://localhost:8080/index.php and see expected output 3. go to http://localhost:8080/index.php/foo and see UNEXPECTED output 4. go to http://localhost:8080/index.php/foo/bar and see UNEXPECTED output as follows :

What is the expected output? execution of php script with server env vars set as follow: SCRIPT_NAME=/index.php

What do you see instead? execution of php script with server env vars set as follow: for /index.php/foo: SCRIPT_NAME=/index.php/index.php for /index.php/foo/bar: SCRIPT_NAME=/index.php/foo/index.php

What version of the product are you using? On what operating system? v3.9b, embedded into PHPDesktop software, on Windows distrib.

Comment #1

Posted on Jul 27, 2014 by Massive Horse

Version 3.x is not maintained. Please use the latest one, 5.3

Status: WontFix

Labels:
Type-Defect Priority-Medium