On Tue, 15 Aug 2000, Gunther Birznieks wrote:
Is there an ETA on when this will be out?
I know everyone is busy, but I just figured I would ask. There have been
hundreds of template messages generated in the last weeks on this topic,
and then it seems to have gone a bit quiet (as usual).
Whilst we're on the subject of templates, would anyone care to comment
on how they fit with content-negotiated documents? I'm looking at
a document for multiple language using Apache
MultiViews. (index.html.es, index.html.jp etc). Does this even work
with SSI or Apache::SSI?
TIA,
Dave
--
Hi,
Could you have a look at the lines and answer the question ..
---
sub foo {
my $dbh = shift;
my $sql = ...
my $sth = $dbh-prepare($sql);
$sth-execute;
$sth-finish;
}
===
Do I always need to call $sth-finish? Wouldn't it be automaticly called
when
sub
as written in the manpage, this is rarely used, it will be called for you
when the handle is going out of scope, but if something is still left in the
buffer some warnings will be generated.
-Original Message-
From: Vladislav Safronov
To: [EMAIL PROTECTED]
Sent: 8/15/00 7:26 PM
Subject:
On Tue, 15 Aug 2000, Vladislav Safronov wrote:
Hi,
Could you have a look at the lines and answer the question ..
---
sub foo {
my $dbh = shift;
my $sql = ...
my $sth = $dbh-prepare($sql);
$sth-execute;
$sth-finish;
}
===
Do I always need to call
From: Vladislav Safronov [mailto:[EMAIL PROTECTED]]
sub foo {
my $dbh = shift;
my $sql = ...
my $sth = $dbh-prepare($sql);
$sth-execute;
$sth-finish;
}
===
Do I always need to call $sth-finish? Wouldn't it be
automaticly called when
sub foo ends (when
From: Matt Sergeant [mailto:[EMAIL PROTECTED]]
On Fri, 11 Aug 2000, Henrik Tougaard wrote:
With this simple .asp page I get an error:
Fiks:test Start="b" /Fiks:test
[My XMLSubMatch is set to Fiks:\w+ - the name of the
subroutine doesn't
matter]
It seems as if the '' in
On Tue, 15 Aug 2000, Henrik Tougaard wrote:
XML attributes can't contain "" or "" characters, or the
same quote that
they are surrounded by. The following are the encodings you can use
(and XMLSubsMatch needs to unravel):
= "lt;"
= "gt;"
= "amp;"
" = "quot;"
On Tue, 15 Aug 2000, Vladislav Safronov wrote:
Hi,
Could you have a look at the lines and answer the question ..
---
sub foo {
my $dbh = shift;
my $sql = ...
my $sth = $dbh-prepare($sql);
$sth-execute;
$sth-finish;
}
===
Do I always need to
On Tue, 15 Aug 2000, Vladislav Safronov wrote:
"my" (perl's my) variables doesn't always get destoyed, does it Perl's
documentation say that "my" vars are the most safe since they get destroyed
when they get out of scope ...
I said this was a bug in Perl, although I don't think that
Matt Sergeant [EMAIL PROTECTED] wrote:
This can be demonstrated with a very simple object class with a DESTROY
method. There's a message somewhere in the p5p archives about this from
me.
That's
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2000-03/msg00604.html
to save anyone else
Hi,
I'd appreciate some help with a nasty little intermittent problem.
I'm running...
Apache/1.3.9 (Unix) mod_perl/1.21 mod_ssl/2.4.9 OpenSSL/0.9.4
on a SuSE 6.2 box (2.2.10 kernel)
Mostly everything is fine, but now and then the following error appears. When
it does, it occurs every few
Ok. I think, the answers clear the problem, but I have yet more question.
What can you say about this code? is it ok (overwriting previous handle)?
==
sub foo {
my $dbh = shift;
my $sql1 = "select *...
my $sql2 = "select *...
my $sth = $dbh-prepare($sql1);
Follow up on this.
script1.pl(set FOO1 env)
===
#!/usr/local/bin/perl
print "Content-type: text/html\n\n";
print "PID = $$BR\n";
print "SCRIPT1 with FOO1BR\n";
#local %ENV = %ENV;
$ENV{FOO1} = "foo1";
print map { "$_ = $ENV{$_}BR\n"; } sort keys %ENV;
$command = "dump_env";
print
On Tue, 15 Aug 2000, Vladislav Safronov wrote:
Ok. I think, the answers clear the problem, but I have yet more question.
What can you say about this code? is it ok (overwriting previous handle)?
[snip]
Well it depends on the DBMS. For example Sybase might not like it if you
haven't read
Matt Sergeant wrote:
On Tue, 15 Aug 2000, Vladislav Safronov wrote:
Hi,
Could you have a look at the lines and answer the question ..
---
sub foo {
my $dbh = shift;
my $sql = ...
my $sth = $dbh-prepare($sql);
$sth-execute;
$sth-finish;
On Tue, 15 Aug 2000, Keith G. Murphy wrote:
(Boggle) Really? 'My' variables going out of scope don't always get
freed up? Or is this strictly an object thing with DESTROY?
Well why would you care if my $str = "hello world" didn't get freed via
this bug? It only matters for objects that do
Matt Sergeant writes:
On Tue, 15 Aug 2000, Vladislav Safronov wrote:
Ok. I think, the answers clear the problem, but I have yet more question.
What can you say about this code? is it ok (overwriting previous handle)?
[snip]
Well it depends on the DBMS. For example Sybase
On Tue, 15 Aug 2000, Michael Peppler wrote:
Matt Sergeant writes:
On Tue, 15 Aug 2000, Vladislav Safronov wrote:
Ok. I think, the answers clear the problem, but I have yet more question.
What can you say about this code? is it ok (overwriting previous handle)?
[snip]
Matt Sergeant writes:
On Tue, 15 Aug 2000, Michael Peppler wrote:
Matt Sergeant writes:
On Tue, 15 Aug 2000, Vladislav Safronov wrote:
Ok. I think, the answers clear the problem, but I have yet more question.
What can you say about this code? is it ok
On Tue, 15 Aug 2000, Tom Mornini wrote:
It is my understanding of the DBI docs that you only need to call
$sth-finish when you DON'T fetch all the rows that the $sth has ready to
return.
From "Writing Apache Modules with Perl and C":
"You should still call finish() at the end of each
What is the proper way to take the filehandle provided by $upload-fh and write the
file to disk? I seem to be having buffering
issues w/ the following (file is truncated):
if (open(OUTFILE, "$u_fullpath")) {
print OUTFILE $buffer while read($fh, $buffer, 8*1024);
} else {
...
}
On Tue, 15 Aug 2000, Ian Mahuron wrote:
What is the proper way to take the filehandle provided by $upload-fh and write the
file to disk? I seem to be having buffering
issues w/ the following (file is truncated):
if (open(OUTFILE, "$u_fullpath")) {
print OUTFILE $buffer while
Hello,
I need to write a (new) Apache module that uses embedded Perl in a
high-load server environment.
While this is not directly related to the use of mod_perl, I have
many questions which the mod_perl team can probably answer. In particular,
1) Are there any issues
Ian Mahuron wrote:
What is the proper way to take the filehandle provided by $upload-fh and write the
file to disk? I seem to be having buffering
issues w/ the following (file is truncated):
if (open(OUTFILE, "$u_fullpath")) {
print OUTFILE $buffer while read($fh, $buffer,
Derek Simkowiak wrote:
2) One webpage I've read says that mod_perl "compiles" (interprets) each
Perl script only once, and then retains the compiled code in memory. Is
that something that was custom-made for mod_perl, or is that a feature of
using an embedded Perl interpreter? Can you
My client, a professional services company that integrates the building and
marketing of digital businesses, is backed by one of the largest
Interactive, Public Relations, and Advertising groups in the world. They
are ranked by Adweek as one of the top 20 largest Interactive Services
companies
Hello all,
I'm new to mysql, like it, but I and have experienced seg faults using
DBI-connect() under mod_perl registry.
My script runs fine under straight CGI.
I have found some reference to this on-line, but no solution.
For example,
At 11:24 PM 08/14/00 +, Greg Cope wrote:
I'm writing a Session-Manager (transhandler) i.e deals with getting a
session id from cookies, uri, or query args, and sets one and redirects
if neccessary. This is meant to compliment Apache::Session - in that
you use Apache::Session to store your
I'm looking for docs or white papers on tuning apache/mod_proxy for
optimum performance when acting as a reverse proxy for a web farm.
Can anyone point me to a URL or a book that's a good reference?
Thanks,
have u read this yet?
http://perl.apache.org/guide/scenario.html#mod_proxy
Edward Moon wrote:
I'm looking for docs or white papers on tuning apache/mod_proxy for
optimum performance when acting as a reverse proxy for a web farm.
Can anyone point me to a URL or a book that's a good
Hi,
I'm using Apache::Sybase::CTlib to establish persistent db connectivity in
an effort to move our quite old and extremely dirty scripts from Netscape
onto Apache with mod_perl. I'm establishing this connection on server
startup and I haven't changed anything in my scripts. The above-mentioned
I mentioned that I'm using Apache::Sybase::CTlib and not Apache::DBI for
persistent connectivity. Moreover, if the module is not declared and I try
to connect in the startup file, the server won't even start. So that's
obviously taken care of.
My question is more of, how do I know for sure that
On Tue, 15 Aug 2000, Pramod Sokke wrote:
I mentioned that I'm using Apache::Sybase::CTlib and not Apache::DBI for
persistent connectivity. Moreover, if the module is not declared and I try
to connect in the startup file, the server won't even start. So that's
obviously taken care of.
My
i think the jist of the problem(s), is that set_handlers() modifies the
configuration structure (the one created at startup from httpd.conf), so
any subrequests will end up with the modified structure (which is not
reset until the end of the request). this patch implements
{get,set}_handlers in
Hi!
Does any body knows if Filter::decrypt works under mod_perl..
i only get "unrecognized character" on the log files, but on the
commmand line they work...
thanx
--Leo.
Yes, I have read that part of the mod_perl guide. I'm looking for a more
detailed discussion on mod_proxy configuration and performance.
But it doesn't answer the questions I have regarding the use of mod_proxy:
* What affect does CacheGcInterval have on performance?
* Does setting
I have some mod_perl modules. I suspect that it has a memory
leak. I'm running that in a Sun Solaris 2.6 machine with apache
1.3.9. I read that exists Apache::Leak to test for leaks.
How it works?
I have some packages and I put into them like this:
package package_name;
use Apache::Leak;
Hi Ed,
* What affect does CacheGcInterval have on performance?
You might find it useful to split GC out into a separate process,
especially if you are sharing the cache directory over NFS.
* How does performance scale with 1GB, 2GB, or 4GB of memory?
Your filesystem performance should
On Wed, 28 Jun 2000 [EMAIL PROTECTED] wrote:
The modperl archives are pretty clear that
panic: POPSTACK errors
caused by dies called in a eval is a perl bug.
The archives are also clear that this is often a result
of an interaction with Apache::Session, which I *was*
getting, but have
On Mon, 10 Jul 2000 [EMAIL PROTECTED] wrote:
Hi Doug,
I was trying to figure out how to hide part of the URL of an
$r-custom_response from the user and I found this...
It's real trivial, does that matter?
not at all, more than welcome, thanks.
I assume that if (*string == '/')
On Tue, 25 Apr 2000, Geoffrey Young wrote:
Hi all...
I've noticed that get_handlers() will return the enabled handlers
for a PerlPostReadRequestHandler, but not when it is specified as a
PerlInitHandler (either by calling
$r-get_handlers('PerlPostReadRequestHandler') or
On Wed, 26 Apr 2000, Geoffrey Young wrote:
good morning...
I'm a bit confused about $r-set_handlers and $r-push_handlers behavior.
Both are listed in the eagle book as being per-request methods, but man
Apache lists them both as server configuration directives. I think, though,
that I'm
On Sat, 10 Jun 2000, Ken Williams wrote:
Darn. Or perhaps: cool. Is it possible for me to usurp this module?
The Apache::Gzip module I've been working on has the same goals and same
purpose as the one in the eagle, but a bit of a different interface and
a very different implementation
On Sat, 17 Jun 2000, Rob Tanner wrote:
Here's the scenario:
I have a modperl program I've been working on for a while (my first, so I'm
a newbie). I was having problem getting php to run and discovered that if
modperl was configured, it ran fine. But it wasn't my immediate priority,
On Mon, 19 Jun 2000, G.W. Haywood wrote:
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 ()
On Mon, 19 Jun 2000, Matt Sergeant wrote:
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
On Wed, 21 Jun 2000, Rob Tanner wrote:
Solved my own problem -- read other modules config with:
Apache::ModuleConfig-get($r, 'Apache::other_module')
Since that means each module has to figure out whether it's reading it's
own directives or it's neighbors, this mechanism in this case
On Wed, 21 Jun 2000, Joel Bremson wrote:
All of a sudden I'm getting an error when
I use Apache::Util. It was working fine,
and then stopped. I've isolated the
module from my code and still get the error.
Apache is 1.3.6 and perl is 5.00503.
what version of mod_perl?
This is the
On Thu, 22 Jun 2000, Christian Gilmore wrote:
I'm trying to create a cache for group authorization. I'm wondering if
there's any way I can alter the requires information during the initial
authorization so that the cache building code can just pick from that which
group this person matches
On Mon, 26 Jun 2000, Rich Williams wrote:
Hi,
Linux 2.2.14, Apache 1.3.12, Perl 5.6.0, mod_perl 1.24.
On the first request, I get a segfault after perl_handler_ismethod
is called.
#0 0x40280fdc in mod_perl_register_cleanup (r=0x92ba3fc, sv=0x1) at mod_perl.c:1242
#1 0x40280fb0 in
On Mon, 26 Jun 2000, Mikhail Zabaluev wrote:
Hello,
I'm interested to know, does the DL_UNLOAD_ALL_AT_EXIT compilation flag
for Perl 5.6.0 affect mod_perl's behaviour in any way? 'man perldelta'
says that it might.
no, it was designed to, but mod_perl implements the feature in it's own
On Mon, 26 Jun 2000, Geoffrey Young wrote:
IIRC, Doug agreed to take a look at get/set handlers issues 'soonish' :)
i guess this is later than 'soonish', sorry ;-/
On Mon, 26 Jun 2000, Jim Winstead wrote:
We were seeing some servers spin out of control (allocating memory
slowly) in Apace::Constants::AUTOLOAD (which apparently has been
reported in the mailing list before).
The attached patch fixes the problems for us. Could someone who
understands
On Tue, 27 Jun 2000, Nathan Wiger wrote:
Hi all-
I've written a module that can parse the Apache httpd.conf config file
(and in fact any Apache-like config file). It will take a set of
directive like:
ServerName www.mydomain.com
UseCanonicalName Off
And parse it
On Wed, 28 Jun 2000, Michael J Schout wrote:
Hi.
I would like to use a CHECK { } block under mod_perl, but have so far not had
any luck. It seems like mod_perl does not know how to deal with CHECK { }
blocks. Is this true? If so, can it be remedied? I cant use a BEGIN block
for what
On Thu, 29 Jun 2000, Vladislav Safronov wrote:
Hi,
Does __END__ directive at the end of every mod_perl script
reduce memory used by httpd ?
in a module, no. in an Apache::Registry script, __END__ blocks are not
supported. if they were, __END__ would consume more memory to maintain
the
On Thu, 29 Jun 2000, Scott Alexander wrote:
I'm trying to get the data that is posted from the browser durring a
request.
if ($r-method ne 'GET')
{
$r-read($buffer,$r-header_in('Content-Length'));
#proccess data...
}
The $r-read() hangs the request completely. I ran an
On Thu, 29 Jun 2000, Brent Meshier wrote:
Occasionaly, during a GET/POST, the request will be
dropped and netscape/IE returns "Document Contains No
Data". The errors logs report:
[modperl] caught SIGPIPE in process 18311 hint: may be a
client (browser) hit STOP?
[modperl] process 18311
On Fri, 30 Jun 2000, Cyrus Rahman wrote:
Hmm, I was just adapting a large application I wrote some years ago to work
with mod_perl. Much to my amazement, despite its complexity and the fact that
it was largely written before mod_perl, it worked without modification! Well,
almost. There is
if anybody wants to confirm that this won't break anything (e.g. CGI.pm),
this patch will clear the buffer before appending to it.
--- Apache/Apache.pm2000/08/15 04:35:13 1.52
+++ Apache/Apache.pm2000/08/16 04:36:30
@@ -65,7 +65,7 @@
my($nrd, $buf, $total);
$nrd = $total =
On Sun, 2 Jul 2000, Francesco Pasqualini wrote:
I think in the current version of modperl there is an important feature
missing.
At this time is not possible to share resources between apache childs and so
we can not use "really" persistent DBI coneection.
What I intend is the possibility
On Aug 15, Doug MacEachern wrote:
On Mon, 26 Jun 2000, Jim Winstead wrote:
We were seeing some servers spin out of control (allocating memory
slowly) in Apace::Constants::AUTOLOAD (which apparently has been
reported in the mailing list before).
The attached patch fixes the problems
On Tue, 4 Jul 2000, Matt Sergeant wrote:
Shouldn't DIR_MERGE be called when .htaccess files are found at different
levels, e.g:
/axkit/.htaccess
and
/axkit/test/.htaccess
I ask for /axkit/test/test.xsp
I would have expected it to ask for both .htaccess files and try and merge
the
On Wed, 5 Jul 2000, Kailashnath V Rampure wrote:
This is with reference to ur mail on mod_perl APXS error w/ apache/raven to
modperl mailing list.
I have a problem same problem with mod_perl. I just removed the the -Wl, -E
option from the flags of Make file for mod_perl but unable to compile
On Mon, 10 Jul 2000, Mark D. Anderson wrote:
environment: linux redhat 2.2.12-20, modperl 1.24, apache 1.3.12
i've tried it with both perl 5.6 and with 5.005-03.
in both cases, i get a segv crash almost immediately the first time i issue
a request for a url using a perl handler (static
On Tue, 11 Jul 2000, bill chmura wrote:
Hello,
I have a problem with using apache::Registry and have not been able
find an answer in the eagle book or the mod_perl site, so i am missing
something here.
If I take the following script and run it under apache::registry it
runs
On Wed, 19 Jul 2000, Michael J Schout wrote:
I have been trying to get CGI::Application to work under mod_perl today. So
far with no success.
Finally I removed everything except CGI::Application from the config files, and
the server dumps core on startup.
I have a very stripped odwn
On Sun, 23 Jul 2000, Thomas Klausner wrote:
Hi!
I have got a PerlInitHandler that does some config parsing etc.
I would like Apache to stop starting up and to print out some error
message ("Config Directive blabla missing" or something like that) if
an error occures during config
pnotes() expects a reference, it probably should croak if it's passed
something else. it just increments the reference count of the sv, it does
not make a copy. if you don't want to use a reference, you can copy it
yourself:
$r-pnotes(key = "$string")
On Tue, 1 Aug 2000, Rob Giseburt wrote:
I want to modify the User cofiguration directive in a perl handler ... for
example in a PerlTransHandler. I'm trying to use mod_perl to implement Named
Virtual Hosting, and I have everything I need done except User and Group
mapping so that SuEXEC will
On Tue, 1 Aug 2000, Todd Caine wrote:
I have Apache 1.3.12 installed on Solaris 2.7 running with
mod_perl 1.24. I have a simple mod_perl script, it actually
uses Apache::Registry, that uses a Perl module called RRDs
that can generate images/graphs from a round robin
database. If you pass
On Wed, 2 Aug 2000, Jeff Horwitz wrote:
[forwarded just in case anyone else is having similar problems]
-- Forwarded message --
Date: Wed, 2 Aug 2000 10:45:35 -0400 (EDT)
From: Jeff Horwitz [EMAIL PROTECTED]
To: Dave Edsall - The Tauminator [EMAIL PROTECTED]
Subject: Re:
On Wed, 2 Aug 2000, Jamie Krasnoo wrote:
Hello all,
I'm new to the list and I'm hoping that someone could help me and explain
what I'm doing wrong or how to fix this
I recently compiled mod_perl-1.24 and it can run modules that I program.
However I get a segmentation fault (11) when I
On Tue, 13 Jun 2000, Paul G. Weiss wrote:
Yes, that much I knew, however when you do that you
can't use curinfo from .gdbinit, because the process
is not running.
% gdb httpd core
that's worked with curinfo for me in the past.
ARGGGHHH.
I'm trying to get the above combination working.
DBD::Oracle was a very tough build. I am afflicted with the 'You must
install a Solaris patch to run this version of the Java runtime' bug.
Using the solution described at
On Tue, 15 Aug 2000, Vladislav Safronov wrote:
Ok. I think, the answers clear the problem, but I have yet more question.
What can you say about this code? is it ok (overwriting previous handle)?
==
sub foo {
my $dbh = shift;
my $sql1 = "select *...
my $sql2 =
On Mon, 14 Aug 2000, brian moseley wrote:
On 15 Aug 2000 [EMAIL PROTECTED] wrote:
Log:
fix $r-args(undef)
speaking of which... does $r-args handle multiple args with
the same name correctly? the docs imply that it doesn't. i
haven't tried it myself to see.
what do you mean?
On Tue, 15 Aug 2000, Doug MacEachern wrote:
what do you mean? args in or out? $r-args($string)
just does a blind copy. @args = $r-args just splits on
,=, it's up to the caller to deal with multiple args of
the same name.
hm. what about %args = $r-args? won't that give me only the
last
On Tue, 15 Aug 2000, brian moseley wrote:
hm. what about %args = $r-args? won't that give me only the
last arg value? i suppose i should just do @args = $r-args.
thanks for the reminder.
yeah.
dougm 00/08/15 12:37:31
Added: .LICENSE
Log:
add license file
Revision ChangesPath
1.1 modperl-2.0/LICENSE
Index: LICENSE
===
/*
On Tue, 15 Aug 2000, brian moseley wrote:
On Tue, 15 Aug 2000, Doug MacEachern wrote:
what do you mean? args in or out? $r-args($string)
just does a blind copy. @args = $r-args just splits on
,=, it's up to the caller to deal with multiple args of
the same name.
hm. what about
richter 00/08/15 22:35:22
Modified:embperl Changes.pod.1.html
Log:
Embperl Webpages - Changes
Revision ChangesPath
1.163 +1 -1 modperl-site/embperl/Changes.pod.1.html
Index: Changes.pod.1.html
83 matches
Mail list logo