ancruna / mongoose

Automatically exported from code.google.com/p/mongoose
MIT License
0 stars 0 forks source link

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

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by xavier.g...@gmail.com on 24 Jul 2014 at 12:02

GoogleCodeExporter commented 9 years ago
Version 3.x is not maintained.
Please use the latest one, 5.3

Original comment by valenok on 27 Jul 2014 at 1:41