joswa / mongoose

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

fix documentation #275

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
please add following to manual:

-mongoose document_root MUST be absolute. relative paths work for static
 content, but for CGI stuff it will break.
-the document_root MUST NOT have quotes. it will error on quotes
-the cgi_interpreter MUST have quotes. it will not work without quotes
-the cgi_extensions list MUST NOT have quotes. it will not work with
 quotes, even though the manual shows quotes
-cgi batch files are broken so don't try it

Example working mongoose.conf:

error_log_file www\log.txt
listening_ports 8000
document_root C:\peon\mongoose\www
cgi_extensions php
cgi_interpreter "C:\peon\php-5.3.7\php-cgi.exe"

Original issue reported on code.google.com by peon1...@gmail.com on 18 Aug 2011 at 4:15

GoogleCodeExporter commented 9 years ago
This is really help. Thank you so much! I guess the manual is too old and need 
more details. It reads like a magic book and I tried everything I can through 
the manual still can't get it to work.

Original comment by Michael....@gmail.com on 19 Oct 2011 at 2:24

GoogleCodeExporter commented 9 years ago
I have the same problem,I hope fix this bugs,Thanks!

Original comment by jingp...@gmail.com on 1 Mar 2012 at 9:21

GoogleCodeExporter commented 9 years ago
This is fixed. Both document_root and cgi interpreter could be relative.
Please verify.

Original comment by valenok on 22 Sep 2012 at 8:27

GoogleCodeExporter commented 9 years ago
Using the distributed mongoose-3.3.exe or mongoose_3.4.Oct24.exe on Win7-x64, 
the document_root still does not seem to work with relative paths.

Without specifying any document_root, I can execute php pages in same path as 
mongoose, but when hitting a PHP file in any subdirectory I get "No input file 
specified".  The only way I can get php-cgi to work every where is to specify 
an absolute path for document_root in mongoose.conf. 

Original comment by j...@jgstechnical.com on 9 Dec 2012 at 11:22

GoogleCodeExporter commented 9 years ago
Please try out the head version.

Original comment by valenok on 23 Dec 2012 at 12:47

GoogleCodeExporter commented 9 years ago
Verified that the released mongoose-3.4.exe works as expected. Excellent piece 
of software. Thanks.

Original comment by j...@jgstechnical.com on 7 Jan 2013 at 9:08