> ==> Question: will putting an eval around the call to Execute
> mitigate the problems caused by the unwanted failures to run,
> while still having the desired effect of pre-compiling those that
> run correctly?
Yes
> Also: for those that compile OK but refuse to
> run, will their compile
Hi,
The docs at
http://perl.apache.org/embperl/Faq.pod.7.html#How_can_I_pre_compile_pages_so
... helpfully point out that calling Execute on your .epl pages at server startup time
pre-compiles those pages into static shared memory which all subsequent child
processes will share.
I have a
I'm using Apache::DProf to profile a mod_perl script. The specific section
I am looking to improve is hard to get meaningful numbers for, because in
the DProf output it is overwhelmed by the time of child process startup
and other things that I'm not interested. Is there a way to limit the code
t
Hi Folks:
I have perl program that runs under modperl in a
website, that needs to fork another perl program that
executes a network program. The problem is that the
tcp socket c program runs fine when executed from
a modperl fork, but udp socket dies. This udp program
runs fine when run from the
>On Mon, Jun 19, 2000 at 05:31:42PM +0100, Miah Gregory wrote:
>> The error I get off 1.03 on the new server is:
>>
>> Permission denied at
>> /usr/lib/perl5/site_perl/5.6.0/Apache/Session/SysVSemaphoreLocker.pm line
>> 63.
>> (in cleanup) Permission denied at
>> /usr/lib/perl5/site_perl/
and/or use the perl dbi and or postgresql's Pg lib
most useful
i used to have to use coldfusion, and it was not fun
especially dealing w m$'s odbc
Matt Sergeant wrote:
>
> On Mon, 19 Jun 2000 [EMAIL PROTECTED] wrote:
>
> >
> > I was introduced to ColdFusion the other day. It seems like somet
(If anyone else wants to mention how they use sessions I'm curious)
> First off, I'm doing this becuase I need to store variables (in
> currency) that are generated on a per-user session, for a short period of
> time (3 to 5 requests). I'm using a database back-end for the session.
>
> I was in
On Mon, 19 Jun 2000 [EMAIL PROTECTED] wrote:
> I was introduced to ColdFusion the other day. It seems like something
> which could easily be done in (mod_)perl. Has anyone done this?
Sure have! Try a google search for 'HTML obfuscation' and see if it turns
up anything useful.
Good luck,
--
On Mon, 19 Jun 2000 [EMAIL PROTECTED] wrote:
>
> I was introduced to ColdFusion the other day. It seems like something
> which could easily be done in (mod_)perl. Has anyone done this?
Bah, coldfusion is dated technology. Take a look at something with
completely customisable taglibs based on XM
I was introduced to ColdFusion the other day. It seems like something which could
easily be done in (mod_)perl. Has anyone done this?
ELB
---
Get free personalized email at http://www.iname.com
Hi,
I've done a little mod_perl last year but forget very quickly and I'm
requesting some guidance to tell me where to start pinpointing a problem.
I'm looking at an application that is supposedly running mod_perl.
I"ve just started going thru the mod_perl Guide by Stas Bekman.
It showed that
I'm running out of ideas.
PerlFreshRestart was completely unused, then explicitly set Off.
I have two handlers, which seem to work well. My logs report nothing
amiss aside from the stream of segmentation faults killing off my
server children, usually several in quick succession, then minutes or
On Mon, 19 Jun 2000, John Hughes wrote:
> > Incidentally, the $r->print() method conveniently lets you pass the string
> > you want to send by reference.
>
> Why is that "convenient":
It's convenient for me because I have a scalar ref that I want to
print. Maybe dereferencing it and passing by
On Mon, 19 Jun 2000, Jay Jacobs wrote:
> I'm trying to use Math::currency with sessions, and I've run into a
> stumper. I initialize variables and make them Math::Currency objects,
> and display them just fine, but when I come back (unthaw the session)
> instead of seeing the value I get the re
I have the problem on one server, and not the other.. I'll try to find out
what's different between the two of them, and let you know.
Cheers,
Miah
-Original Message-
From: Jonathan Leto [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 19, 2000 6:28 PM
To: Miah Gregory
Cc: [EMAIL PROTECT
I got the same error until I made the file setuid root.
If anybody knows a better way, please reply.
On Mon, Jun 19, 2000 at 05:31:42PM +0100, Miah Gregory wrote:
> Hi all,
>
> Does anyone have any example code using either version 1.51 or 1.03?
>
> I can't get either version to work correctl
First off, I'm doing this becuase I need to store variables (in
currency) that are generated on a per-user session, for a short period of
time (3 to 5 requests). I'm using a database back-end for the session.
I was initially wrong in my thinking about Math::Currency, and my solution
was to "stri
Okay, backup a second..., you're doing this... why? Do you need a
Math::Currency object stored inside the session?..., that could be quite a
hefty object. See, everything you write to a session you have to read back in,
and any time you update any small part of it it has to re-write the whole
re
> From: Matt Sergeant [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 19, 2000 12:38 PM
> To: Farley, Scott
> Cc: '[EMAIL PROTECTED]'
> Subject: Re: Pages stopping and not loading completely...
>
>
> On Mon, 19 Jun 2000, Farley, Scott wrote:
>
> > I'm running an application Apache + mod_perl th
On Mon, 19 Jun 2000, Farley, Scott wrote:
> I'm running an application Apache + mod_perl that connects to an MySQL
> database and the pages every so often decide not fully load. You can even
> see the the HTML printed to the screen sometimes because the stream is
> broken in the middle. Some of
I think I caught it. For some reason (little help here), you need to
"stringify" the Math::Currency instance, and store it as a scalar. And
calling ->new on a thawed object isn't a work around...
Jay
On Mon, 19 Jun 2000, Jay Jacobs wrote:
> Hello,
> I'm trying to use Math::currency with ses
Hi all,
Does anyone have any example code using either version 1.51 or 1.03?
I can't get either version to work correctly on one server, but 1.03 works
fine on another.
The error I get off 1.03 on the new server is:
Permission denied at
/usr/lib/perl5/site_perl/5.6.0/Apache/Session/SysVSemapho
I'm running an application Apache + mod_perl that connects to an MySQL
database and the pages every so often decide not fully load. You can even
see the the HTML printed to the screen sometimes because the stream is
broken in the middle. Some of the error messages include:
[Mon Jun 19 11:07:33
On Mon, 19 Jun 2000, Mark Hewis wrote:
> It would be really nice to see surveys based on pages served/web server and
> not just number of server installations. Anyone heard of such stats?
Pick a known high-traffic site, and see what it's running. All the portals
I know of run Apache, as does a c
On Mon, 19 Jun 2000, Matt Sergeant wrote:
> On Sun, 18 Jun 2000, Michael J Schout wrote:
>
> > On Tue, 13 Jun 2000, Erich L. Markert wrote:
> >
> > > I'm trying to figure out the best way to make apps (un)available without
> > > having to edit the apache config files.
> >
> > We did somethin
It would be really nice to see surveys based on pages served/web server and
not just number of server installations. Anyone heard of such stats?
>just thought everyone might be interested...
>http://www.entmag.com/displayarticle.asp?ID=6150095626AM
>BTW - Ged, you're quoted :)
This e-mail, and
Hello,
I'm trying to use Math::currency with sessions, and I've run into a
stumper. I initialize variables and make them Math::Currency objects, and
display them just fine, but when I come back (unthaw the session) instead
of seeing the value I get the reference showing
"Math::Currency=HASH(0x8
The user should not have to log in twice if you use the same AuthName (Realm)
in both .htaccess files.
On 19-Jun-2000 Wang, Pin-Chieh wrote:
> Hi,
> Is there any way to obtain user login name from perl if I put .htaccess
> under /usr/local/apache/htdocs/restricted and put my cgi/perl script under
just thought everyone might be interested...
http://www.entmag.com/displayarticle.asp?ID=6150095626AM
BTW - Ged, you're quoted :)
Jesús Lasso Sánchez wrote:
>
> Hi,
>
> Does anyone work with apache+mod_perl in Irix platforms. I need information
> about this plattform, because i'm working in a project based in Irix. There
> is any problem? does it works correctly ?
>
One of my former employers uses Irix and mod_perl runni
On Mon, 19 Jun 2000, Edwin Pratomo wrote:
>
> Hi,
>
> how to get configuration values at run-time, such as DirectoryIndex?
I don't think you can - that configuration directive is specific to
mod_index, and only mod_index can access it, AFAIK.
--
Fastnet Software Ltd. High Performance Web
Hi,
how to get configuration values at run-time, such as DirectoryIndex?
TIA.
Edwin.
Hi,
Is there any way to obtain user login name from perl if I put .htaccess
under /usr/local/apache/htdocs/restricted and put my cgi/perl script under
cgi-bin with no restriction. The reason I put no restriction for cgi-bin is
to avoid user to login twice so I only place restriction under
htdocs/r
just a few things:
I think I remember discussing that using
%hash = $r->headers_out
didn't work with multiple Set-Cookie fields in the header. IIRC, the
discussion yielded
@array = $r->headers_out
as solving the problem. Although the eagle book says to call headers_out in
a list or scalar
> -Original Message-
> From: Doug MacEachern [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 09, 2000 1:21 PM
> To: Geoffrey Young
> Cc: '[EMAIL PROTECTED]'
> Subject: Re: err_headers_out Q
>
>
> On Fri, 2 Jun 2000, Geoffrey Young wrote:
>
> > hi all...
> >
> > this simple script:
>
While you're "on the line" as it were John, I have a question:
In XS you can pop more than the number of args that were passed into the
function, but "Bad Things will happen". But in perl, it's as if an actual
array were passed into the function. Now everyone talks about subroutine
"overhead" a
>
> I'm sorry, but I think you are simply wrong here. If I call a perl
> function or an XS routine with a variable as an argument it is passed by
> reference. There is *no* copy.
>
> A simple proof:
>
> sub hack {
> $_[0] = 'a new string';
> }
>
> $a = 'an old
De : Shane Nay [mailto:[EMAIL PROTECTED]]
> To comment on what John originally said..., arg, here we go. The
> difference between print \$somevariable, and print $somevariable can
> be very significant.
Nope. Not "very".
> Everything is passed internally as a "reference", but that
> doesn't me
On Mon, 19 Jun 2000, you wrote:
> > De : Matt Sergeant [mailto:[EMAIL PROTECTED]]>
> > On Mon, 19 Jun 2000, John Hughes wrote:
> > > (Hint - Perl passes all values by reference.
> >
> > Are you sure thats the case with XS code?
>
> Yes.
To expand on John's answer... :), and delve into where th
Hi Eric,
> > [Fri Jun 16 17:20:21 2000] [notice] \
> > child pid 22310 exit signal Segmentation Fault (11)
On Mon, 19 Jun 2000, Eric Cholet wrote:
> backtrace.
(gdb) bt
#0 0x2b444 in perl_handler_ismethod ()
#1 0x2c43c in perl_call_handler ()
#2 0x2bd5c in perl_run_stacked_handlers ()
#3 0
> De : Matt Sergeant [mailto:[EMAIL PROTECTED]]>
> On Mon, 19 Jun 2000, John Hughes wrote:
> > (Hint - Perl passes all values by reference.
>
> Are you sure thats the case with XS code?
Yes.
--
John Hughes <[EMAIL PROTECTED]>,
CalvaEDI SA.Tel: +33-1-4313-3
On Mon, 19 Jun 2000, John Hughes wrote:
> (Hint - Perl passes all values by reference.
Are you sure thats the case with XS code? I don't personally know XS very
well, but there are some wierd things about it, and this might be one of
them. I know for certain that XML::Parser has a lot of slow-do
Would you turn Debug to -2 and trace the output before
it happens, and then send that bit of log since server
restart?
See if you have any StatINC* settings turned on, turn them
off, as they will reload libraries, and might be tripping
something up.
Also, should we not get this worked out, t
> Incidentally, the $r->print() method conveniently lets you pass the string
> you want to send by reference.
Why is that "convenient":
Fast:
my $x = "fred" x 1;
$r->print $x;
More obscure and microscopicaly slower:
my $x = "fred" x 1;
$r->print \$x;
(Hi
Hi,
Does anyone work with apache+mod_perl in Irix platforms. I need information
about this plattform, because i'm working in a project based in Irix. There
is any problem? does it works correctly ?
Best regards
Jesús
- Original Message -
From: "Randy Kobes" <[EMAIL PROTECTED]>
T
> Hi all,
>
> Sorry, this is a bit long.
[snip]
> [Fri Jun 16 17:20:21 2000] [notice] \
> child pid 22310 exit signal Segmentation Fault (11)
[snip]
> There is no core dump and the same thing happens with the -X switch.
please see the instructions in SUPPORT on how to provide a backtrace.
--
On Sun, 18 Jun 2000, Michael J Schout wrote:
> On Tue, 13 Jun 2000, Erich L. Markert wrote:
>
> > I'm trying to figure out the best way to make apps (un)available without
> > having to edit the apache config files.
>
> We did something like this by making a handler like this:
>
> package Foo:
47 matches
Mail list logo