in reply to Re^2: setting lighttpd/fcgi/perl ?
in thread setting lighttpd/fcgi/perl ?
from what I understand you set handler() function in a module to do the job.
That is the default, you can change it with the handler_method constructor option. (NOTE: this was broke in any pre-0.03 release)
How do you normally do url-2->method dispatching ?
Usually the web framework I am using will take care of this (Catalyst, CGI::Application, etc). FCGI::Engine is simply about managing FCGI details for you, this kind of stuff is outside of the scope of this module.
and one more thing if I don't specify bin-path config option in lighttpd config then I have to start this handler-script separately with some options (and this is what they call in lighty docs runnging fcgi as external-fcgi-server), right ?
Yes, take a look at FCGI::Engine::Manager for a simple way to do this, the docs are still a little slim but if you look at the "020_basic_manager.t" test file and the contents of t/conf/ and t/scripts/ you will see how it is configured.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: setting lighttpd/fcgi/perl ?
by rootcho (Pilgrim) on Feb 04, 2008 at 19:12 UTC | |
by stvn (Monsignor) on Feb 04, 2008 at 19:24 UTC |