Martin Foster wrote:
> I'm trying to get my perl CGI scripts working under Windows with Cherokee
> (v0.5.4). I'm using the following config:
>
> DocumentRoot C:/docs/www
>
> Directory / {
> Handler common
> }
>
> Extension pl {
> Handler cgi
> }
>
> When I try to access a perl script, I get a "500 Internal Server
> Error" page, and "handler_cgi.c:706: CreateProcess error: error=193"
> appears on the console Cherokee is running in. I've looked up this
> error, and apparently it means "%1 is not a valid win32
> process". From this, and my brief study of the source, I'd guess
> Cherokee is trying to CreateProcess("C:/docs/www/foo.pl", ...) --
> that is, it's trying to run my perl script as if it were an EXE
> file!
>
> How do I tell Cherokee to run these scripts through the perl
> interpreter?
Try this out:
=======
Extension pl {
Handler cgi {
ScriptAlias c:/perl/perl.exe
}
}
=======
I haven't tried it, but it should work.
Good luck!
--
Greetings, alo.
http://www.alobbs.com
_______________________________________________
Cherokee mailing list
[email protected]
http://www.0x50.org/cgi-bin/mailman/listinfo/cherokee