natebot13 / mongoose

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

Problems running php from a relative path #390

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have the following configuration.

cgi_interpreter php-cgi.exe
document_root www

Placing a php file in the www folder and trying to run it does not work and 
produces "No input file specified."

Changing the document root to the absolute path
document_root C:/mongoose/www

Works as expected and the file executes normally. This is true both in 
mongoose-3.3.exe and mongoose_3.4.Oct24.exe.

It also works if the following configuration is used, but only in the root 
document directory
document_root .

Attempting to navigate to localhost:8080/www also causes the "No input file 
specified." error.

I am remaking this issue, since the older issues are not actually fixed. Please 
fix this problem. Since mongoose is an otherwise awesome webserver.

Original issue reported on code.google.com by chase...@gmail.com on 19 Dec 2012 at 7:08

GoogleCodeExporter commented 9 years ago
Submitted 
https://github.com/valenok/mongoose/commit/2e6a01b931b8c99a1c2f9a27e681f8277470c
af9
Please build from the recent git and verify.
Thank you!

Original comment by valenok on 22 Dec 2012 at 6:25