Using mod_perl in a non httpd environment
Using mod_perl in a non httpd environment
am 11.02.2009 12:47:30 von titetluc
--001636c5b0652d284a0462a32bb0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Hello all,
I wrote a mod_perl module managing FORM authentication (and a lot of other
things).
This module had to run on a platform (router) with a lot of memory/CPU.
These last days, our marketing team changed the platform definition (few
memory, cheap CPU) !!!!
In other words, apache/mod_perl/my_module will not be used as is on the new
platform.
My questions: is there a way to run mod_perl/my_module on an HTTP
server/reverse proxy other than apache ?
If so, what kind of HTTP server/reverse proxy ?
Thanks
--001636c5b0652d284a0462a32bb0
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hello all,
I wrote a mod_perl module managing FORM authentication (a=
nd a lot of other things).
This module had to run on a platform (router)=
with a lot of memory/CPU.
These last days, our marketing team changed t=
he platform definition (few memory, cheap CPU) !!!!
In other words, apache/mod_perl/my_module will not be used as is on the new=
platform.
My questions: is there a way to run mod_perl/my_module on=
an HTTP server/reverse proxy other than apache ?
If so, what kind of HT=
TP server/reverse proxy ?
Thanks
--001636c5b0652d284a0462a32bb0--
Re: Using mod_perl in a non httpd environment
am 11.02.2009 14:13:54 von mpeters
titetluc titetluc wrote:
> My questions: is there a way to run mod_perl/my_module on an HTTP
> server/reverse proxy other than apache ?
> If so, what kind of HTTP server/reverse proxy ?
mod_perl is an Apache module written to the Apache API. Like every other Apache module, it will only
work under Apache. The only exception would be if someone wrote a compatibility layer between some
other HTTP server and Apache, but that would almost certainly not save you any memory.
--
Michael Peters
Plus Three, LP
Re: Using mod_perl in a non httpd environment
am 11.02.2009 16:33:10 von JPengCA
In a message dated 2009-2-11 19:48:12 titetluc@gmail.com writes:
> My questions: is there a way to run mod_perl/my_module on an HTTP
server/reverse proxy other than >apache ?
>If so, what kind of HTTP server/reverse proxy ?
You can't run modperl modules on other httpds than Apache.
But for reverse-proxy and auth items you may consider to use Squid and the
customized redirectors.
J.
**************Nothing says I love you like flowers! Find a florist near you
now. (http://yellowpages.aol.com/search?query=florist&ncid=emlcnt usyelp00000001)
Re: Using mod_perl in a non httpd environment
am 11.02.2009 18:50:48 von Perrin Harkins
On Wed, Feb 11, 2009 at 6:47 AM, titetluc titetluc wrote:
> I wrote a mod_perl module managing FORM authentication (and a lot of other
> things).
> This module had to run on a platform (router) with a lot of memory/CPU.
> These last days, our marketing team changed the platform definition (few
> memory, cheap CPU) !!!!
How much? I've run mod_perl comfortably on machines that look pretty
small by today's standards.
> My questions: is there a way to run mod_perl/my_module on an HTTP
> server/reverse proxy other than apache ?
> If so, what kind of HTTP server/reverse proxy ?
Apache is a fast, small, and efficient HTTP server. It can run in
tiny amounts of RAM. Your problem here is Perl, which, like most
high-level languages, uses a lot of memory. If you have to work in a
really tight space, I'd suggest rewriting your module as an apache
module in C.
- Perrin