> > But...
> > I found a line in startup.pl, which brokes Apache:
> > use DBD::Oracle
> >
> > I don't know why, but simple scripts on this machine kinda
> > --
> > use strict;
> > use DBI;
> >
> > $ENV{ORACLE_HOME} = "/u01/app/oracle/product/8.1.7";
> > $ENV{NLS_LANG} = "AMERICAN_AMERIC
> Thanks to your pointers, I've managed to write a subclass of
> Apache::RegistryNG which captures what would have been the output of
> Apache::RegistryNG and writes it into '/tmp/foo'. (Attached file).
>
> However, I cannot get this same module to actually send correctly the
> captured output... H
> hup it as in graceful restart? But I don't need it to re-read all of
> my Perl modules, plus their inherent initializations... I just need
> e.g. a hash updated...
I agree with Stas -- it would be easier to use something like a dbm.
MLDB::Sync works well for this stuff.
When I've had to do th
I think Apache::DB_File is just what you are after.
Is that on CPAN? I can't find it. I _can_ find
Apache::Session::DB_File and Apache::Session::Store::DB_File, is that
what you mean?
Sorry, I messed up the names and owners. I meant Tie::DB_Lock by Ken Williams,
David's DB_File::Lock is som
At 14:02 -0800 11/26/03, Stas Bekman wrote:
Elizabeth Mattijsen wrote:
my $updating;
$SIG{123} = sub {
return if $updating++; # make sure only one at a time
#update data structures;
$updating = 0;
};
That's what you told me back in July, which I liked. Though I
haven't seen it at work
Elizabeth Mattijsen wrote:
If you are talking about serving HTTP, you probably want
PerlInitHandler. Similar to Apache::Reload.
But PerlInitHandler runs in the child, does it not?
They all run in the child. The only hooks run by the parent process
that spawns the child processes is PostConfig an
At 13:41 -0800 11/26/03, Stas Bekman wrote:
If I remember correctly, you mentioned this to me back at
YAPC::Paris in July. But back then you said you are going to
gracefully restart the child processes, after updating the
parent's data so that the newly spawned processes will see the
updated in
John Saylor wrote:
[...]
and this is what's in the error log:
[Wed Nov 26 15:41:19 2003] [error] Can't locate My/child_init.pm in @INC (@INC c
ontains: /usr/lib/perl5/5.8.0/i686-linux /usr/lib/perl5/5.8.0 /usr/lib/perl5/sit
e_perl/5.8.0/i686-linux /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_
Elizabeth Mattijsen wrote:
At 11:13 -0800 11/26/03, Stas Bekman wrote:
Elizabeth Mattijsen wrote:
I was wondering whether the following trick could somehow work with
mod_perl 2. And excuse my preference for prefork MPM's: I guess
that's the hammer to work on all my nails (pun intended). I'm o
At 11:13 -0800 11/26/03, Stas Bekman wrote:
Elizabeth Mattijsen wrote:
I was wondering whether the following trick could somehow work with
mod_perl 2. And excuse my preference for prefork MPM's: I guess
that's the hammer to work on all my nails (pun intended). I'm open
to other solutions to th
hi
( 03.11.26 10:45 -0800 ) Stas Bekman:
> Aha! Sorry for missing this point. Any luck with this patch?
> Index: t/docs/startup.pl
> ===
> RCS file: /home/cvs/modperl/t/docs/startup.pl,v
> retrieving revision 1.44
> diff -u -r1.44 st
C. Jon Larsen wrote:
qpsmtpd - http://develooper.com/code/qpsmtpd/ - is written in a way
so it should be possible to make it run under mod_perl.
- ask
I was considering using qpsmtpd to front end a sendmail-driven MailScanner
box that gets about 30K messages per day. The thought was that qpsmtpd
Igor wrote:
I am calling an ssi-enabled html page and it has an
SSI request to a mod_perl script.
I am making a request to http://localhost/info.shtml?name=john&age=25&sex=m
Or something similar.
Now. How can I get the params passed to shtml from within mod_perl program ?
I tried the script bel
> qpsmtpd - http://develooper.com/code/qpsmtpd/ - is written in a way
> so it should be possible to make it run under mod_perl.
>
> - ask
I was considering using qpsmtpd to front end a sendmail-driven MailScanner
box that gets about 30K messages per day. The thought was that qpsmtpd
would be
Elizabeth Mattijsen wrote:
I was wondering whether the following trick could somehow work with
mod_perl 2. And excuse my preference for prefork MPM's: I guess that's
the hammer to work on all my nails (pun intended). I'm open to other
solutions to this "problem"!
Liz, when you are talking abou
John Saylor wrote:
when i run make test i keep getting errors like this:
[Tue Nov 25 17:12:11 2003] [error] Can't locate My/child_init.pm in @INC
[...]
it's all in the mod_perl tests. this is not my code at all! this is the
part where the webserver starts up before doing the mod_perl testing. i
g
tvilliers wrote:
[...]
but via the web, I get an Internal Server Error and in the error_log
Premature end of script headers: /var/www/cgi-bin/index.pl
print "Content-type:text/html\n\n"
; and " " are missing. Should be:
print "Content-type: text/html\n\n";
__
Jonathan and others, please quote only the relevant context you are replying
to. If you have to do the awful reply-on-top, just delete the whole quoted
text, we already have the original messages to find the context, and the
quoting at the bottom is unusable anyway.
May I suggest that when you
Eric
I arrived at this method (works under mod_perl)to send images as attachements:
$msg = build MIME::Lite From => $aApobj->getEmail_Address,
To => $recip, Subject => $Sub,
Type => 'TEXT', Data => $lPB;
$OpStatus .= "Recipient: $recip.";
if($aReceipt ne '
Enrico Sorcinelli wrote:
[...]
Index: src/modules/perl/Apache.xs
[...]
-if (!SvTRUE(RETVAL)) {
+if (!SvOK(RETVAL)) {
[...]
Hi Geoff,
the patch seems to work fine.
I've applied it over mp 1.29 (with Apache 1.3.28)
Since this is a bug, fixing it is a right thing to do. If someone was relying
BeerBong wrote:
Program received signal SIGABRT, Aborted.
[Switching to Thread 1024 (LWP 17423)]
0x40107781 in kill () from /lib/libc.so.6
(gdb) source ~alexei/forge/furnace/libapache-mod-perl-1.26/.gdbinit
(gdb) up
#1 0x40373cd3 in Perl_my_unexec () from /usr/lib/libperl.so.5.6
(gdb) curinfo
Atte
> If you're willing to enter the wild-n-wooly world of object-oriented
> mod_perl handlers you might consider trying Apache::CacheContent
> (available on CPAN), which is based on Cookbook::CacheContent in the
> mod_perl Developer's Cookbook.
Aha! Cheers for this. I've made /some/ progress, but it'
Ok, I should have read the FAQ for Openwebmail first... which says that
openwebmail cannot be used with mod_perl... that would have saved me
some time in thinking that perhaps it was because of mod_perl and
joining this list...
thanks for at least reading this...
Jonathan Villa wrote:
Sorry f
> "Jean-Michel" == Jean-Michel Hiver <[EMAIL PROTECTED]> writes:
Jean-Michel> However certain dynamic pages remain uncached, such as:
Jean-Michel> http://mkdoc.com/.sitemap.html
Jean-Michel> http://mkdoc.com/.print.html
Jean-Michel> What I need is a generic apache handler which would cac
Hi Eric,
Did you try Path instead of FH?
Sven.
Am Mit, 2003-11-26 um 17.54 schrieb [EMAIL PROTECTED]:
> Hey all,
>
>I am trying to get MIME::Lite to attach an Excel spreadsheet created via
> Spreadsheet::WriteExcel to an outgoing email and something is not working
> quite right.
>
>He
On Wed, Nov 26, 2003 at 04:54:08PM -, [EMAIL PROTECTED] wrote:
> Hey all,
>
>I am trying to get MIME::Lite to attach an Excel spreadsheet created via
> Spreadsheet::WriteExcel to an outgoing email and something is not working
> quite right.
[snip]
This doesn't appear to have anything to d
Hey all,
I am trying to get MIME::Lite to attach an Excel spreadsheet created via
Spreadsheet::WriteExcel to an outgoing email and something is not working
quite right.
Here's the code:
my $mail = MIME::Lite->new(
From =>'[EMAIL PROTECTED]',
To =
On Wed, Nov 26, 2003 at 10:41:56AM -0600, Jonathan Villa wrote:
> Sorry for the repeats
>
> I noticed that on the top of the pages, there is
>
> #!/usr/bin/suidperl -T
>
> so I tried that on the command line and get this:
>
> Script is not setuid/setgid in suidperl
I'm not familiar with su
Sorry for the repeats
I noticed that on the top of the pages, there is
#!/usr/bin/suidperl -T
so I tried that on the command line and get this:
Script is not setuid/setgid in suidperl
???
Jonathan Villa wrote:
I did the Content-Type and nothing new...
So you're saying that Openwebmail d
I even tried a simple index.html within the /var/www/cgi-bin dir...
FYI, I do have suidperl installed
Jonathan Villa wrote:
I did the Content-Type and nothing new...
So you're saying that Openwebmail does not require mod_perl? This is
the main thing I need to get setup...so perhaps I should l
I did the Content-Type and nothing new...
So you're saying that Openwebmail does not require mod_perl? This is
the main thing I need to get setup...so perhaps I should look into the
openwebmail forum for a solution?
The only thing that confuses me is how does a web based program work
without
On Wed, 26 Nov 2003 09:36:39 -0600, Jonathan Villa wrote:
> Ok, I'm trying to install OpenWebMail but I keep getting an Internal
> Server Error when I try to access it via the web.
>
> Here is what I have/did
>
> Installed: Apache 1.3.29/mod_ssl 2.8.16-1.3.29/PHP 4.3.4 Installed: v5.8.2
> built
Ok, I'm trying to install OpenWebMail but I keep getting an Internal
Server Error when I try to access it via the web.
Here is what I have/did
Installed: Apache 1.3.29/mod_ssl 2.8.16-1.3.29/PHP 4.3.4
Installed: v5.8.2 built for i686-linux
I'm trying to install mod_perl 1.29 and I've followed sev
> 1. Updated Authen::Smb with this:
>
> use Fcntl qw(:flock);
> ...
> open S, "> /full/path/to/AuthenSmb.lck" or
> die "Can't open AuthenSmb.lck: $!\n";
> flock S, LOCK_EX;
> my $res = Valid_User($username, $password, $server, $backup, $domain);
> close S;
I was given this solution, to fix the pr
> Program received signal SIGABRT, Aborted.
> [Switching to Thread 1024 (LWP 17423)]
> 0x40107781 in kill () from /lib/libc.so.6
> (gdb) source ~alexei/forge/furnace/libapache-mod-perl-1.26/.gdbinit
> (gdb) up
> #1 0x40373cd3 in Perl_my_unexec () from /usr/lib/libperl.so.5.6
> (gdb) curinfo
> Atte
On Wed, Nov 26, 2003 at 11:40:19AM +, Jean-Michel Hiver wrote:
> Hi List,
>
> At the moment my application runs as a mix of mod_perl handlers and a
> rather large-ish Apache::Registry CGI program.
>
> Initially the application was generating everything on the fly. Due to
> performance issues,
I was wondering whether the following trick could somehow work with
mod_perl 2. And excuse my preference for prefork MPM's: I guess
that's the hammer to work on all my nails (pun intended). I'm open
to other solutions to this "problem"!
The problem:
-
When you're using prefork
hi
> John Saylor wrote:
> >when i run make test i keep getting errors like this:
> >
> >[Tue Nov 25 17:12:11 2003] [error] Can't locate My/child_init.pm in @INC
> >(@INC contains: /usr/lib/perl5/5.8.0/i686-linux /usr/lib/perl5/5.8.0
> >/usr/lib/perl5/site_perl/5.8.0/i686-linux /usr/lib/perl5/site_
Thanks for the prompt reply.
Stas Bekman wrote:
You probably have a messed up perl install. Nuke completely
/home/sterling/local/apache-1.3/lib/perl5 rebuild the new perl, rebuild
mod_perl and it should all be fine.
I did this once actually. When I rebuilt mod_perl the second time, I did
an rm
Reposting... since I unintentionally sent the previous message as html.
Thanks Stas Bekman for noticing.
---
Hello everybody.
I am calling an ssi-enabled html page and it has an
SSI request to a mod_perl script.
I am making a request to http://localhost/info.shtml?name=john&age=25&
Hi List,
At the moment my application runs as a mix of mod_perl handlers and a
rather large-ish Apache::Registry CGI program.
Initially the application was generating everything on the fly. Due to
performance issues, I started writing a little cache manager so that
most pages are cached, such as:
> > Hello!
> >
> > I wanted to build a debian package of apache for my specific purposes.
> > My specific purpose is mod_accel support.
> > I downloaded a source for apache debian package (apache-1.3.26)
> > from stable distribution, add mod_accel patches and it
> > have been compiled well.
> [...]
On Tue, 25 Nov 2003 15:47:07 -0500
Geoffrey Young <[EMAIL PROTECTED]> wrote:
> > I'll
> > take a look at 1.0 "soonish"
>
> it looks like the logic is pretty much the same in 1.0 as well.
>
> please try this (untested) patch and let me know if it fixes things for you.
>
> --Geoff
>
> Index: sr
On Tue, 25 Nov 2003 15:34:16 -0500
Geoffrey Young <[EMAIL PROTECTED]> wrote:
> Enrico Sorcinelli wrote:
> > Hi all,
> >>
> > I have this PerlSetVar behaviour. Suppose to have:
> >
> >
> > SetHander perl-script
> > PerlSetVar Something 0
> > PerlResponseHa
Sorry, Tom, looks like this message fell between the cracks. Fishing it out now.
Tom Conway wrote:
I got these errors when I did perl MakeFile.pl for mod_perl-1.99_11
I have a standard redhat 8.0 install with the latest rpms.
DO I need to uninstall apache, mod_perl and do a source install?
I'm afr
[EMAIL PROTECTED] wrote:
Hi:
There is a project called EplSite, this project use EmbPerl and mod_perl.
[...]
http://www.eplsite.org/en/index.epl?module=News;option=read;sid=1
Carlos, if you are interested, we can add your project to this page:
http://perl.apache.org/products/products.html
Just tel
BeerBong wrote:
Hello!
I wanted to build a debian package of apache for my specific purposes.
My specific purpose is mod_accel support.
I downloaded a source for apache debian package (apache-1.3.26)
from stable distribution, add mod_accel patches and it
have been compiled well.
[...]
Program rece
I've documented the mod_perl 2.0 handler return value "protocol" here:
http://perl.apache.org/docs/2.0/user/handlers/intro.html#Handler_Return_Values
Please read and submit patches if something is wrong/unclear. Muchas Gracias.
__
Stas
:-> "Geoffrey" == Geoffrey Young <[EMAIL PROTECTED]> writes:
>> > looks like you added the :method tag to bug130883::Redir::handler(),
>> > which wasn't originally a method handler in the code you posted:
>> Uh, sorry. I corrected it and now I get this one:
>> [Wed Nov 12 16:23:05
Hello!
I wanted to build a debian package of apache for my specific purposes.
My specific purpose is mod_accel support.
I downloaded a source for apache debian package (apache-1.3.26)
from stable distribution, add mod_accel patches and it
have been compiled well.
These are config options and flag
50 matches
Mail list logo