You are not logged in.
Pages: 1
OK, its going to be Perl cgi which I will use in my project and it shall run on lighttpd.
So far so good, I started to make this work on my test-vm.
While doing that I found a rather obvious mistake in the CGI section of the handbook:
# CGI module. You can install Perl and assign .pl and .cgi scripts
# to /usr/bin/perl
$HTTP["url"] =~ "/cgi-bin/" {
cgi.assign = (
".sh" => "/bin/sh",
".cgi" => "/usr/bin/perl,
".pl" => "/usr/bin/perl
)
}
SHOULD READ:
# CGI module. You can install Perl and assign .pl and .cgi scripts
# to /usr/bin/perl
$HTTP["url"] =~ "/cgi-bin/" {
cgi.assign = (
".sh" => "/bin/sh",
".cgi" => "/usr/bin/perl",
".pl" => "/usr/bin/perl"
)
}
(Missing the " at the end of the last two lines.)
Looks like the section directly below, for python CGI contains the same typo.
/emgi
Offline
Fixed
Offline
The speed of response here is always awesome. However, this one was merely to help others, the error message I got left no room for doubt. ;-)
With Cristmas coming up I hope to spend quite some time on this project.
Perl-CGI is already delivering its first responses.
Any hints for the best mailprogram I can use to send books to my kindle?
I'm curently looking at masqmail; mailx and pmail already more or less written off.
Merry Cristmas!
/emgi
Offline
Pages: 1
[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]