You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by dbadhani <db...@yahoo.com> on 2009/08/25 21:00:48 UTC

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.


Re: portability of mod_perl for other web servers/apps

Posted by dbadhani <db...@yahoo.com>.
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<db...@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.


Re: portability of mod_perl for other web servers/apps

Posted by Perrin Harkins <ph...@gmail.com>.
On Tue, Aug 25, 2009 at 3:00 PM, dbadhani<db...@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