Help: unwanted extra characters in output

2010-09-21 Thread Nico Coetzee
Hi - I have a problem which I can't seem to solve. I am busy implementing a webdav solution in mod_perl and as you may know, the output is XML based. The problem is that the output generated by mod_perl contains additional characters before and after the XML which the webdav clients don't seem to

Re: Mixed Children on amd64

2010-09-21 Thread André Warnier
Vincent Veyron wrote: ... , of which only one is HTTPS, you could run it all in one single Apache instance. It is no problem to run a single VirtualHost as a HTTPS host on its own port 443, and other multiple HTTP VirtualHost's on port 80. The problem is only when you want to run several

Re: Mixed Children on amd64

2010-09-21 Thread Vincent Veyron
Hi, Replying here to both of you for convenience Le mardi 21 septembre 2010 à 16:51 +0200, André Warnier a écrit : > Perrin Harkins wrote: > > > > Are these just two virtual servers running from the same httpd.conf > > and server binaries? How does each one know which database to use? Each se

Re: Mixed Children on amd64

2010-09-21 Thread Vincent Veyron
Le mardi 21 septembre 2010 à 17:59 +0200, André Warnier a écrit : a couple of things puzzle me in your setup. > > 1) if you are using Linux Debian, they why do you go through the trouble of > compiling > Apache etc.. ? The Debian packagers have done a good job, and you can just > install perl

Re: Strange process behavior

2010-09-21 Thread Perrin Harkins
On Tue, Sep 21, 2010 at 12:09 PM, Sharon Pattison wrote: > We added some logging to several of our scripts to log when $r->args and > $q->query_string do not match.  What we find for the bad process is that $r > always has the correct data for the new request, but the value of > $q->query_string n

Re: Strange process behavior

2010-09-21 Thread Sharon Pattison
Hi, I think I sent my last reply just to Tuomo, so am sending again to the list.. Thanks for the suggestion. I checked our error logs and did not find that message anywhere. We added some logging to several of our scripts to log when $r->args and $q->query_string do not match. What we find

Re: Mixed Children on amd64

2010-09-21 Thread André Warnier
Vincent Veyron wrote: Hi, I wrote a web application for case management (legal, insurance) with mod_perl. The app is visible at : http://marica.fr/ I recently purchased a 'dedibox' (http://www.online.net/serveur-dedie/offre-dedibox-v3.xhtml) intended to host it, and configured it with Debian.

Re: Mixed Children on amd64

2010-09-21 Thread André Warnier
Perrin Harkins wrote: On Mon, Sep 20, 2010 at 7:00 PM, Vincent Veyron wrote: When I use this new machine (it is currently disabled), my registered users on occasion will retrieve the data from the demo account instead of their own, as if the children spawned by the two apache2 processes got mix

Re: Mixed Children on amd64

2010-09-21 Thread Perrin Harkins
On Mon, Sep 20, 2010 at 7:00 PM, Vincent Veyron wrote: > When I use this new machine (it is currently disabled), my registered > users on occasion will retrieve the data from the demo account instead > of their own, as if the children spawned by the two apache2 processes > got mixed up. Are these

Re: Strange process behavior

2010-09-21 Thread Tuomo Salo
Are you getting "variable will not stay shared" messages in your error_log? If you are, you might be using a lexical variable outside of the function it was defined in. When this happens, you'll get a closure, which is a useful tool sometimes, but for us regular people it means that old data will

Re: Apache2 + Mod Perl 2.0 + Template Toolkit

2010-09-21 Thread Geoffrey Young
hi :) On Tue, Sep 21, 2010 at 5:24 AM, Chris Ray wrote: > Hello, I'm currently attempting to update an Apache Cluster from Apache 1.3 > to Apache2. The website served by this cluster uses Template Toolkit > extensively. It is my understanding that the original Apache::Template > module doesn't wo