[ Please post all the replies back to the list! ]
Drox wrote:
Hi Stas
Thanks for your reply. Sorry I didn't send the bug stuff. I just joined the
list today. I'll try to send a report later.
No need to any longer, Apache::Filter doesn't work with mp2.
I'm using Apache:Filter version 1.022 (31
... :)
__
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
be:
use Apache::Const -compile = qw(:common);
or:
use Apache::Const -compile, qw(:common);
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto
Harold Martin wrote:
On Sun, 2003-08-24 at 17:21, Stas Bekman wrote:
Harold Martin wrote:
Hello,
When I try to start up Apache, I get the error:
[error] syntax error at /usr/lib/perl5/site_perl/5.8.0/ProMP3.pm line 8,
near compile qw(:common)
Compilation failed in require at /etc/httpd/promp3
Harold Martin wrote:
On Sun, 2003-08-24 at 18:12, Stas Bekman wrote:
Harold Martin wrote:
On Sun, 2003-08-24 at 17:21, Stas Bekman wrote:
Harold Martin wrote:
Hello,
When I try to start up Apache, I get the error:
[error] syntax error at /usr/lib/perl5/site_perl/5.8.0/ProMP3.pm
line 8,
near
number to the offending code in the module.
__
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
2.0 docs aren't completed and most 1.0 docs apply to 2.0. So for now one has
to look at the 1.0 docs, if /docs/2.0 doesn't cover your question yet.
Help to port the 1.0 docs to 2.0 is very appreciated.
__
Stas Bekman
character is '^]'.
GET / HTTP/1.0
Connection closed by foreign host.
I'll take a look at it. But you didn't supply a complete bug report as
explained http://perl.apache.org/bugs/. Please do so.
__
Stas BekmanJAm_pH -- Just
(...) ? ... : ...' phrase is kinda ugly. Silly me, I know.
$_ = defined $_ ? $_ : NULL;
perl 5.9 has introduced a new operator //= to make it spiffy, so you'd write
the above as:
$_ //= NULL;
__
Stas BekmanJAm_pH
Philippe M. Chiasson wrote:
On Fri, 2003-08-08 at 09:48, Stas Bekman wrote:
ColinB wrote:
A relatively trivial point, but I notice that the pod files
cgi_to_mod_perl.pod
mod_perl.pod
mod_perl_tuning.pod
these files are a history and they don't really exist any longer, other than
of the existing src.rpms and look how they have done
it? e.g search for mod_perl at http://rpm.pbone.net/ or http://rpmfind.net/
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl
will have to do is to make it working.
__
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
get the error:
Can't locate # in @INC snip
What? I can't think of ever seeing any modules by that name :} What
should I do next to try and get this program working?
http://perl.apache.org/docs/2.0/user/porting/compat.html
__
Stas
Programming Development,
Thermeon Europe Ltd,
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
Tel: +44 (0) 1293 864 303
Thermeon Europe e-Card: gbjk
http://www.thermeoneurope.com/e-Card/?uid=gbjk
--
__
Stas Bekman
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
the problem with.
__
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
apache 1.3.28. Is this the recommended solution?
Get the latest rpm, see:
http://perl.apache.org/download/source.html#Development_mod_perl_2_0_Source_Distribution
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
Hodge, Jeff F (ECIII) wrote:
I'm having issues compiling the DBD::mysqlhopefully someone will
have some insight.
certainly, but at the dbi-users list, not here:
http://lists.perl.org/showlist.cgi?name=dbi-users
__
Stas Bekman
is one of them:
http://marc.theaimsgroup.com/?l=apache-modperl-devm=105955380011549w=2
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL
?
Rebuild your perl with threads support, and only use '-lm -lc'.
Michael, what's the deal with using only '-lm -lc' on jaguar? Care to send a
patch so it'll work out of box?
All should work fine as a DSO then.
__
Stas Bekman
[moving the thread back to the list, so others can benefit from it as well]
Douglas Theobald wrote:
Thanks Stas and Michael, I guess I'll have to recompile perl with ithreads.
I'll probably have two perl builds, since I don't want threads in my
standard perl.
It'd be much better if somebody could
in the current httpd-2.0 cvs, and
will be also in the soon to be released 2.0.48.
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED
Jean-Sebastien Guay wrote:
Stas,
I just checked, and when the Apache crash occurs, nothing gets written
to access_log. It would seem that the crash happens before the request
is logged.
That's possible, but at least you can see that it's not IE that generates some
followup request that causes
is a good idea.
Thanks for your help.
__
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
problems on Windows, hopefully others will be able to tell
you more than I can.
73,
Ged.
--
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto
and rebuild them locally.
Notice that these packages may have a long pre-requisite list.
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL
.
__
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
Martin Wickman wrote:
Stas Bekman wrote:
Geoffrey Young wrote:
Martin Wickman wrote:
Martin Wickman wrote:
According to docs[1], $r-rflush() should create a new brigade
with data. It does not.
I've seen this also, but was never able to isolate a cause.
rflush() works fine, it's possible
::RegistryLoader, but this
doesn't remove the need for an explicit import.
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http
Stas Bekman wrote:
2. Having completed the first step of the build (perl Makefile.pl...) I
am back to the second error as reported in my original post. It occurs
in the test cycle of the make make test phase, as follows:
/usr/local/apache2/bin/httpd -d /root/modperl-2.0/t -f
/root/modperl-2.0/t
.
__
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 http://ticketmaster.com
Ed Grimm wrote:
On Wed, 30 Jul 2003, Stas Bekman wrote:
Perrin Harkins wrote:
On Tue, 2003-07-29 at 07:23, Stas Bekman wrote:
That's correct. This is because $r-chdir_file in compat doesn't do
anything. The reason is that under threaded mpm, chdir() affects all
threads. Of course we could
with on windows. I can try it on linux as well.
__
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
?
__
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 http://ticketmaster.com
Jean-Sebastien Guay wrote:
Stas,
Thanks for trying out my code.
Jean-Sebastien, are you *sure* that what crashes is apache and not
your
client? it seems that you have the client crashing if removing nobr
changes
everything. What's your error_log says?
My client is IE, and it stays open
Jean-Sebastien Guay wrote:
Stas,
One of the following will work.
PerlSwitches -Id:/htdocs
or
PerlSwitches -Mlib=d:/htdocs
Thanks, I'll try those.
But I still don't know
a) why Apache crashes (I know you can't repro, maybe someone else on
Win32 will, so this is stalled for now).
b) why my
://perl.apache.org/docs/2.0/api/Apache/porting.html#Culprits
Finally, as of this writing you need to get the cvs version of mod_perl 2.0 to
get it working. It'll be available in modperl-1.99_10, when it will be released.
__
Stas Bekman
approach. Write a subclass of the registry and if it
gains popularity we will merge it in. And you don't really need to read on
mod_perl internals to do that. Just learn the ModPerl/RegistryCooker guts ;)
__
Stas Bekman
Perrin Harkins wrote:
On Thu, 2003-08-14 at 15:10, Stas Bekman wrote:
OK, I've written a proper entry for the man page, Jean-Sebastien can you
please verify that it all works, as I wrote it without testing. Thanks.
http://perl.apache.org/docs/2.0/api/Apache/Reload.html
/guide/debug.html#Detecting_Aborted_Connections
__
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
somewhere and post the URL to it, that will be the best.
__
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
.
__
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 http://ticketmaster.com
.
__
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 http
/docs/general/testing/testing.html
Also see Apache::Peek and Apache::Clean modules from CPAN as examples.
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http
Stas Bekman wrote:
Perrin Harkins wrote:
On Thu, 2003-08-14 at 14:29, Jean-Sebastien Guay wrote:
I'm asking you to try it and see if it works.
Ok, I tried it and it works.
I guess we need to add this to the docs: Apache::Reload will have
problems if you import subs from a module you
Hodge, Jeff F (ECIII) wrote:
first off.
perl Makefile.PL -httpd /usr/local/apache2/bin/httpd
Stas...this worked great for configuring httpd for Apache:: testI
assumed it was something along those lines tks.
;)
waiting for server to start: .Syntax error on line 28
of /root/.cpan/build
#Description
or even this:
http://perl.apache.org/docs/2.0/api/Apache/Reload.html#Problems_With_Reloading_Modules_Which_Do_Not_Declare_Their_Package_Name
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org
startup).
One of the following will work.
PerlSwitches -Id:/htdocs
or
PerlSwitches -Mlib=d:/htdocs
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
Douglas Theobald wrote:
On 8/10/03 2:46 PM, Stas Bekman [EMAIL PROTECTED] a écrit :
Douglas Theobald wrote:
The Searching...Please wait text does not display until the sleeps are
done. Adding $|=1; up top does not help. However, this code does work:
use CGI ();
my $r = shift;
my $q = new CGI
may want to use these instead of
building your own.
http://perl.apache.org/download/source.html#Development_mod_perl_2_0_Source_Distribution
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org
guess my modperl
version had a broken rflush() implementation.
Excellent. Thanks Martin!
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto
.
__
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 http
.
http://perl.apache.org/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
on WinXP.
I can see it broken too @20543, forwarded to p5p
__
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
this issue for those
who have the same problem with older httpds. Thanks.
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http
).
__
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 http
Jie Gao wrote:
Hi All,
Any idea if Set-Cookie2: is going to be implemented in CGI.pm? Lincohn?
Jie, AFAIK, this has nothing to do with mod_perl. See:
http://stein.cshl.org/WWW/software/CGI/#bugs
__
Stas BekmanJAm_pH
.
__
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 http
Jie Gao wrote:
On Tue, 5 Aug 2003, Stas Bekman wrote:
Jie Gao wrote:
Hi All,
Any idea if Set-Cookie2: is going to be implemented in CGI.pm? Lincohn?
Jie, AFAIK, this has nothing to do with mod_perl. See:
http://stein.cshl.org/WWW/software/CGI/#bugs
Sorry. Now let me ask a question that's
?
I don't see where mod_perl is involved here.
Thanks!
__
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
$ exit
exit
Script done on Fri Aug 8 20:21:21 2003
Pointers needed.
--
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http
.= $buffer;
}
$filter-print([$data]) if $data;
return Apache::OK;
}
the response body is: [foo][bar][who][ah]
does it work for you? Is it any different from your code?
__
Stas BekmanJAm_pH -- Just Another
[EMAIL PROTECTED] wrote:
Hi again Stas Perrin,
So, its a no-can-do then.
I'll keep putting the use in every module to import the symbols in the
proper namespace.
Alternatively I guess I could probably use the functions with fully qualfied
name Apache::ReadConfig::myFunction(), however
this bug report and the fix to httpd-dev. Please let me
know if you do that, so I won't duplicate it. But I'd prefer that you do it so
you can make sure that it gets fixed in the next release, since you need it
working.
__
Stas Bekman
look into here?
Do you have this stub in all your files?
use strict;
use warnings;
or if perl 5.6
PerlWarn On
in httpd.conf and
use strict;
in all files.
this should reduce the numbed of inconsistent misteries to zero.
__
Stas
PostgreSQL/W2K/2.0.46/mp1.99_10 I get
a segfault _when Apache shuts down_. I don't have it compiled such that I
can do a backtrace.
So it can't be fixed until we can see the backtrace and be able to reproduce it.
__
Stas Bekman
Stephen Clouse wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Wed, Jul 30, 2003 at 11:15:32PM +0200, Stas Bekman wrote:
Jarkko has just released perl-5.8.1-RC3. Quite a few things have changed
since 5.8.0. So it's *very* important that you test your code with this
release
__
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
) line 3.
This patch resolves this problem:
http://marc.theaimsgroup.com/?l=apreq-devm=105965131008577w=2
it should go in in the next release.
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org
Steve Hay wrote:
Stas Bekman wrote:
Jarkko has just released perl-5.8.1-RC3. Quite a few things have
changed since 5.8.0. So it's *very* important that you test your code
with this release and immediatelly report to p5p if you have any
problems, since Jarkko wants to release 5.8.1 any moment
Message-
: From: Stas Bekman [mailto:[EMAIL PROTECTED]
: Sent: Thursday, July 31, 2003 6:48 AM
: To: K Old
: Cc: ModPerl List
: Subject: Re: Trouble with Apache::Request
:
:
: On 6 Jun 2003, K Old wrote:
:
: [...]
:
: Well, here are the errors I'm getting:
:
: When I *force* and install
,
'dynamic_lib' = {
'OTHERLDFLAGS' = $src-otherldflags,
},
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED
Steve Hay wrote:
Stas Bekman wrote:
Here is what happens:
MM 6.03 used to create libapreq.a but not libapreq.so, libapreq.a was
just a by product and never was intented to be installed. Request.so
was statically linking libapreq.a into it.
Now with 6.12 it creates both libapreq.so
Stas Bekman wrote:
Steve Hay wrote:
Stas Bekman wrote:
Here is what happens:
MM 6.03 used to create libapreq.a but not libapreq.so, libapreq.a was
just a by product and never was intented to be installed. Request.so
was statically linking libapreq.a into it.
Now with 6.12 it creates both
: Safely Empowering Your CGI
Scripts back in Summer 1998:
http://www.foo.be/docs/tpj/issues/vol3_2/tpj0302-0006.html
Of course you will probably want to use a more modern library to do the job,
e.g. IPC::Run.
__
Stas Bekman
#C_Apache__Registry___C_Apache__PerlRun__and_Friends
__
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
believe the problems were with 5.6.x? Thanks.
Original Message
Hi!
Stas asked me to post my build results on MacOSX 10.2.6
Passes all tests using modperl and httpd from CVS, perl 5.8.0-ithread,
with prefork MPM. I'll be testing the other MPMs shortly.
-8
?
__
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 http://ticketmaster.com
, I have followed relevant examples on
http://perl.apache.org/docs/2.0/user/config/custom.html
Yes, it was added in 1.99_08:
Changes:
rename overloaded LoadModule directive to PerlLoadModule and adjust
the test naming
__
Stas Bekman
Radovan Petrík wrote:
Hi,
sorry for my begginer question , i have this code in HTML-Embperl
http://perl.apache.org/embperl/pod/doc/Embperl.-page-12-.htm
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http
.
--
Jarkko Hietaniemi [EMAIL PROTECTED] http://www.iki.fi/jhi/ There is this special
biologist word we use for 'stable'. It is 'dead'. -- Jack Cohen
--
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org
/perldelta-RC3.html
__
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
;
}
__
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 http://ticketmaster.com
ColinB wrote:
--- Stas Bekman [EMAIL PROTECTED] wrote:
... I won't commit it yet, but you can override it in your
startup.pl,
until the dust settles down:
require Apache::compat;
sub Apache::RequestRec::chdir_file {
my $dir = @_ == 2 ? $_[1] : $_[0]-filename;
chdir $dir;
}
Thanks Stas
ColinB wrote:
Thanks Stas that worked a treat, except that your call to
File::Basename::basename
should be
File::Basename::dirname
The strange reversion to / seems to have been cured too.
you are right. Can you please post a working solution, so I'll add it to docs.
BTW, perhaps we should
T,log-file.txt || die cant open T for write $!;
flock T,2; # write lock
[ ... ]
open (T,log-file.txt) || die Cant open file T for read $!;
flock T,1;
As Stas explained in another thread today, the directory
in which these files have been opened may not be the one
in which your script resides
.
__
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 http://ticketmaster.com
Perrin Harkins wrote:
On Tue, 2003-07-29 at 07:23, Stas Bekman wrote:
That's correct. This is because $r-chdir_file in compat doesn't do anything.
The reason is that under threaded mpm, chdir() affects all threads. Of course
we could check whether the mpm is prefork and do things the old way
::dirname($file);
chdir $dir or die Can't chdir to $dir: $!;
}
1;
__END__
now configure it as before but use the package name ModPerl::RegistryPrefork;
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http
, and there are quite a few. I apologize for not following up on
those.
No problem. Just wanted to check that it hadn't been forgotten.
No, no, all piled up in my modperl folders ;)
__
Stas BekmanJAm_pH -- Just Another mod_perl
some more work as it says:
my $apr = Apache::Request-new($r, disable_uploads = 1);
^^^
or is it on purpose as a drop-in replacement?
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http
, but it returns the env vars
in the list context.
I'll update the docs and Apache::compat shortly.
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
Stas Bekman wrote:
ColinB wrote:
I'm trying to get some perl scripts that work OK under mod_perl 1
working in mod_perl 2. I'm therefore using the mod_perl 1 backward
compatiblity, and also the Apache::Registry from mod_perl 1 (as
described in the mod_perl 2 documentation to get around the chdir
ColinB wrote:
--- Stas Bekman [EMAIL PROTECTED] wrote:
Stas Bekman wrote:
ColinB wrote:
One of the scripts sets up a request handler, but when it tries to
execute:
$r-cgi_env(AB_AUTHHOST=$host);
I have never used that API, but I believe you misuse it. I think it
should be:
$r
!
__
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 http://ticketmaster.com
job.
Though it'll be released sooner if more people help with testing and
polishing it. For more information see:
http://httpd.apache.org/apreq/
[...]
Stas, if you have the email of Joe and Randy, please email me; I'll see
if I am of any use to them.
You can find the address of the apreq-dev list
-
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
Carl Brewer wrote:
Stas Bekman wrote:
You need to add:
PerlOptions +Parent
PerlOption `Parent' requires an ithreads enabled Perl
That's correct. prefork mpm is the same as mod_perl 1.
__
Stas BekmanJAm_pH
to
handle this situation:
http://perl.apache.org/docs/2.0/user/porting/porting.html#Method_Handlers
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
Stas Bekman wrote:
[...]
It's handy to have p5p people sitting next to you. Just asked this
question Tim Bunce, and he replied:
Safe is a failed experiment. It works only for several cases.
TIEHANDLE is
not one of them [print under mod_perl uses a tied STDOUT]. Do not use
101 - 200 of 2823 matches
Mail list logo