doesn't kill the forked
process.
I tried out the code here which is for mod_perl v1:
http://perl.apache.org/docs/1.0/guide/performance.html#Forking_and_Executing
_Subprocesses_from_mod_perl
There are two problems with the code listed in the example:
1) Apache::SubProcess doesn't seem to contain the same
Hi,
I guess this is off topic for this list, since I would be doing this no
matter if I was running CGI or mod_perl or whatever. I am pretty desparate
to get this working, and if anyone wants to earn some cash helping me fix
things PLEASE call me at 250 655-9513.
I have been trying
Eric Frazier wrote:
...
But then I found I was using 5.8.. Thanks to a guy on comp.lang.perl.misc I
know that there is a change in how signals are handled, they call it
deferred signal handling because Perl now is suppose to wait until the
Interpeter is in a safe state. As I understand it this
.
Cheers!
-Original Message-
From: Eric Frazier [mailto:[EMAIL PROTECTED]
Sent: 16 September 2003 12:24
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: mod_perl v2 Forking
Hi,
I guess this is off topic for this list, since I would be doing this no
matter if I was running CGI
Hi,
That sound like one way to go, I want to be very careful with something like
this. You speak as if restoring 5.6 behaviour is the best or only way to go.
Do you see any other alternatives?
Thanks,
Eric
At 04:57 PM 9/16/03 +0200, Rafael Garcia-Suarez wrote:
Eric Frazier wrote:
...
But
:[EMAIL PROTECTED]
Sent: 16 September 2003 12:24
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: mod_perl v2 Forking
Hi,
I guess this is off topic for this list, since I would be doing this no
matter if I was running CGI or mod_perl or whatever. I am pretty desparate
to get this working
[mailto:[EMAIL PROTECTED]
Sent: 16 September 2003 12:57
To: Stephen Hardisty
Cc: [EMAIL PROTECTED]
Subject: RE: mod_perl v2 Forking
Hi,
Doing this works for me. But I am ending up with some errors that I didn't
have before. Of course my bosses would get mad if I posted all of the code
involed
:
exit(0);
}
}
This seemes reasonably stable. If anybody has a better way, then I'm all ears.
Cheers!
-Original Message-
From: Eric Frazier [mailto:[EMAIL PROTECTED]
Sent: 16 September 2003 12:24
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: mod_perl v2 Forking
Hi
the exit.
Otherwise, I don't know I'm afraid.
-Original Message-
From: Eric Frazier [mailto:[EMAIL PROTECTED]
Sent: 16 September 2003 12:57
To: Stephen Hardisty
Cc: [EMAIL PROTECTED]
Subject: RE: mod_perl v2 Forking
Hi,
Doing this works for me. But I am ending up with some errors that I
Haven't read much of this thread, but is POE an option ?
-Original Message-
From: Eric Frazier [mailto:[EMAIL PROTECTED]
Sent: 16 September 2003 13:17
To: Stephen Hardisty
Cc: [EMAIL PROTECTED]
Subject: RE: mod_perl v2 Forking
:) I think that makes sense. It was created
I guess you could, but if there's already a load of code mightn't be a bit of a pain
POE-ing it?
-Original Message-
From: Gareth Kirwan [mailto:[EMAIL PROTECTED]
Sent: 16 September 2003 16:50
To: 'Eric Frazier'; Stephen Hardisty
Cc: [EMAIL PROTECTED]
Subject: RE: mod_perl v2 Forking
will later read them in archives.
Thank you!
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http
Forwarded on behalf of Andy Lester [EMAIL PROTECTED]
Original Message
Date: Mon, 15 Sep 2003 14:53:15 -0500
From: Andy Lester [EMAIL PROTECTED]
To: Perl 5 Porters [EMAIL PROTECTED], [EMAIL PROTECTED]
PHP and mod_perl do not share the environment nicely. PHP's putenv
Cameron,
Have you tried issuing the command to `at`? If you don't need to
interact wih the report generator, and can pass all the parameters in
the command line or via a tmp file, this is a great solution.
at (and the corresponding atd) will preserve your environment vars and
other niceties.
Hi all,
I have a report creation perl script that takes about 15 minutes to run and
I need to fork it. I tried the code from v1:
use strict;
use POSIX 'setsid';
use Apache::SubProcess;
my = shift;
-send_http_header(text/plain);
{CHLD} = 'IGNORE';
defined (my = fork) or die
IMHO, it would be better to put your report code into another perl
program and execute it. From what I see from your snippet of code, it's
not important for the parent to know what the child is going, you are
even ignoring SIGCHLD.
Also, at some point in the future (I hope at least) mp2 +
Hi Richard,
IMHO, it would be better to put your report code into another perl
program and execute it. From what I see from your snippet of
code, it's
not important for the parent to know what the child is going, you are
even ignoring SIGCHLD.
Also, at some point in the future (I hope at
the program completes
2) Fork in such a way that restarting Apache doesn't kill the forked
process.
I tried out the code here which is for mod_perl v1:
http://perl.apache.org/docs/1.0/guide/performance.html#Forking_and_Executing
_Subprocesses_from_mod_perl
There are two problems with the code listed
about 15 minutes to run, so I must fork or double
fork. I have two goals:
1) Have no zombies when the program completes
2) Fork in such a way that restarting Apache doesn't kill the forked
process.
I tried out the code here which is for mod_perl v1:
http://perl.apache.org/docs/1.0/guide
in their release (without identifying it as such),
and it's known to be buggy (in particular, Red Hat's version of perl
5.8.0 and mod_perl 2.0). Mason was written with Apache 1.x and
mod_perl, and use with Apache 2.x/mod_perl 2.0 is not supported, and
probably won't be supported until mod_perl 2.0
I have RedHat 9, I have installed Apache using rpmwich comes with RedHat9 (httpd-2.0.40-21) then ihaveinstalled mod_perl using rpm mod_perl-1.99_07-5then is have installed the latest Mason filesHTML-Mason-1.22) but when i try to start Apache it saysApache/Constants.pm not found. I serched CAPAN
parvez mohamed wrote:
I have RedHat 9, I have installed Apache using rpm
wich comes with RedHat9 (httpd-2.0.40-21) then i
haveinstalled mod_perl using rpm mod_perl-1.99_07-5
I don't know what version HTML::Mason is relying on (I'll let the mason
developers to comment on it), but you probably want
about mod_perl 1.x
not mod_perl 2.
Otherwise, I would completely agree. The _exact_ same code _does_ work
under mod_perl2.
I also see that the problem Bart was referring to was fixed in 2.93
Philip M. Gollucci wrote:
I'll disagree on this being a windows only problem in CGI. I'll also
, you'll see that I'm talking about mod_perl 1.x
not mod_perl 2.
Otherwise, I would completely agree. The _exact_ same code _does_ work
under mod_perl2.
Ah, sorry, so what exact problem you are talking about? Can you post a link to
the HTML version of the relevant section in the guide, I'm not sure
that may or may not run under mod_perl 2.0. However we do have
this section:
http://perl.apache.org/products/apache-modules.html#Porting_CPAN_modules_to_mod_perl_2_0_Status
We probably should specify the version number of each of these
modules. Can somebody please lookup those modules and send me
Philip M. Gollucci wrote:
I'll disagree on this being a windows only problem in CGI. I'll also
disagree about the version number.
As late as CGI 3.00 this problem exists in Apache 1.3.27 and mod_perl
1.27 on SunOS.
I believe it's not the problem Bart was talking about. You are most likely
all
possible modules that may or may not run under mod_perl 2.0. However
we do have this section:
http://perl.apache.org/products/apache-modules.html#Porting_CPAN_modules_to_mod_perl_2_0_Status
We probably should specify the version number of each of these
modules. Can somebody please lookup
So these are the versions required to run properly with mod_perl 2.0?
Here is an updated table:
Module Name Required Dist Package
-
Apache::AuthExpire Apache-AuthExpire-0.38
Apache::AuthNetLDAPApache
to
mention this.
Kind Regards
Bart
-Original Message-
From: Stas Bekman [mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2003 1:20 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: apache2, mod_perl: problem with CGI
Just trying to get up and running with Apache/2.0.47
Thanks that did it.
Great.
It would be nice though if the minimum rev level of the CGI.pm could be
mentioned in the doc.
Or maybe it is there somewhere and I skimmed over it.
It's a a CGI.pm problem, really. We can't go and support all possible modules
that may or may not run under mod_perl 2.0
I'll disagree on this being a windows only problem in CGI. I'll also
disagree about the version number.
As late as CGI 3.00 this problem exists in Apache 1.3.27 and mod_perl
1.27 on SunOS.
The pdf troubleshooting doc on apache.org site suggest fix (I think its
5.17) also does _not_ work
On Yesterday at 2:06pm, SB=Stas Bekman [EMAIL PROTECTED] wrote:
SB
SB Also you may want to use Apache::SubProcess to stress it out and see
SB if there is something that we need to fix, if it's not used we might
SB not be aware of existings bugs that the tests don't catch. You can
SB always
Hi folks,
Just trying to get up and running with Apache/2.0.47 (Win32)
mod_perl/1.99_10-dev Perl/v5.8.0 Server
Have installed AS Perl 5.8 and the mod_perl ppm that Randy provides the
world with.
Running my mod_perl code using the ModPerl::Registry handler.
Now everything is fine until I put
[please don't reply to another thread when starting a new one. don't be
surprised if your question is ignored if you do that.]
Just trying to get up and running with Apache/2.0.47 (Win32)
mod_perl/1.99_10-dev Perl/v5.8.0 Server
Have installed AS Perl 5.8 and the mod_perl ppm that Randy
Embedded Perl version v5.8.0 for Apache/1.3.27 (Unix) PHP/4.3.2 mod_perl/1.28
mod_ssl/2.8.14 OpenSSL/0.9.6b
I am trying to use a simple script that will display an jpeg or png image using GD.pm
(readily available from CPAN)
I am getting
[Wed Sep 3 10:41:37 2003] [notice] child pid 832 exit
Jason wrote:
Embedded Perl version v5.8.0 for Apache/1.3.27 (Unix) PHP/4.3.2
mod_perl/1.28 mod_ssl/2.8.14 OpenSSL/0.9.6b
I am trying to use a simple script that will display an jpeg or png image
using GD.pm (readily available from CPAN)
I am getting [Wed Sep 3 10:41:37 2003] [notice] child pid
that either IPC::Run or Apache::SubProcess could be
used.
I have 2 versions of a mod_perl script using either of the modules. Which
one would be preferred and why?
Some reasons come to mind right away, e.g.,
* IPC::Run may be more mature (version 0.75), so use it.
* IPC::Run is a separate install
Stas had suggested that either IPC::Run or Apache::SubProcess could be
used.
I have 2 versions of a mod_perl script using either of the modules. Which
one would be preferred and why?
Some reasons come to mind right away, e.g.,
* IPC::Run may be more mature (version 0.75), so use it.
Don't
Hi All,
I'm having a weird problem using SOAP::Lite in one of my mod_perl
modules.
A snippet of my code is:
sub _dispatch {
my $self = shift;
my $proxy = http://our.stats.server.com.au/soap/script.cgi;;
my
simran wrote:
The above code works perfectly on:
* On dev server in a standalone script
* On our dev server under: Apache/1.3.27 (Unix) mod_ssl/2.8.12 OpenSSL/0.9.6c
DAV/1.0.3 mod_perl/1.27
* Our live server as a standalong script
The code does not work on our live server under:
* Live
in a standalone script
* On our dev server under: Apache/1.3.27 (Unix) mod_ssl/2.8.12 OpenSSL/0.9.6c
DAV/1.0.3 mod_perl/1.27
* Our live server as a standalong script
The code does not work on our live server under:
* Live Server: Apache/1.3.28 (Unix) mod_ssl/2.8.15 OpenSSL/0.9.6c DAV
in a standalone script
* On our dev server under: Apache/1.3.27 (Unix) mod_ssl/2.8.12 OpenSSL/0.9.6c
DAV/1.0.3 mod_perl/1.27
* Our live server as a standalong script
The code does not work on our live server under:
* Live Server: Apache/1.3.28 (Unix) mod_ssl/2.8.15 OpenSSL/0.9.6c DAV
Hi guys,
On Thu, 28 Aug 2003, Perrin Harkins wrote:
simran wrote:
The above code works perfectly on:
* On dev server in a standalone script
* On our dev server under: Apache/1.3.27 (Unix) mod_ssl/2.8.12 OpenSSL/0.9.6c
DAV/1.0.3 mod_perl/1.27
* Our live server as a standalong
Ged Haywood wrote:
Hi guys,
On Thu, 28 Aug 2003, Perrin Harkins wrote:
simran wrote:
The above code works perfectly on:
* On dev server in a standalone script
* On our dev server under: Apache/1.3.27 (Unix) mod_ssl/2.8.12 OpenSSL/0.9.6c
DAV/1.0.3 mod_perl/1.27
* Our live server
Hi Stas,
On Fri, 29 Aug 2003, Stas Bekman wrote:
Ged Haywood wrote:
Have you mentioned this to Philippe Chiasson?
Beg your pardon, Ged? What this has to do with Philippe?
Wasn't he organising the release of mod_perl 1.28?
If people are moving to a 1.3.28/1.28 combination, I would expect
Have you mentioned this to Philippe Chiasson?
Beg your pardon, Ged? What this has to do with Philippe?
Wasn't he organising the release of mod_perl 1.28?
He was a release manager, not a person to blame, even if there was a problem
with 1.28, which is certainly not the case.
If people
On an unrelated note SOAP::Lite developement seems to have gone quite to me
anyway.
Greg
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
Good afternoon,
On 27/8/03 at 9:37 AM -0400, Michael [EMAIL PROTECTED] wrote:
The reason this question is mod_perl related is that he is doing the
initial authentication using mod_perl, and is creating a cookie based
ticket. But he wants that ticket to also be accepted by a
non-mod_perl enabled
Good afternoon,
On 27/8/03 at 9:45 AM -0400, Michael [EMAIL PROTECTED] wrote:
Any other suggestions?
I'd think you'd want to have the same authentication process for both, and a
shared database (or something) to store the session data. Have the front-end
do the login part, pass the client to
Hi there,
On Tue, 26 Aug 2003, Patrick West wrote:
I've installed apache_1.3.27 and mod_perl-1.27. When I go to run the
tests in mod_perl-1.27/t (just running the first one), first it
complains that it couldn't start the server. But the server is
actually running.
Are you sure you have
Hi there
On Tue, 26 Aug 2003, Patrick West wrote:
Apparently $net::httpserver is set incorrectly,
[snip]
So ... where is $net::httpserver being set?
t/net/config.pl
73,
Ged.
PS: Please keep it on the list... :)
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info:
John Chiu wrote:
Thanks in advance. I've tried all the archives and google'd but I have
not found anything that would help.
I'm running RH 8.0, httpd-2.0.40-11.5 and mod_perl-1.99_05-3 from the
RedHat distribution. I'm trying to create a small proxy module that will
check a non-proxy
Good morning,
On 26/8/03 at 8:26 PM +0200, Thomas Klausner [EMAIL PROTECTED] wrote:
Hi!
On Die, Aug 26, 2003 at 09:06:05 +1000, Charlie Garrison wrote:
I need to protect resources in both the static (proxy) front-end and
the mod_perl back-end. I have been using standard http authentication
On Tue, Aug 26, 2003 at 21:06:05, Charlie Garrison said...
The second one, Cookie Authentication with MySQL, looks like a very good
option, except for two issues. Fist, it doesn't support the 'require group...'
directive. And second, it doesn't appear to cache mysql connections so I am
this question is mod_perl related is that he is doing the initial
authentication using mod_perl, and is creating a cookie based ticket. But he
wants that ticket to also be accepted by a non-mod_perl enabled server (ie a
front end proxy).
Cheers,
Cees
--
Reporting bugs: http://perl.apache.org/bugs
Good afternoon,
On 27/8/03 at 2:49 PM +1000, Cees Hek [EMAIL PROTECTED] wrote:
Umm, use Apache::DBI, that's what it's for.
It was easy to miss in the email if you skimmed it, but he is looking for a C
based module, so any perl based solutions are out.
The reason this question is mod_perl
Good afternoon,
On 27/8/03 at 12:05 AM -0400, Michael [EMAIL PROTECTED] wrote:
The second one, Cookie Authentication with MySQL, looks like a very
good option, except for two issues. Fist, it doesn't support the
'require group...' directive. And second, it doesn't appear to cache
mysql
Solaris 2.5.1
perl 5.6.0
Apache/1.3.27 (Unix) mod_perl/1.27
CGI 2.76
CGI::Carp 1.20
Hi,
I have problems with redirecting STDERR in mod_perl. Have a look at the
following example:
==
#/usr/bin/perl -w
use CGI qw(header param url_param url
Could anyone advise which file upload method to use that is be written in
mod_perl that will be migrated to mod_perl2 at a later time?
And, generally, which particular package from mod_perl (1) should be
avoided.
Any insight will be helpful.
--
Reporting bugs: http://perl.apache.org/bugs
Hi there,
On Wed, 27 Aug 2003, Charlie Garrison wrote:
Do you also write the apache module for the frontend server? I'm very
competent at perl, but not competent enough to write an apache module.
It's not so hard. There's a skeleton module in the Apache sources for
you to start with, take a
On Wed, Aug 27, 2003 at 14:49:05, Cees Hek said...
It was easy to miss in the email if you skimmed it, but he is looking for a C
based module, so any perl based solutions are out.
Whoops, you're right, I did just skim it.
The reason this question is mod_perl related is that he is doing
On Wed, Aug 27, 2003 at 15:45:11, Charlie Garrison said...
I haven't been 100% happy with any of the systems written by other
people so I've always just written my own. It's a rather simple
Do you also write the apache module for the frontend server? I'm very
competent at perl, but not
Issac Goldstand wrote:
You might want to look at Apache::Request for mod_perl. It's currently
almost ready for mod_perl2...
or meanwhile use CGI.pm 2.93 or higher.
- Original Message -
From: rkl [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 27, 2003 9:51 AM
Subject
printing to STDERR
...
==
If I use CGI instead of mod_perl, it is OK. I have all my STDERR messages at
myerror.log. But when I put my script in mod_perl environment then I have some
of the messages in myerror.log and some in standard Apache
Good evening,
I have done a bit of research and found some possible solutions, but none of
them seem to be exactly what I want. First, the problem I need to solve...
I need to protect resources in both the static (proxy) front-end and the
mod_perl back-end. I have been using standard http
Hi!
On Die, Aug 26, 2003 at 09:06:05 +1000, Charlie Garrison wrote:
I need to protect resources in both the static (proxy) front-end and the
mod_perl back-end. I have been using standard http authentication which works
pretty well except for not allowing a proper logout function and some
I've installed apache_1.3.27 and mod_perl-1.27. When I go to run the
tests in mod_perl-1.27/t (just running the first one), first it
complains that it couldn't start the server. But the server is actually
running. So I run modules/actions (commenting out the part of TEST that
tries to start
Can we fix the "list" so that when a person replies, it defaults to the list address and not the posters? This I think is what many of the "keep it on the list" comments come from.
This is the only list I am on that doesn't have a reply-to that defaults to the list (and I'm on more than 10).
On Tue, 2003-08-26 at 18:41, Bruce Tennant wrote:
Can we fix the list so that when a person replies, it defaults to
the list address and not the posters?
Read the following thread:
http://marc.theaimsgroup.com/?l=apache-modperlm=99790842623617w=2
- Perrin
--
Reporting bugs:
... :)
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org
--
mod_perl digest
August 11, 2003 - August 24, 2003
--
Recent happenings in the mod_perl world...
Features
o
, password);
my $response = $ua-request($f-press(submit));
$cookie_jar-extract_cookies($response);
$cookie_jar-save();
print $response-content if $response-is_success;
ie, non-SSL browser - proxy + mod_ssl + mod_perl
filter - server works for me for GET
If I do the same with IE, ie Tools-Internet
if I am
wrong)
Like SSL-enabled browser - Proxy (SSL, Apache) -
Proxy (non SSL, Apache, here goes filtering) -
another Proxy ( SSL, Apache) - Server (SSL)
So you try to use mod_perl 2.0 as a proxy, which decrypts the stream, does
something to it, encrypts it back and sends it further? I'm not sure
To the best of my knowledge, the 'proxy' that is used in LWP still cannot
support CONNECT style SSL proxies, meaning its very hit or miss if it
works - roughly 50/50 for the few hundred proxies ive checked recently.
try replacing *all* your $UA-proxy lines with
$ENV{HTTPS_PROXY} =
Hello,
I am trying to use as a proxy Apache 2.0 which
includes mod_proxy and mod_ssl.
I am trying to use mod_perl for parsing/changing
decrypted plain text HTML data passed over SSL.
maybe there are other ways to do this, let me know.
The script shows that it is theoretically possibly to
parse
Hello,
I'm trying to get some old mod_perl software (namely ProMP3
http://promp3.sourceforge.net/) to work under mod_perl2.
It uses Apache::Constants, but it couldn't find that module (duh), so I
too a stab in the dark and changed it to Apache::Const. When I try to
run that I get the error:
Can't
Harold Martin wrote:
Hello,
I'm trying to get some old mod_perl software (namely ProMP3
http://promp3.sourceforge.net/) to work under mod_perl2.
It uses Apache::Constants, but it couldn't find that module (duh), so I
too a stab in the dark and changed it to Apache::Const. When I try to
run that I
Ilia Rassadzin wrote:
Hello mod_perl,
I have some problems with filtering HTTPS traffic.
I modified for my needs FilterSnoop module from Stas
Bekman filter tutorial. It perfectly sees HTTP data,
but not HTTPS.
Does anyone have any suggestions(ideas) about how to
implement a filter which will see
On Sun, 2003-08-17 at 11:41, Perrin Harkins wrote:
On Fri, 2003-08-15 at 10:34, K Old wrote:
What's happening is that with use Apache::DBI uncommented in either
the httpd.conf or startup.pl Apache does not start.
Do you have something in your code that connects to a database during
On Mon, 2003-08-18 at 11:33, K Old wrote:
My problem was that I was not declaring PerlModule Apache::DBI in
httpd.conf BEFORE my PerlRequire /etc/httpd/conf/startup.pl. Also, I
was doing a use Apache::DBI in my startup.pl file, which I shouldn't
have done.
Sorry, that is not correct. It's
On Fri, 2003-08-15 at 10:34, K Old wrote:
What's happening is that with use Apache::DBI uncommented in either
the httpd.conf or startup.pl Apache does not start.
Do you have something in your code that connects to a database during
startup? That could be a problem. Also, what's the point of
Hello everyone,
I've set mod_perl up with Apache::DBI on several servers, both with
mod_perl from RPM's and building it myself, but I am having a horrible
time with a new server I've just built. Go easy, I'm still new at it,
though. And I welcome any and all constructive criticism for my config
I left out my version of Perl. I'm using 5.6.1 from RPM.
Kevin
On Fri, 2003-08-15 at 10:34, K Old wrote:
Hello everyone,
I've set mod_perl up with Apache::DBI on several servers, both with
mod_perl from RPM's and building it myself, but I am having a horrible
time with a new server I've
I am writing a mod_perl script using CGI.pm and Apache
1.3.28/Linux.
I am trying to figure out how to use Apache's
mod_autoindex to display a directories contents within
the output the CGI. Apache is configured correctly, I
am not asking for Apache help.
The end user will submit a form. One
Tim Howell wrote:
I'm currently using mod_perl 1.2.7 with Perl 5.8.0. If I want to test
Perl 5.8.1 RC4, how do I recompile Perl and mod_perl without having to
make other changes? Is there a simple way to do this upgrade?
http://perl.apache.org/docs/1.0/guide/install.html
It's not quite the truth...
You can do all that staff on Apache 1.3 with appropriate skills. See LWP
for example.
Thanks,
Slava
On Mon, 2003-08-11 at 14:06, Thomas Klausner wrote:
Hi!
On Mon, Aug 11, 2003 at 08:37:19AM -0700, Coexec wrote:
I am writing a mod_perl script using CGI.pm
I am getting up and running a server that wants mod_perl. The instructions
talks about a startup script. I'm very new, so I don't know how I'm
supposed to get this step completed.
Do I copy the provided script to a location? Do I edit an existing script?
Do I edit some configuration file
.
But when I do it from my mod_perl app, it sometimes jumps by two. I know the sequence will advance even if there's an error, but I'm not getting any error messages back from DBI.
Has anyone else run across something like this? I know this is kind of off topic, but it maybe related to mod_perl's
Do you have any code that might do a select to determine the value of the
sequence used?
Example:
INSERT blah blah blah;
SELECT currval(sequence_name);
or somethign like that?
If so, the SELECT may be incrementing the counter and that would explain
the jump by 2 your seeing.
There is a
Thomas Klausner wrote:
Hi!
On Mon, Aug 11, 2003 at 04:37:45 -0500, Slava Bizyayev wrote:
It's not quite the truth...
You can do all that staff on Apache 1.3 with appropriate skills. See LWP
for example.
If you mean to grab the output of e.g. mod_autoindex by issueing a sperate
request using
Hi!
On Mon, Aug 11, 2003 at 04:37:45 -0500, Slava Bizyayev wrote:
It's not quite the truth...
You can do all that staff on Apache 1.3 with appropriate skills. See LWP
for example.
If you mean to grab the output of e.g. mod_autoindex by issueing a sperate
request using LWP, that's definitly
Yeah, actually here is the code snippets I use.
Table def:
CREATE SEQUENCE s_league_lid minvalue 1;
CREATE TABLE t_League ( /* lid integer DEFAULT nextval('s_league_lid') PRIMARY KEY,*/ lid SERIAL PRIMARY KEY NOT NULL, name VARCHAR(20) UNIQUE NOT NULL, numdiv integer,
draft integer, last_wvr
--
mod_perl digest
July 28, 2003 - August 10, 2003
--
Recent happenings in the mod_perl world...
Features
o
Hello mod_perl,
I have some problems with filtering HTTPS traffic.
I modified for my needs FilterSnoop module from Stas
Bekman filter tutorial. It perfectly sees HTTP data,
but not HTTPS.
Does anyone have any suggestions(ideas) about how to
implement a filter which will see HTTPS?
Thanks
On Mon, Aug 11, 2003 at 08:37:19AM -0700, Coexec wrote:
The end user will submit a form. One of the values in
that form will be a path on the local web server. So
in the return of the CGI, I want to include the
results of Apache's autoindex. I cannot figure out
how to do it. If I could
Title: Q: How do I upgrade Perl w/mod_perl?
I'm currently using mod_perl 1.2.7 with Perl 5.8.0. If I want to test Perl 5.8.1 RC4, how do I recompile Perl and mod_perl without having to make other changes? Is there a simple way to do this upgrade?
Thanks! =)
--TWH
Hi!
On Mon, Aug 11, 2003 at 08:37:19AM -0700, Coexec wrote:
I am writing a mod_perl script using CGI.pm and Apache
1.3.28/Linux.
I am trying to figure out how to use Apache's
mod_autoindex to display a directories contents within
the output the CGI. Apache is configured correctly, I
am
mod_perl knowledge is not good enough to help here - and besides I am in a fight of
my own with Apache::Session::Postgresql :(
-- Iphigenie, [EMAIL PROTECTED] on 04/08/2003
Michael G Schwern wrote:
The problem is likely the MY::dynamic hack in c/Makefile.PL. 6.05 and
previous had this:
dynamic :: Makefile $(INST_DYNAMIC) $(INST_BOOT)
6.06_01 and up have this
dynamic :: $(FIRST_MAKEFILE) $(INST_DYNAMIC) $(INST_BOOT)
for some reason, MY::dynamic is trying to lop
On Mon, Aug 04, 2003 at 08:46:27AM +0100, Steve Hay wrote:
I tried changing the s/// to:
$string =~ s{ \$\(INST_DYNAMIC\)}{}g;
$string =~ s{ \$\(INST_BOOT\)}{}g;
(I've dropped the trailing spaces in the patterns), which produced:
dynamic :: $(FIRST_MAKEFILE)
$(NOECHO) $(NOOP)
1 - 100 of 6247 matches
Mail list logo