What steps will reproduce the problem?
1. Create a default page index.cgi in the current mongoose directory with
the content.
#!c:\strawberry\perl\bin\perl
use CGI;
my $cgi = new CGI;
print $cgi->header();
print "Hello World\n";
2. Call the page in the browser without mentioning index.cgi(for eg
http://localhost:8080/). since index.cgi is the default page index.cgi file
should be executed and the output should be printed on the screen.
3. Do not create other default pages like index.html or index.htm
What is the expected output? What do you see instead?
"Hello world" should be printed on the screen. But it prints the content
of the file as it is. Instead of treating index.cgi as cgi file it treats
it as a text file.
What version of the product are you using? On what operating system?
2.3 on windows
Please provide any additional information below.
Mongoose is not treating index.cgi as a cgi file when it is the default page.
But works as expected when we call explicitly mentioning index.cgi in the
browser like http://localhost:8080/index.cgi
Original issue reported on code.google.com by vargh...@gmail.com on 14 Apr 2009 at 12:44
Original issue reported on code.google.com by
vargh...@gmail.com
on 14 Apr 2009 at 12:44