Problem - Missing input data

2008-12-17 Thread mod_perl User
Hi !! I am facing problem in mod_perl2.0 while opening an handler Code as follows, my $r = Apache2::Request->new(shift, POST_MAX => 10 * 1024 * 1024);my $status = $r->parse(); Getting $status as 'Missing Input Data' Could you pls help me out!!! Thanks in advance!! __

Re: content_type in SSI- or directly-called mp2 scripts

2008-12-17 Thread Torsten Foertsch
On Wed 17 Dec 2008, cr...@animalhead.com wrote: > My mod_perl2 scripts mostly fall into 2 categories: > > 1) scripts that are called by URL location, and generate complete   > content-pages > 2) scripts that are called by SSI "include virtual" sequences   > in .html files, and generate part of a pa

Re: which reverse proxy for modperl?

2008-12-17 Thread Fred Moyer
On Fri, Dec 12, 2008 at 6:02 PM, Jeff Pang wrote: > Hello, > > I have a modperl application on a host which is running with heavy load. > I have the plan to put a reverse proxy before it. > There are two well known reverse proxy software, one is Squid, another is > nginx. > Which one is better for

Re: Problem - Missing input data

2008-12-17 Thread Fred Moyer
On Wed, Dec 17, 2008 at 12:33 AM, mod_perl User wrote: > Hi !! > I am facing problem in mod_perl2.0 while opening an handler > > Code as follows, > my $r = Apache2::Request->new(shift, POST_MAX => 10 * 1024 * 1024); > my $status = $r->parse(); > > Getting $status as 'Missing Input

Re: Problem - Missing input data

2008-12-17 Thread Torsten Foertsch
On Wed 17 Dec 2008, mod_perl User wrote: > I am facing problem in mod_perl2.0 while opening an handler > Code as follows,         my $r = Apache2::Request->new(shift, > POST_MAX => 10 * 1024 * 1024);        my $status = $r->parse(); > Getting $status as 'Missing Input Data' I am not an expert in

Re: which reverse proxy for modperl?

2008-12-17 Thread amiribarksdale
I was just grappling with this problem last week, and after trying out lighttpd, nginx, and varnish, I chose varnish. I too run one single mod-perl server, but it's sort of complicated, with file uploads and customizable pages and stuff. I found that neither lighttpd or nginx really allowed me to

Re: which reverse proxy for modperl?

2008-12-17 Thread amiribarksdale
Oh, one other wrinkle is ssl. I had to forgo proxying my ssl pages using nginx, varnish or lighttpd. In all three cases I had to make apache listen on my real IP address to port 443 for https from the internet, and only allow it to listen on localhost:8080 for whatever was sent from the reverse_pr

Re: which reverse proxy for modperl?

2008-12-17 Thread Frank Wiles
On Wed, 17 Dec 2008 10:46:53 -0800 (PST) amiribarksdale wrote: > > Oh, one other wrinkle is ssl. I had to forgo proxying my ssl pages > using nginx, varnish or lighttpd. In all three cases I had to make > apache listen on my real IP address to port 443 for https from the > internet, and only all

Re: which reverse proxy for modperl?

2008-12-17 Thread Kurt Hansen
Hi, amiribarksdale wrote: Oh, one other wrinkle is ssl. I had to forgo proxying my ssl pages using nginx, varnish or lighttpd. In all three cases I had to make apache listen on my real IP address to port 443 for https from the internet, and only allow it to listen on localhost:8080 for whatever

Re: which reverse proxy for modperl?

2008-12-17 Thread Frank Wiles
On Wed, 17 Dec 2008 14:10:21 -0500 Kurt Hansen wrote: > Hi, > > amiribarksdale wrote: > > Oh, one other wrinkle is ssl. I had to forgo proxying my ssl pages > > using nginx, varnish or lighttpd. In all three cases I had to make > > apache listen on my real IP address to port 443 for https from t

Re: which reverse proxy for modperl?

2008-12-17 Thread Kurt Hansen
Thanks, Frank! Good to know! Take care, Kurt Frank Wiles wrote: On Wed, 17 Dec 2008 14:10:21 -0500 Kurt Hansen wrote: Hi, amiribarksdale wrote: Oh, one other wrinkle is ssl. I had to forgo proxying my ssl pages using nginx, varnish or lighttpd. In all three cases I had to make a

Re: which reverse proxy for modperl?

2008-12-17 Thread Frank Wiles
On Wed, 17 Dec 2008 11:08:01 +0100 (CET) Jeff Pang wrote: > Thanks for all the kind info and replying. > When you use reverse proxy, do you generally have more than one > modperl backend servers? In my case, I have only one modperl server. > When I put a reverse-proxy in front of it, will it impr

Re: which reverse proxy for modperl?

2008-12-17 Thread Jeff Pang
Thanks for all the kind info and replying. When you use reverse proxy, do you generally have more than one modperl backend servers? In my case, I have only one modperl server. When I put a reverse-proxy in front of it, will it improve the performance? Thanks. > On Fri, Dec 12, 2008 at 6:02 PM

Re: which reverse proxy for modperl?

2008-12-17 Thread David Nicol
ldirectord will load-balance any number of back-ends; state has to be maintained on all of them the same though

Mason Error

2008-12-17 Thread db
I have Apache/2.0.52, and HTML::Mason::ApacheHandler VERSION = 1.69. Http server can be started without error, but web page will show following error: ~~ mkdir /etc/httpd/mason/obj/: Permission denied at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Compiler/ToObject.pm line 107 ~~

Re: which reverse proxy for modperl?

2008-12-17 Thread Jeff Pang
> Message du 17/12/08 21:54 > De : "David Nicol" > ldirectord will load-balance any number of back-ends; state has to be > maintained on all of them the same though > Yup, ldirectord (a scheduler for LVS) is right for load-balancing. But it is only a tcp-header-rewrite (or so called NAT or rever

Re: Mason Error

2008-12-17 Thread Felipe de Jesús Molina Bravo
2008/12/17 db > I have Apache/2.0.52, and HTML::Mason::ApacheHandler VERSION = 1.69. > Http server can be started without error, but web page will show > following error: > > ~~ > mkdir /etc/httpd/mason/obj/: Permission denied at > /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Compiler/To