Re: mod_proxy with light and heavy httpd - questions

2007-09-24 Thread John ORourke
Perrin Harkins wrote: On 9/24/07, John ORourke <[EMAIL PROTECTED]> wrote: ProxyPreserveHost directive which preserves the HTTP Host header when passing the request on - am I right in thinking the docs need to be corrected, and this is no longer an issue? It's no longer an issue IF you'

Re: mod_proxy with light and heavy httpd - questions

2007-09-24 Thread Perrin Harkins
On 9/24/07, John ORourke <[EMAIL PROTECTED]> wrote: > 1. I was initially put off mod_proxy by the docs ( > http://perl.apache.org/docs/1.0/guide/strategy.html#Apache_s_mod_proxy ) > that say mod_proxy has a "difficult case is where you have DNS aliases > that map to the same IP address". I then fo

mod_proxy with light and heavy httpd - questions

2007-09-24 Thread John ORourke
Hi folks, I'm just implementing the usual light/heavy httpd setup with mod_proxy and mod_cache and have a couple of queries. The setup is simple - port 80 is my light httpd, serving static and nearly static content, using mod_cache and mod_proxy to send some requests to the heavy mod_perl engine

Question...

2007-09-24 Thread Tyler Bird
Hi List, I have a script that exports records templates from our system to .csv files. The thing is that if it run for over 80 seconds then the webserver seems to never send it to the browser. My algorithm builds all of the data into an internal string variable then sends all records at once a

Re: load large data

2007-09-24 Thread Frank Wiles
On Mon, 24 Sep 2007 06:08:45 -0400 [EMAIL PROTECTED] wrote: > Hello, > > I have a module,which loads large data into memory. > > my $data = Mymodule->new; > > this will take some ms to be finished. > > So I think I can create this object at startup time,and share the > $data acrosss all apache

Re: get user's request data

2007-09-24 Thread Frank Wiles
On Mon, 24 Sep 2007 16:22:00 +0800 "lists user" <[EMAIL PROTECTED]> wrote: > Rather than use Apache2::Request to get user's request data, > > $req = Apache2::Request->new($r); > @foo = $req->param("foo"); > > > how can I use pure mp2 methods to do it? thanks. Well you *could* jump th

Re: Problem with RequestRec and Headers

2007-09-24 Thread jk jk
Ended up modifying his Apache::Singleton::Request module to work with my app. Was really just a matter of getting rid of the MP1 code and changing the requestutils to requestrecs. In any case, everything finally works ( I think ). Thanks for all the help. I really appreciate it. --JAK On 9/24/

PerlResponseHandler + mod_jk

2007-09-24 Thread André Warnier
Context : Apache2, mod_perl2, Tomcat, mod_jk1.2 In an Apache2/Tomcat5 setup, I have the following configuration directives : # - URI's corresponding to calls to the X servlet are redirected to tomcat via the mod_jk module JkMount /xyz ajp13 JkMount /xyz/* ajp13 But, I woul

load large data

2007-09-24 Thread pennyyh
Hello, I have a module,which loads large data into memory. my $data = Mymodule->new; this will take some ms to be finished. So I think I can create this object at startup time,and share the $data acrosss all apache child processes. Is it possible?How can I do it? thank u.

Re: Problem with RequestRec and Headers

2007-09-24 Thread bharanee rathna
Yep, that's a bug perldoc Apache2::RequestUtil # get the global request object (requires PerlOptions +GlobalRequest) $r = Apache2::RequestUtil->request; which means u need GlobalRequest in apache config, which I'm not a big fan of. Better raise a bug in cpan rt for this module and get Tatsuh

get user's request data

2007-09-24 Thread lists user
Rather than use Apache2::Request to get user's request data, $req = Apache2::Request->new($r); @foo = $req->param("foo"); how can I use pure mp2 methods to do it? thanks.