How about setting it up in your apache startup file (or your apache conf
file) ?
something like
PerlSetEnv myenv value
so that all your child instances start up with the env variable already
set
-Arun
- Original Message -
From: "Anthony Gardner" <[EMAIL PROTECTED]>
To:
Sent: Wednesday,
Have a look at
http://perl.apache.org/docs/1.0/guide/config.html#PerlSetEnv_and_PerlPassEnv
Thanks,
Pratik
On 9/7/05, Anthony Gardner <[EMAIL PROTECTED]> wrote:
> Hola,
>
> We're using apache/1.3.33 and mod_perl/1.29.
>
> the problem is, a personal ENV variable is set in my
> environment and r
On Thu, 2005-09-08 at 02:41 -0400, Sebastien Pinsonnault wrote:
> I have a website which has french accents (i.e. é) and I noticed that
> when a page uses mod perl in a cgi, the french accents are all messed
> up in my browser.
> But if I take the same script and redirect the output to a html file
I have a website which has french accents (i.e. é) and I noticed that when a
page uses mod perl in a cgi, the french accents are all messed up in my
browser.
Have you verified that the headers and meta data match the character set
of the document?
Aaron
Hi Philppe,
I am using mp2. The version of mod_perl is 1.99_16. What is the equivalent of this patch in mp2.
Thanks and Regards,
Pradeep
On 8/30/05, Philippe M. Chiasson <[EMAIL PROTECTED]> wrote:
pradeep kumar wrote:> Hi All,>> Has anyone come across the command name changing when the Perl
>
On 6 Sep 2005, at 11:37, Perrin Harkins wrote:
On Mon, 2005-09-05 at 06:42 -0700, Praveen Ray wrote:
XSLT transforms are VERY fast
Compared to what? Certainly not compared to HTML::Template.
Not sure why you say "certainly not". XSLT is very fast and easy to
optimise (because it's assignm
I got the following from "Writing Apache Modules with Perl and C" by
Lincoln Stein & Doug MacEachern
From Chapter 5 Maintaining State:
It uses IPC::Shareable and requires Storable
It ties Perl data structures (scalars and hashes, but not arrays.)
the idiom:
tie %H, 'IPC::Shareable', 'Test', {c
Um, guys, whatever happened to character entities for non-US ASCII
characters (eg é for e-accent-aigu)? Seems to me it would be
easy to write a filter to replace outgoing characters with their
character entity equivalents, thereby avoiding character set issues.
d
Aaron Ross wrote:
I have
David Scott wrote:
Um, guys, whatever happened to character entities for non-US ASCII
characters (eg é for e-accent-aigu)? Seems to me it would be
easy to write a filter to replace outgoing characters with their
character entity equivalents, thereby avoiding character set issues.
d
Yeah I
On Thu, 2005-09-08 at 09:40 -0700, David Scott wrote:
> Um, guys, whatever happened to character entities for non-US ASCII
> characters (eg é for e-accent-aigu)? Seems to me it would be
> easy to write a filter to replace outgoing characters with their
> character entity equivalents, thereby av
On Sep 8, 2005, at 2:13 AM, Octavian Rasnita wrote:
I don't know too much about caching, but I have just configured TT to
create
cached templates, so I have used cache.
You should learn about caching. Tweaking the template caching settings
under any system can vastly improve performance.
Hi guys,
thanks for all your ideas, I will try them out it seems the
problems is intermittent as in once in a while some httpd deamon in
apache gets corrupted somehow and the problems occurs.
If we stop start the apache, the problem goes away for a little while but it comes back
Boy not
Even with the entities, character set issues pop up because browsers ,
and users, can be stupid.
i've had character entities show up wrong on browsers because of one
stupid setting or another. I think the last Safari upgrade to osx
messed them up.
I'd suggest doing a
AddDefaultChar
Hello,
Yep we tried that for the addDefaultCharset but the issue still crept up...
That`s why it pretty much to try and find a needle in a haystack.
-SebastienOn 9/8/05, Jonathan Vanasco <[EMAIL PROTECTED]> wrote:
Even with the entities, character set issues pop up because browsers ,and users, c
From: "Jonathan Vanasco" <[EMAIL PROTECTED]>
> You should learn about caching. Tweaking the template caching settings
> under any system can vastly improve performance.
>
I have tried to learn more about caching in TT, but I could find only that I
could create cache, and nothing more. No tweaking
Is there any difference in the document/headers themselves from when it
works, and when it doesn't?
On Sep 8, 2005, at 1:16 PM, Sebastien Pinsonnault wrote:
Hello,
Yep we tried that for the addDefaultCharset but the issue still crept
up...
That`s why it pretty much to try and find a ne
Hi,
When I was using TT, my program was able to serve 1.7 requests per second.
(tested with ab program - Apache Bench).
After using HTML::Template, the same program, but modified to be able to use
HTML::Template, was able to serve over 3 requests per second.
After using HTML::Template::Compiled
On Thu, 2005-09-08 at 09:07 -0400, Matt Sergeant wrote:
> On 6 Sep 2005, at 11:37, Perrin Harkins wrote:
>
> > On Mon, 2005-09-05 at 06:42 -0700, Praveen Ray wrote:
> >> XSLT transforms are VERY fast
> >
> > Compared to what? Certainly not compared to HTML::Template.
>
> Not sure why you say "ce
On Thu, 2005-09-08 at 09:13 +0300, Octavian Rasnita wrote:
> > - Incorrectly configured template caching
>
> I don't know too much about caching, but I have just configured TT to create
> cached templates, so I have used cache.
Usually mis-configured caching is the problem. If you call Template-
On Thu, 2005-09-08 at 10:36 -0500, Boysenberry Payne wrote:
> From Chapter 5 Maintaining State:
>
> It uses IPC::Shareable and requires Storable
> It ties Perl data structures (scalars and hashes, but not arrays.)
> the idiom:
> tie %H, 'IPC::Shareable', 'Test', {create => 1, mode => 0666};
> on
pradeep kumar wrote:
> Hi Philppe,
>
> I am using mp2. The version of mod_perl is 1.99_16. What is the
> equivalent of this patch in mp2.
This should not be a problem in mod_perl 2.0, can you try and upgrade
to mod_perl-2.0.1 and see if the problem still persists ?
If so, try and use the mp2bug t
Hi mod_perl folks,
I'm getting occasional hanging httpd children (prefork) that suck up
alot of CPU and
bog down my server. When I inspect Apache Status (ExtendedStatus On), I see
something like this:
434-3 11031 0/29/612 R 0.49 1341 0 0.0 0.20 4.09 ? ? ..reading..
There's no client IP, no vi
Hi,
I porting my shared store to modperl2, but for redirect i have one problem:
[Thu Sep 08 16:50:08 2005] [notice] Apache/2.0.54 (Unix) mod_perl/2.0.1
Perl/v5.8.4 configured -- resuming normal operations
---> [Thu Sep 08 16:50:09 2005] [error] [client 127.0.0.1] Can't locate
object method "STO
> $r->err_headers_out->{'Pragma'} = "no-cache";
use
$r->err_headers_out->set(Pragma => 'no-cache');
HTH
--Geoff
Sorry, I should have mentioned that I'm using a reverse mod_proxy, so
the "hanging" is most likely during the http response from the
back-end web server. I realize this may not be a MP2 problem, but
figured I'd at least start here on the mod_perl list since my entire
app is an http output filter t
On Thu, 8 Sep 2005, Udlei Nattis wrote:
Hi,
I porting my shared store to modperl2, but for redirect i have one problem:
[Thu Sep 08 16:50:08 2005] [notice] Apache/2.0.54 (Unix) mod_perl/2.0.1
Perl/v5.8.4 configured -- resuming normal operations
---> [Thu Sep 08 16:50:09 2005] [error] [client
26 matches
Mail list logo