SliTaz SliTaz Forum

You are not logged in.

#1 2012-12-24 15:51:06

emgi
Member
Registered: 2012-12-17
Posts: 127

Typo in handbook

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

#2 2012-12-24 16:53:22

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Typo in handbook

Fixed

Offline

#3 2012-12-24 17:49:47

emgi
Member
Registered: 2012-12-17
Posts: 127

Re: Typo in handbook

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

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]