portability of mod_perl for other web servers/apps

Hi Gurus,

I recently started exploring mod_perl, and am really impressed with the
flexibility this can provide for Apache.

This may sound far fetched, but has anyone tried porting mod_perl for web
servers other than Apache. I understand this is developed as a module for
Apache, and integrates tightly with it, after all its an Apache module. But
looking at the flexibility it offers, I was wondering if anyone thought of
extending it for other servers.

Basically, I am looking for integrating some of mod_perl functionality in
some high performance middleware, basically to provide a way to customized,
"scriptable" request processing in the request processing engine.

Thanks,
Deven




--
View this message in context: http://www.nabble.com/portability-of-mod_perl-for-other-web- servers-apps-tp25140259p25140259.html
Sent from the mod_perl - General mailing list archive at Nabble.com.
dbadhani [ Di, 25 August 2009 21:00 ] [ ID #2013376 ]

Re: portability of mod_perl for other web servers/apps

On Tue, Aug 25, 2009 at 3:00 PM, dbadhani<dbadhani [at] yahoo.com> wrote:
> This may sound far fetched, but has anyone tried porting mod_perl for web
> servers other than Apache.

No, and it wouldn't really work. A generic approach to running
persistent code already exists in the form of FastCGI. The rest of
mod_perl is a perl interface to the Apache API, which makes it
unsuitable for other web servers.

> Basically, I am looking for integrating some of mod_perl functionality in
> some high performance middleware, basically to provide a way to customized,
> "scriptable" request processing in the request processing engine.

You could look at FastCGI, or embedding perl directly.

- Perrin
Perrin Harkins [ Mi, 26 August 2009 16:06 ] [ ID #2013595 ]

Re: portability of mod_perl for other web servers/apps

Thanks Perrin. I will take a look at FastCGI.

Its just that mod_perl provides all the http infrastructure so neatly, its
very tempting to consider emulating Apache and reuse mod_perl. But I see
your point.

regards,
Deven



Perrin Harkins-3 wrote:
>
> On Tue, Aug 25, 2009 at 3:00 PM, dbadhani<dbadhani [at] yahoo.com> wrote:
>> This may sound far fetched, but has anyone tried porting mod_perl for web
>> servers other than Apache.
>
> No, and it wouldn't really work. A generic approach to running
> persistent code already exists in the form of FastCGI. The rest of
> mod_perl is a perl interface to the Apache API, which makes it
> unsuitable for other web servers.
>
>> Basically, I am looking for integrating some of mod_perl functionality in
>> some high performance middleware, basically to provide a way to
>> customized,
>> "scriptable" request processing in the request processing engine.
>
> You could look at FastCGI, or embedding perl directly.
>
> - Perrin
>
>

--
View this message in context: http://www.nabble.com/portability-of-mod_perl-for-other-web- servers-apps-tp25140259p25155493.html
Sent from the mod_perl - General mailing list archive at Nabble.com.
dbadhani [ Mi, 26 August 2009 21:39 ] [ ID #2013613 ]
Webserver » gmane.comp.apache.mod-perl » portability of mod_perl for other web servers/apps

Vorheriges Thema: mod_perl on win32
Nächstes Thema: mod_perl2 interactive startup