Catalyst test server with Lighttpd.
Catalyst's default build-in test server has many problems now. (IE redirection, performance, and etc..)
So I've created Catalyst::Helper::Lighttpd today.
This is a helper script to generate a server script that makes lighttpd as a catalyst test server.
After install this module, you can generate new lighty's test server by following command:
Then ./script/myapp_lighttpd.pl are created../script/myapp_create.pl Lighttpd
Usage of this myapp_lighttpd.pl is:
Usage:
myapp_lighttpd.pl [options]Options:
-? -help display this help and exits
-host host (defaults to all)
-p -port port (defaults to 3000)
-l -lighttpd lighttpd path (defaults to `which lighttpd`)
Almost same as myapp_server.pl (default server).
But if your lighttpd comamnd is not in PATH environment, you need to specify it by -l option.
Actually this script just boot lighttpd as no daemon mode, and the server boot myapp_fastcgi.pl internal.
Very simple, but useful (for me :)
Although I'm going to upload this helper to CPAN, but I hope that default build-in server would have this feature if it possible.
catalyst gurus: How about this? Or any ideas?