Jens K�rner wrote:
> I added a dot before pl => Extension .pl
> Well the good news is that I don't get no more errors. The bad news is
> that the browser shows the content of that .pl script I'm pointing to
> instead of executing it.
Take a look at this example:
/var/www/test.pl:
====
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "<h1>Hello, world!</h1>";
====
Relevant configuration:
====
Extension pl {
Handler cgi
}
Directory / {
Handler common
}
====
The test:
====
$ wget -q -s -O - http://localhost/test.pl
HTTP/1.0 200 OK
Connection: Close
Date: Thu, 26 May 2005 11:43:55 GMT
Server: Cherokee/0.4.24b01 (UNIX)
Content-type: text/html
<h1>Hello, world!</h1>
====
--
Greetings, alo.
http://www.alobbs.com
_______________________________________________
Cherokee mailing list
[email protected]
http://www.alobbs.com/cgi-bin/mailman/listinfo/cherokee