Am Sa, 2003-11-29 um 09.49 schrieb John Michael:
> But This:
>
> if ($h->r->connection->aborted) {
>
> would not be called until this
>
> $h->r->send_fd($fh);
>
> were already through. For a large file, wouldn't that it too late.
> or would a real aborted connection cause send_fd($fh) to go a
Hi,
I'm not sure whether I'm right or wrong. Your problem is that the
logging phase is coming after the PerlHandler-phase and that $r->content
from the PerlHandler-phase has already consumed the posted data.
To come across this problem you could use Apache::Request which works as
a singleton a
It's:
8<
$r->connection->remote_ip
8<
See:
http://perl.apache.org/docs/1.0/api/Apache.html#_cr_E_gt_connection
Ian Joyce wrote:
This may be day 1 stuff for most of you, but...
What's the quckest way to determine th
new to all of this...
>
> Cheers,
> --Sasan
--
\\\||///
\\ - - //
( @ @ )
-oOo--( )--oOo----------
___ ___tom schindl
o __/ /
I go with you in a dev environment still it decreases performance so on
a production server where modules should not change every minute I never
use it.
Nevertheless I don't know exactly how Apache::Reload is working but I
suppose it deletes the module in %INC and reloads it using perls
standa
e to check the previous one, it is OK for the previous
> one to never have been seen.
>
> I am using Apache::Registry.
>
> Any ideas?
>
> -Ethan
--
\\\||///
\\ - - //
( @ @ )
-oOo--( )--oOo----------
You don't have to parse the query-String yourself,
use Apache::Request
Tom
Mike Ni wrote:
Hey everyone,
I am having a tough time to parse the "query_string".
Does anyone know where I can find man page about
how the Apache construct the "query_string"?
Additionlly, is it right that Apache will p
As far as I know not but you could pass information using $r->pnotes(),
maybe you could also use
my $apr = Apache::Request->instance($r);
In all modules in the chain and use $apr->param() to set/reset different
things.
Tom
dorian wrote:
is there any way currently to take the content of a requ
You could use
$r->read($buf, $bytes_to_read, [$offset])
if I'm not completely wrong.
See:
http://perl.apache.org/docs/1.0/api/Apache.html#_r_E_gt_read__buf___bytes_to_readoffset__
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
Li
But there's nobody reading the STDIN if you avoid doing something like this:
my $cgi = new CGI();
my $rq = Apache::Request->new($r);
my $content = $r->content();
Why would you do that if you know that none of these methods will work
because you don't get a real post.
Tom
simran wrote:
You could
simran wrote:
But there's nobody reading the STDIN if you avoid doing something like this:
my $cgi = new CGI();
my $rq = Apache::Request->new($r);
my $content = $r->content();
Why would you do that if you know that none of these methods will work
because you don't get a real post.
I wish i coul
Why are you not using config files and only set the path to this file
like this.
PerlSetVar my_cnf /etc/vhostconfs/80.cnf
PerlSetVar my_cnf /etc/vhostconfs/81.cnf
80.cnf
-8<-
HTML_TEMPLATE_ROOT = "/websites/80/templates"
->8-
You could read the config-file when y
e s t s o l u t i o n . a tEDV Systemhaus GmbH
------------
tom schindlleiter softwareentwicklung mobile ++43 664 3145958
eduard-bodem-gasse 8/3A-
Hi,
there's a small issue with the documentation of Apache::RequestRec,
where it states in synopsis that one can use $r->dir_config without
loading Apache::RequestUtil. One could remove $r->dir_config or also
load Apache::RequestUtil.
I'd prefer to remove it because its documented as a method
You can not run this script in the shell because it expects a
Apache::Request-Object which is passed by Apache::Registry to you. Why
you are getting Apache::Request is because Apache::Registry is wrapping
your "CGI"-Code in an subroutine. The code run inside mod_perl looks
something like the fo
Hi,
system will wait until the executed shell-script has finished. I'd
rather guess that you are not allowed to call the commandline programm
you'd like to call.
Did you get any thing in the error_log? How do you call the system-command:
* system
*``
* qx
Maybe you could show us the code you'r
Hi,
have either set a ScriptAlias like
---8<---
ScriptAlias /cgi-bin/ "/var/www/main/sub/cgi-bin/"
---8<---
or an AddHandler
---8<---
AddHandler cgi-script .cgi
---8<---
s
EDV Systemhaus GmbH
------------
tom schindlleiter softwareentwicklung mobile ++43 664 3145958
eduard-bodem-gasse 8/3A-6020 innsbruck fa
Hi,
this has nothing to do with mod_perl you should give it a try at
perl5porters. See http://lists.perl.org/.
Tom
Bheema Rao Merugu, BSC, Ambattur, Chennai wrote:
Hi,
Please suggest me on how to compile these versions of perl, moreover
I am able to compile 5.8.3 of perl on AIX5.2.
the e
Nathanial P. Hendler wrote:
I'm not sure if this is a style or function question. I'd like to have a
module called Debug.pm that has a variable in it that if set to '1' by
anything (main script, or other modules) will print debug messages.
Reading the Orielly "Practical mod_perl" I thought it was
Nathanial P. Hendler wrote:
I'm not sure if this is a style or function question. I'd like to have a
module called Debug.pm that has a variable in it that if set to '1' by
anything (main script, or other modules) will print debug messages.
Reading the Orielly "Practical mod_perl" I thought it was
yone explain to me why I can't have a global variable when I put
Debug into its own file?
Can anyone tell me how to accomplish what I'm after?
Thanks,
Nathanial Hendler
Tucson, AZ USA
http://retards.org/
--
b e s t s o l u t i o n . a tEDV Systemhaus GmbH
Nathanial P. Hendler wrote:
Ok, so I'm convinced that I should be using Log::Log4Perl. I'm using
ModPerl::Registry and was wondering if people could share their approaches
to configuration variables and database handlers under mp2.
I'd like to have a config module, that holds things like:
$docum
More perlish would be:
insert_head => unshift
insert_tail => push
Although these method-names are perfect.
next($b) => next()
prev($b) => prev()
I don't know whether my conception is right but $bb is something like an
iterator. Why does one have to pass $bb->next($b) $b, wouldn't
$bb->next() that
eos_create => create_eos would sound more like you would use it in a
human language although I'm also happy with eos_create.
flush_create => create_flush same as above
Tom
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette:
well is the "perl" really executing your perl or the one that comes with
the system?
# which perl
If you don't have uninstalled the default perl your command will execute
the system perl because its located into /usr/bin/perl. Where's your
personal built perl installed?
# perl -V
will tell you
Ok. I have no idea of the C-API so things should be fine.
Tom
Stas Bekman wrote:
Tom Schindl wrote:
More perlish would be:
insert_head => unshift
insert_tail => push
Although these method-names are perfect.
I should have mentioned that we want to stay as close as possible to the
C API and
Hi,
I would download apache, perl and mod_perl and compile it my own. I
would not uninstall anything from your 7.3-rpm-packages. You said that
you want to switch to a newer OS version.
Please also keep in mind if you want to switch e.g. to Fedora, Mandrake,
SuSE that they ship with apache2 + mod
i o n . a tEDV Systemhaus GmbH
------------
tom schindlleiter softwareentwicklung mobile ++43 664 3145958
eduard-bodem-gasse 8/3A-6020 innsbruck
7;ll see. I had a friend try it and they can't get it to
work either - is this an Apache 2.0 issue rather than mod_perl itself?
I do appreciate your help!
-Jesse
-----Original Message-
From: Tom Schindl [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 16, 2004 5:27 AM
To: Jesse Stay
Cc:
Huilli Liu wrote:
Hi All,
Recently I are migrating cgi to mod_perl but it is running out of the
problem for IO::File.
Here are my original codes:
Try it like this:
-8<-
use Apache::RequestUtil ();
$template_file = new
IO::File($r->document_root()."templ
hi all,
preface: I'm not 100% sure that this is a mp2 resp. AuthDBI problem,
this might as well be an apache problem or even worse my own blindness.
We've a problem with a previously working configuration that looks
approximately like this (httpd.conf):
-CUT-
AuthName "gimme all
Hi,
why are you not using the header functions provided by mod_perl, the
problem you're having is described here:
http://perl.apache.org/docs/2.0/user/coding/coding.html#Generating_HTTP_Response_Headers
Things used here:
http://perl.apache.org/docs/2.0/api/APR/Table.html#C_set_
http://perl.apache.o
print $_, ": ", $self->{headers}->{$_}, "\n" for keys
%{ $self->{headers} };
print "\n";
}
package main;
use strict;
use warnings;
our $HEADERS = new Headers;
$HEADERS->print();
print 1;
---------
On Thu, 2004
Stas Bekman wrote:
Tom Schindl wrote:
[...]
The very first URL, that you've quoted Tom, mentions that for certain
headers you ought to use special Apache methods. Which is the case for
content_type, no_cache and a few others. Apache does more things than
just setting those headers.
Stas Bekman wrote:
[...]
You set it explicitly, as in your example. Again, you need to use the
special methods only for some of the headers. May be that section should
explicitly list all those special headers. Patches are welcome.
I forgot that we have a whole chapter on that topic:
http://per
Stas Bekman wrote:
Tom Schindl wrote:
Stas Bekman wrote:
Tom Schindl wrote:
[...]
The very first URL, that you've quoted Tom, mentions that for certain
headers you ought to use special Apache methods. Which is the case
for content_type, no_cache and a few others. Apache does more things
Hi,
Is Apache allowed to change into this directory/read the file, try to
move it to e.g. /tmp and see if it works. You could also insert a
print-Statement and you should see the output on the console when apache
is started (stop/start not restart). I'm not sure but I think a restart
will not r
Yes.
David Arnold wrote:
All,
Is this OK?
# File: startup.pl
use lib qw(/home/darnold/modperl/);
use lib qw(/usr/local/apache/module/);
1;
Where I've mkdir the module directory in /usr/local/apache.
Can't test at the moment until I figure out my last question.
Thanks.
Reclaim Your Inbox!
http://ww
Tom Schindl wrote:
Hi,
Is Apache allowed to change into this directory/read the file, try to
move it to e.g. /tmp and see if it works. You could also insert a
print-Statement and you should see the output on the console when apache
is started (stop/start not restart). I'm not sure but I th
ee, those two extra locations in my startup are not included in INC. If I
do this,
#! /usr/local/bin/perl -w
# File: Quiz1Solns.pl
use lib qw(/home/darnold/modperl/);
use strict;
use WebDB;
.
.
.
Then all is well.
Hmmm.... Any suggestions?
At 07:25 AM 7/23/04 +0200, Tom Schindl wrote:
Hi,
Is Apache
EDV Systemhaus GmbH
------------
tom schindlleiter softwareentwicklung mobile ++43 664 3145958
eduard-bodem-gasse 8/3A-6020 innsbruck fax ++43 512 935
Stas Bekman wrote:
Tom Schindl wrote:
[...]
That's not special to startup.pl, but to any files loaded via PerlModule
and PerlRequire. And it's not true if PerlFreshRestart is used or
mod_perl is built as DSO. This is documented here:
http://perl.apache.org/docs/1.0/guide/c
Stas Bekman wrote:
Tom Schindl wrote:
Stas Bekman wrote:
Tom Schindl wrote:
[...]
That's not special to startup.pl, but to any files loaded via
PerlModule and PerlRequire. And it's not true if PerlFreshRestart is
used or mod_perl is built as DSO. This is documented here:
http://perl.
Boris Zentner wrote:
Am Mittwoch 28 Juli 2004 06:36 schrieb Chris Ochs:
We have our own application server built on mod perl and the template
toolkit. Most of the application specific sql queries all run as a single
user which is great for Apache::DBI. Every end user also has 3-4 tables
they can
Ian Michell wrote:
Hi,
I have a slight problem. I want to know it is possible to use a variable
to set part of the @INC path.
Although that's a little bit off topic and much more a perl question.
Yes. You can.
testlib/MYTEST.pm
8<
print "LOADED\n";
1;
-
Hi,
well I don't know exactly what's going wrong but it seems that your
mod_perl misses building with Transhandler hooks. Normally I let
mod_perl also build/install my apache and secondly you should issue the
following make file command:
---8<---
[EMAIL PROTECTED
the reason? What's "SSL banaries"?
Any others coould help me? Thanks a lot!
--- Tom Schindl <[EMAIL PROTECTED]> çææï
Hi,
well I don't know exactly what's going wrong but it
seems that your
mod_perl misses building with Transhandler hooks.
Normally I let
mod_perl
Hi,
Are you sure that's working as you expected? If I got you right I'm afraid
I have to disappoint you but this only works if the second request is
handled
by the same apache-child as the first one and there's another problem.
If you come back one day later and hit the same apache-child which al
Hi,
the best thing would be:
1. Read docs at perl.apache.org
2. Get one of the various good books which are out there:
e.g.
http://www.amazon.de/exec/obidos/ASIN/0596002270/qid=1091174088/ref=sr_8_xs_ap_i1_xgl/028-6908240-1456549
ModPerl List wrote:
How do I actually use mod_perl once I install i
Ask has already stated that he's going to include it in his next
release, I have already filed a doc-patch at rt.cpan.org
Tom
Stas Bekman wrote:
Boris Zentner wrote:
Hi,
Am Mittwoch 28 Juli 2004 12:20 schrieb Tom Schindl:
Boris Zentner wrote:
[...]
# bypass Apache::DBI
$dbh = DBI->
Hi,
Well now you need to recompile mod_perl using the new perl you compiled
your own,
I also recommend that you install your own apache. This way you can use
the latest versions
with the fewest bugs. If you are running into problems it is most likely
that people will help you
when running the la
name
and their file, the file was being opened twice which made parsing a
bit tricky. All I want is to open the file once. I am open to more
elegant suggestions though :-)
Dp.
On 30 Jul 2004 at 2:41, Tom Schindl wrote:
Hi,
Are you sure that's working as you expected? If I got you right I
Dermot Paikkos wrote:
Hi,
[...]
These reports are actually users clock-in/clock-out times for the
week. So the reports would are generated weekly printed and rarely
used again. The issue was that if the HR person uses IE5/6 the
Oh. I see not a very heavy loaded service :-). Are you running the
Tim Howell wrote:
I've just installed Apache2 and mod_perl2. I'm not quite sure what I
need to add to my httpd.conf to enable mod_perl on a directory. I'm not
doing anything fancy--I just want to have a directory where scripts are
executed with mod_perl rather than traditional CGI. I've read the
Hi,
I've never used $query->Vars but as far as I know Apache::Request does
not provide a method like this. If the rest of your app depends on this
behaviour you'll have to construct it your own like this:
--8<--
my %params = ();
while( $apr->param ) {
$params{$
Arnaud Blancher wrote:
[...]
third
i put a 'use warning' in the script.
In the apache error log i see the warning. that's ok
but i must restart the serveur when i change a module, that's more boring .
is it better way to test ?
Are you looking for http://perl.apache.org/docs/2.0/api/Apache/Reload.
Chris Hughes wrote:
Fails as Apache-AuthenNTLM attempts to use Apache::Connection::remote_host
to alter the remote hostname so it can check to see if is the same
connection when it is next called:
From AuthenNTLM.pm:
539 # we cannot attach our object to the connection record. Since in
540
Are you looking for this:
-->8--
use constant MP2 => ($mod_perl::VERSION >= 1.99_12);
-->8--
Tom
John Siracusa wrote:
I'm looking for the best, most reliable way to determine if I'm running
under mod_perl 1 or 2, or not under mod_perl at all. I suppo
27;HTTP_INTERNAL_SERVER_ERROR','DECLINED','HTTP_FORBIDDEN','OK');
}
}
## proceed with your code
->8-
Tom
John Siracusa wrote:
On Mon, 20 Sep 2004 21:19:58 +0200, Tom Schindl <[EMAIL PROTECTED]> wrote:
Are you looking for this:
--
Hi,
but the test-suite runs fine at least on my cvs checkout. You don't show
which modules you're loading. Try to load the same modules
"t/response/TestModperl/cookie.pm" does.
These are:
* use Apache::RequestRec ();
* use Apache::RequestIO ();
Tom
[EMAIL PROTECTED] wrote:
1. Problem Description
Stas Bekman wrote:
Thomas Schindl wrote:
When running with mp2 and worker mpm the case is slightly different:
1. Apache-starts and starts Apache-Child 1 which spawn Thread 1.1 and
Thread
1.2 and Apache-Child 2 which spawn Thread 2.1 and Thread 2.2
2. User1 hits Apache-Child 1 Thread 1.1 and sets t
Stas Bekman wrote:
Tom Schindl wrote:
Thanks Stas for the full explaination. Indeed I didn't know exactly
what's really going on behind the scences. Thanks for your
explaination I'm always learning something new when reading your
answers.
Thanks :)
Still on the one hand I recogn
[EMAIL PROTECTED] wrote:
Greetings,
The problem is that the script takes more than 3 or 4 seconds to execute
sometimes.
So we have a script that takes 3-4 seconds to execute, each varaiable is
defined with my $var. and when the script ends it resets the value of the
variables using undef.
If multip
Tom Schindl wrote:
[EMAIL PROTECTED] wrote:
Greetings,
The problem is that the script takes more than 3 or 4 seconds to execute
sometimes.
So we have a script that takes 3-4 seconds to execute, each varaiable is
defined with my $var. and when the script ends it resets the value of the
variables
Harald Meier wrote:
Dear list members,
I am using Apache-2.0.50 and mod_perl-1.99_16.
I would like to know the most secure, best, and fastest way to parse
arguments.
I tried libapreq, but got some strange errors, arguments stayed
persistent from one request to the next and other strange things ha
Alex Greg wrote:
Geoffrey Young wrote:
[...]
Thanks for your response. Sorry I wasn't clear; the httpd processes
don't actually kill the server, they just slow Apache right down to the
point at which it doesn't respond to requests any more. I am still able
to get onto the box and kill the proce
Martin Moss wrote:
All,
I have an interesting issue. I'm in the process of
whitelabeling a website, but part of the process I
need to whitepabel is hosted by an outsourced company.
Rather than get the outsource company to change their
html, I would rather download and edit the html from
the outsour
Frank Wiles wrote:
On Tue, 2 Nov 2004 11:24:40 -0500
Jason Dixon <[EMAIL PROTECTED]> wrote:
On Nov 2, 2004, at 11:15 AM, Frank Wiles wrote:
I'm thinking Apache::compat might be confusing it. Can you try
running without it?
Commented out Apache::compat, same error. :(
Unfortunately, I think
[EMAIL PROTECTED] wrote:
'SCRIPT_NAME' => '/perl/test.pl',
'SERVER_NAME' => 'localhost',
'SERVER_ADMIN' => '[EMAIL PROTECTED]',
'HTTP_ACCEPT_ENCODING' => 'gzip,deflate',
'HTTP_CONNECTION' => 'keep-alive',
'REQUEST_METHOD' => 'GET',
'HTTP_ACCEPT' =>
'text/xml,application/xml,application/xhtml+x
Carl Brewer wrote:
sub get_uploaded_image {
my ($name, $max_size, $r) = @_;
use Apache::Upload;
my $req = Apache::Request->new($r);
my $upload = $req->upload($name);
my $upload = $r->upload($name);
print STDERR $upload->filename();
}
They're pretty crude, but hash_post does what
Carl Brewer wrote:
Tom Schindl wrote:
Carl Brewer wrote:
sub get_uploaded_image {
my ($name, $max_size, $r) = @_;
use Apache::Upload;
my $req = Apache::Request->new($r);
Apache::Request->instance($r)
just use Apache::Request->instance($r) and you're save but you
definat
Hi,
To help you we have see at least the output of your error-log and the
relevant parts of the httpd.conf.
Tom
[EMAIL PROTECTED] wrote:
We are trying out an application that worked in Apache 1 in Apache 2 and
it's getting an "internal error or misconfiguration" and "200 OK" error.
The message
Are you talking about mp1? This would be a possibility but with a
significant performance hit. You could turn it the other wayround
because you know when your server is starting:
http://perl.apache.org/docs/1.0/api/Apache.html#Global_Variables
Because I'm at it where do I find these variables in
Mark S Lowe wrote:
I have a need to create my own suffix and hijack the output for page
rendering code, and then re-output the page with my own OK. I have the
O’Reilly book “Practical mod_perl” and there is a great example of
this on page 114 in Chapter 4. However, the example is incomplete. The
Sönke Ruempler wrote:
Stas Bekman wrote on Tuesday, November 16, 2004 10:03 PM:
Right. It's documented here:
http://perl.apache.org/docs/1.0/guide/troubleshooting.html#_ex
it_signal_Segmentation_fault__11___with_mysql
I use PHP 5.0. There is no bundled mysql library with PHP anymore. I use
Beberle wrote:
Ok, I've read the documentation and searched the
archives for a similar problem but no luck. If anyone
has any suggestions, I'd be most grateful.
Here's my situation:
I've got Apache 2.0.46 with mod_perl 1.99_09 (called
2.0-tobe in the documentation) both of which were
installed by
jonathan vanasco wrote:
I built for mod_perl1 a customer webapp framework
It functions as 2 perl modules/package sets
/lib/WebAppFramework
/lib/Website
For each website/webapp, i make a new /lib/Website that subclasses the
WebAppFramework (which handles users, email, webpage generation, etc
-- an
Jonathan Vanasco wrote:
package Website1;
my $DB = new Website1::DB();
# make a new ref for the website
sub handler
{
my $r = shift;
my $user = new Website::User( \$r, \$DB );
my $page = new Website::Page( \$user , \$DB );
my $html = $page->
Sean T Allen wrote:
apache 2.0.52
mod_perl 1.99_17
perl 5.8.0
code in question:
package ProxyRemoteAddr;
use Apache::Const qw(OK);
use strict;
sub handler
{
my $r = shift;
return OK unless ( $r->connection->remote_ip eq '127.0.0.1' ) &&
$r->header_in( 'X-Forwarded-For' )
Sean T Allen wrote:
Tom...
I see a 'AuthenNTLM' patch.
but nothing specific to remote ip...
which patch am i looking for on that page?
Tom Schindl wrote:
Uups:
http://gossamer-threads.com/lists/modperl/modperl/74104?search_string=Report%20on%20mp2%20accessors%20in%20apache_structures.map
Perrin Harkins wrote:
On Mon, 2004-11-22 at 14:01, Faisal Nasim wrote:
It compiles and it runs great but for no reason it all the scripts randomly
gives
a 500 error! I was using XML::Simple so I realized I might have some unclosed
file handles which cause a 500 after several hits. This is what
he complete error-message and your version of
XML::LibXML.
perl -MXML::LibXML -le 'print " VERSION: $XML::LibXML::VERSION";'
Tom
Regards,
Faisal Nasim
http://fnasim.blogspot.com/
At 02:04 AM 11/23/2004, Perrin Harkins wrote:
On Mon, 2004-11-22 at 15:50, Tom Schindl wrote:
W
Stas Bekman wrote:
That's really a question to httpd developers, mod_perl just provides the
perl API for the Apache C API.
Granted we could do that behind the scenes, but it's not always the
desired behavior so I'm not sure we should. May be an option argument
could be passed to do the work?
Perrin Harkins wrote:
On Fri, 2004-12-03 at 11:17 -0800, Bill Whillers wrote:
Am I more or less efficient than just creating the hashes directly from
hitting the database everytime the application needs it? The database is
*not* under heavy load, at all.
If the data is small enough, loading it i
Hi,
is apache allowed to change to your home directory?
Tom
Brent Clark wrote:
Hi
Would anyone care to share some info on setting up a CGI.
I keep getting this error:
[Tue Dec 7 09:48:47 2004] [error] [client 192.168.111.214] Premature
end of script headers: /home/gevens/cgi-bin/ecco/scripts/agent
Brent Clark wrote:
Hi
Would anyone care to share some info on setting up a CGI.
I keep getting this error:
[Tue Dec 7 09:48:47 2004] [error] [client 192.168.111.214] Premature
end of script headers: /home/gevens/cgi-bin/ecco/scripts/agent/logon.pl
and
[2004-12-07 10:17:28]: info: (target/actual) u
Brent Clark wrote:
Oh. Think now I've got it. You are running into suexec-problems
because your Root-Apache is running under anonther user than your
V-Host-Apache.
Apache is now using suexec to execute your scripts and because your
script directory is not part of the suexec-path it cannot execu
Beberle wrote:
Hi,
I found a similar question posted in the newsgroups
but no one seemed to have a solution. Here's what I'm
trying to do. I have a web page that does a POST to a
remote server. Basiscally, I'm trying to read the
post data and if it matches a regex, I want to
redirect it. Otherw
[...]
You've just committed me to one or the other. Ick. I install
mod_perl1, and I get an Apache::Request that works with mod_perl1.
I install mod_perl2, and I get an Apache::Request that works with mod_perl2.
This is unacceptable.
But you can run both versions of mod_perl side by side. See
ht
Although I doubt this has something todo with mod_perl which this list
is dedicated to you should at least state:
* Version of DBI.pm
* Maybe also the part of DBI.pm around line 514
* try to run a programm on the command-line using DBI if it also fails
=> upgrade DBI.pm (are the version on the
Well you are not stating which mp-version you are running but for:
mp1:
http://perl.apache.org/docs/1.0/guide/modules.html#Apache__PerlVINC___Allows_Module_Versioning_in_Location_blocks_and_Virtual_Hosts
mp2:
http://perl.apache.org/docs/2.0/user/config/config.html#C_Parent_
Tom
Henning Me
You don't state which Version of mp you are using but
Yes you can in both generations, by using the
Apache::Table/APR::Table-Object.
I have not tested it but as far as I understand the docs
this could should work.
8<
use mod_perl;
my $apr = Apache::Request->new($r)
Hi,
I'm supporting a request on howto solve a memory problem with a farily
huge XML-Document parsed using XML::LibXML and not sure whether I'm
telling the truth when saying:
1.
Loading/Parsing the XML before Apache forks its children and not
modifying the data from this point on all apache/mp c
Thanks Perrin your answers are as I suspected.
Tom
Perrin Harkins wrote:
Tom Schindl wrote:
Loading/Parsing the XML before Apache forks its children and not
modifying the data from this point on all apache/mp children will
share the same data and it would not be copyied to each of them,
copying
Nicolas George schrieb:
> Hi.
>
> There is an increasingly popular technique to emulate server-initiated push
> over HTTP. I'm sure everyone here knows it well, but for the sake of
> completeness: the clients sends a XMLHttpRequest to the server in the
> background; the server does not answer it i
Am Mo, 2003-10-06 um 20.15 schrieb Perrin Harkins:
> On Mon, 2003-10-06 at 13:36, Stas Bekman wrote:
> > But be careful with it. If you use the threaded mpm, it's all cool. If you use
> > prefork it'll create 2 perl interpreters and more inside each httpd process
> > gobbling up a lot of RAM, som
As far as I know Apache::Request is much smaller and faster than CGI
which is bloated with many things you never need.
If you don't have DBD::MySQL already installed you are running into same
problem because to build DBD::MySQL you also need gcc. You will also
need the devel-packages of mysql.
Be
Strange. I did completely the same last week on my mdk-9.2 installation
and no problem.
Have you really used the perl Makefile.PL call I did? The mod_perl
Makefile.PL builds your apache automatically.
I'd suggest removing all files and starting once more. Simply put your
apache.tar.gz and mod_per
No that's not right. At least the tar.gz I downloaded does ***NOT***
include any mod_perl, anybody could correct me here but I think it
should not get to the archives that apache ships with mod_perl, and one
does not have to download it.
I think that your mod_perl is coming from all commands/compi
1 - 100 of 318 matches
Mail list logo