Hi!
On Tue, Dec 16, 2003 at 12:36:43PM -0800, Maurice Height wrote:
> I am coding a web application using lots of Perl modules including
> Class::DBI, Text::MagicTemplate, CGI::Session and CGI::Application via
> ActivePerl v5.8.1.807. My code has to run on both Win2K and WinXP together
> ..
> Sh
Hi there,
On 15 Dec 2003, Perrin Harkins wrote:
> On Mon, 2003-12-15 at 18:58, Tom Conway wrote:
> > I'm using RH8 and have the latest rpm.
> > Newer source rpms (non-redhat) won't compile because of dependencies.
>
> Red Hat doesn't support that version anymore, do they? Sounds like you
> need
On Thu, 11 Dec 2003, Volker Kroll wrote:
> On Wed, 2003-12-10 at 11:38, Hakan Nilsson wrote:
>
> > Thanks for your input Volker, but we don't care if it is POST or GET that
> > is used. Most often we have links like
> >
> > A link!
> >
> > which sometimes work and sometimes fails
> >
> > To you th
Hi there,
On Mon, 15 Dec 2003, Alexey Zayats wrote:
> time to rewrite my mod_perl application.
> [snip, snip]
> Every parsing methods, such as TAKE1, TAKE2 etc., works fine.
It would have been enormously helpful if you had said you were working
through the examples in Chapter 8 of the Eagle Book
Setup: mod_perl-1.99_11, libapreq2-2.02, Apache 2.0.47, RedHat 9.
Running Apache::Status gives the attached output. There's no trace
of an error in the logs & I'm guessing that it's just an inappropriate
return code.
I _think_ this might be an appropriate patch?
--- Apache/Status.pm.orig2003-
I agree, I setup a test machine and I did the rh9 upgrade and it trashed the
rpm's I had created from source (ssh, samba). They had to be redownloaded
and rebuilt. Any customizing gets messed up.
I also tried installing apache from source successfully with mod_perl but I
had to leave both the r
Hi, Ged.
Thanks a lot and excuse me.
Work been stoped at some time, but your message took
me to go on.
mod_perl compiled as dso throw apxs:
perl Makefile.PL \
> USE_APXS=1 \
> WITH_APXS=/usr/sbin/apxs \
> EVERYTHING=1
I'll try to solve problem on my own and when i use
code example from "Chapter
On Tue, 16 Dec 2003, Thomas Klausner wrote:
> Hi!
>
> On Tue, Dec 16, 2003 at 12:36:43PM -0800, Maurice Height wrote:
>
> > I am coding a web application using lots of Perl modules
> > including Class::DBI, Text::MagicTemplate, CGI::Session
> > and CGI::Application via ActivePerl v5.8.1.807. My c
Hi all,
I'm having some problems when I have with multiple PerlTransHandlers
defined.
What is happening is even if one handler returns OK, the other ones are
still invoked. Also, the result changes depending on the order in which
the handlers are set. This should not have any impact since each ha
Paul Flinders wrote:
Setup: mod_perl-1.99_11, libapreq2-2.02, Apache 2.0.47, RedHat 9.
Running Apache::Status gives the attached output. There's no trace
of an error in the logs & I'm guessing that it's just an inappropriate
return code.
I _think_ this might be an appropriate patch?
--- Apache/St
If you call Apache::Request->instance with an undefined value, it dies
when it tries to call pnotes() on that argument.
It seems to me that it should simply return a false value if given undef.
This can happen if you have a piece of code like this:
my $r = Apache::Request->instance(Apache->reque
I'm still a little unclear after reading the appropriate perl docs, or maybe
just want to make sure I understand it correctly.
If I declare some package globals with use vars(), will the values be
persistant in mod_perl, or will they go undefined after the code is done
executing?
Chris
--
Repo
Chris Ochs wrote:
I'm still a little unclear after reading the appropriate perl docs, or maybe
just want to make sure I understand it correctly.
It usually helps to tell what appropriate docs have you read.
http://perl.apache.org/docs/1.0/guide/porting.html#Global_Variables_Persistence
It's also me
Hi there,
On Tue, 16 Dec 2003, Chris Ochs wrote:
> If I declare some package globals with use vars(), will the values be
> persistant in mod_perl, or will they go undefined after the code is done
> executing?
They are global, so they persist until the death of the interpreter
which executed thos
I can't understand the point of your messages to this list.
1 - I see nothing funny at all.
2 - As you said in your 1st message, you don't have enought perl
knowledge to get the job as XSLT was one required pont to the job.
3 - You sent your CV in MS Word format. Most higher technical related
co
Thanks I reread the last link and noticed what I didnt' see before. Now my
next question...
I use the following to access the cgi vars..
%Q = $r->method eq 'POST' ? $r->content : $r->args;
If I make %Q a package global, will the above line re initialize %Q every
time the program is run, or do
Will this work to undefine everything in package Test ?
sub ClearGlobals {
my $globalspace = "Test";
foreach (keys %{"${globalspace}::"}) {
unless ($_ eq 'dbh') { ## Don't undef the cached database handle!
local *symbol = "${globalspace}::${_}";
undef $symbol;
undef @sym
On Tue, Dec 16, 2003 at 04:35:46PM -0200, Raul Dias wrote:
> I can't understand the point of your messages to this list.
>
> 1 - I see nothing funny at all.
The point, clearly, was to attempt to be funny; the actual interchange
almost certainly never took place. It failed, though, and I was hopi
Chris Ochs wrote:
Thanks I reread the last link and noticed what I didnt' see before. Now my
next question...
I use the following to access the cgi vars..
%Q = $r->method eq 'POST' ? $r->content : $r->args;
If I make %Q a package global, will the above line re initialize %Q every
time the progra
Chris Ochs wrote:
Will this work to undefine everything in package Test ?
sub ClearGlobals {
my $globalspace = "Test";
foreach (keys %{"${globalspace}::"}) {
unless ($_ eq 'dbh') { ## Don't undef the cached database handle!
local *symbol = "${globalspace}::${_}";
undef $symbol
Hi,
At the moment I'm playing around a little bit with filters. When I define in
httpd.conf an entry a la:
SetOutputFilter bladibla
The filter works. But when I do something like:
PerlSetOutputFilter Apache::bladibla
it doesn't.
However when I remove the Proxy directive a la:
#
PerlSetO
Erick Staal wrote:
Hi,
At the moment I'm playing around a little bit with filters. When I define in
httpd.conf an entry a la:
SetOutputFilter bladibla
The filter works. But when I do something like:
PerlSetOutputFilter Apache::bladibla
it doesn't.
But the two aren't the same (look at the pr
Patrick LeBoutillier wrote:
> Hi all,
>
> I'm having some problems when I have with multiple PerlTransHandlers
> defined.
>
> What is happening is even if one handler returns OK, the other ones are
> still invoked.
yes, this is a known issue. it's fixed in 2.0 but the behavior in 1.3 isn't
li
Hmmm after playing around with Apache::Singleton I am having a hard time
understanding exactly how you use it. I failed to find even one complete
example of it's use, just bits and pieces, and I'm afraid I don't
understand
how it all fits together. I read the Class::Singleton manpage and th
Here is the code that I cant' get working, maybe it is easier to just
correct what I have so far...
package Test::One;
use strict;
use Apache::Constants qw(:common);
use Apache::Singleton::Request;
use base qw(Apache::Singleton::Request);
use vars qw($r);
my $var1 = "test";
sub handler {
$r =
Dave Rolsky <[EMAIL PROTECTED]> writes:
> If you call Apache::Request->instance with an undefined value, it dies
> when it tries to call pnotes() on that argument.
>
> It seems to me that it should simply return a false value if given
> undef. This can happen if you have a piece of code like this
Geoffrey Young wrote:
Patrick LeBoutillier wrote:
Hi all,
I'm having some problems when I have with multiple PerlTransHandlers
defined.
What is happening is even if one handler returns OK, the other ones are
still invoked.
yes, this is a known issue. it's fixed in 2.0 but the behavior in 1.3 i
Hi Stas,
Yes indeed,
SetOutputFilter bladibla
works.
The 'bladibla' output filter consists of a sed command (using mod_ext_filter).
The Apache::bladibla filter is based on the modperl-2.0 documentation of the
Obfuscation filter, where the substitution of the carriage return (in the
obfus
Hi,
I am running Solaris 9, perl 5.6.1, apache 1.3.22.
I am trying to install mod_perl as a DSO
My steps are:
perl Makefile.PL
USE_APXS=1
WITH_APXS=/path/to/bin/apxs
EVERYTHING=1
ourput is:
Will configure via APXS (apxs=/usr/apache/bin/apxs)
PerlDispatchHandler.enabled
Pe
Erick Staal wrote:
Hi Stas,
Yes indeed,
SetOutputFilter bladibla
works.
The 'bladibla' output filter consists of a sed command (using mod_ext_filter).
The Apache::bladibla filter is based on the modperl-2.0 documentation of the
Obfuscation filter, where the substitution of the carriage ret
Stas Bekman wrote:
I don't seem to be able to include any filters from , e.g.:
Now I recall that Chris Pringle was running the filter without any problems.
http://marc.theaimsgroup.com/?l=apache-modperl&m=107097076003389&w=2
But I fail to reproduce his setup. I have the data from the remote server
On Tue, 16 Dec 2003, Joe Schaefer wrote:
> Dave Rolsky <[EMAIL PROTECTED]> writes:
>
> > If you call Apache::Request->instance with an undefined value, it dies
> > when it tries to call pnotes() on that argument.
> >
> > It seems to me that it should simply return a false value if given
> > undef.
> although nothing is reported in the error log, and the
> status in the access log is reported as 200. The problem
> arises from returning '200' from Apache::Hello; changing
>return 200;
> to
>return Apache::OK;
> fixes things.
>
> Is there something wrong in principle with returning an
>
> It seemed that early in mod_perl use,
> the return codes would be the literal status codes, like 500 for
> server error, 302 for redirect and 200 for success. This is
> then very different in mod_perl 2, and hopefully I can implement
> this is some rational way so that Apache::ASP can still do s
34 matches
Mail list logo