Alvaro Lopez Ortega <alvaro <at> alobbs.com> writes:
>
> Eoin Hennessy wrote, On 04/07/07 16:37:
>
> > Extension pl {
> > Handler cgi
> > }
> >
> > I'm getting a 500 response from the server when it's pointed at any
> > perl. I've done some tracing in the CGI handler code and it seems to
> > me that Cherokee is attempting the execute the script directly instead
> > of pushing it through the interpreter specified by the script (i.e.
> > "#!/usr/bin/perl).
>
> Is it executable? Does it work if you execute it from a terminal?
>
> > Is this correct behaviour? Is it possible to execute interpreted
> > scripts via the CGI handler?
>
> Yes; "ScriptAlias" would do that for you.
>
I have tried
Extension pl {
Handler cgi {
Scriptalias /opt/bin/perl
}
}
but I just get the pl file downloading to the client.
Any ideas ?
_______________________________________________
Cherokee mailing list
[email protected]
http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee