I'm trying to port a preexisting CGI app to mod_perl2 and could use some
help.
Here goes a test case that should illustrate my problem:
The code pasted below loads the page properly the first time it's accessed.
However, upon multiple reloads in firefox, the headers either disappear
altogether or
I should have also noted that I'm using ModPerl2, Apache2, It's running
under Registry, and keep-alive if off. Thanks again. --JAK
On 9/21/07, jk jk <[EMAIL PROTECTED]> wrote:
>
> I'm trying to port a preexisting CGI app to mod_perl2 and could use some
> help.
As a Registry script, it does get it. I've made sure of that by using
Data::Dumper to take a look.
Thanks. --JAK
On 9/22/07, André Warnier <[EMAIL PROTECTED]> wrote:
>
> jk jk wrote:
> [..]
> >> my $r = shift;
>
> One of the brighter lights on this list cor
Welp, changing over to ModPerl::RegistryPrefork did the trick. Thanks for
the advice. I really appreciate it. --JAK
On 9/22/07, jk jk <[EMAIL PROTECTED]> wrote:
>
> My question would then be, in which situation would I be using an old one
> on a later request? I suspect this
I spoke too soon. While the header issue appears to be resolved, a new one
has surfaced. The first 20 or so reloads (the number of spare servers?) are
ok, but after that nothing loads in the browser and the error pasted below
appears in the error_log. Any ideas? Thanks. --JAK
. Please
explain your reasoning. Thanks. --JAK
On 9/23/07, Philippe M. Chiasson <[EMAIL PROTECTED]> wrote:
>
> jk jk wrote:
> > I'm trying to port a preexisting CGI app to mod_perl2 and could use some
> > help.
> >
> > Here goes a test case that should illustrate
I've been trying to use Apache::Singleton::Request under the assumption that
you're right about Class::Singleton being the crux of the issue.
Unfortunately, I can't get it working under Apache2. Is there a different
module for mp2/apache2 ? Thanks for your patience. --JAK
On
:
>
> On 9/23/07, jk jk <[EMAIL PROTECTED]> wrote:
> > I've been trying to use Apache::Singleton::Request under the assumption
> that
> > you're right about Class::Singleton being the crux of the issue.
> > Unfortunately, I can't get it working u
he::Singleton works for MP2, also it does both per request and
> per process singletons.
>
>
> On 9/24/07, jk jk < [EMAIL PROTECTED]> wrote:
> >
> > I've been trying to use Apache::Singleton::Request under the assumption
> > that you're right about Class:
ere needs to be a module for consistency in Apache:: namespace,
> class::singleton does pretty much the same job. If you need a per-request
> singleton meanwhile, cookup something quickly of your own that uses apache
> pnotes to store the instance
>
> perldoc Apache2::RequestRec
>
>
&g
Recently we transitioned a rather large webapp from vanilla CGI to MP2.
On our test server, each developer has his own checkout and his own URI. To
eliminate the need to constantly restart the server, we installed
Apache2::Reload. Unfortunately, we use a custom @ISA for each developer's
copy, wh
Sorry, 1 server under which all developers run a separate copy of the app
using their own URI. Thanks. --JK
On 10/15/07, Perrin Harkins <[EMAIL PROTECTED]> wrote:
>
> On 10/15/07, jk jk <[EMAIL PROTECTED]> wrote:
> > On our test server, each developer has his own checkou
12 matches
Mail list logo