Re: problems with Apache::Filter

2003-08-26 Thread Stas Bekman
[ 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

Re: Installation/test problems - mod_perl-1.27

2003-08-26 Thread Stas Bekman
... :) __ 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

Re: syntax error ... near compile qw(:common)

2003-08-25 Thread Stas Bekman
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

Re: syntax error ... near compile qw(:common)

2003-08-25 Thread Stas Bekman
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

Re: syntax error ... near compile qw(:common)

2003-08-25 Thread Stas Bekman
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

Re: syntax error ... near compile qw(:common)

2003-08-25 Thread Stas Bekman
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

Re: Interpreting HTML

2003-08-25 Thread Stas Bekman
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

Re: SubRequest in Filter MP2 [QUESTION]

2003-08-25 Thread 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

Re: AW: AW: Use of uninitialized valued in concatenation....

2003-08-23 Thread Stas Bekman
(...) ? ... : ...' 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

Re: pod files

2003-08-22 Thread Stas Bekman
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

Re: temporary installation directory for mp1's make install

2003-08-22 Thread Stas Bekman
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

Re: Apache 2.0, mod_perl filter question

2003-08-22 Thread Stas Bekman
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

Re: Errors trying to port (old) mod_perl software

2003-08-22 Thread Stas Bekman
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

Re: Apache installation not accepting perl-script Handler

2003-08-21 Thread Stas Bekman
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

Re: Apache 2.0, mod_perl filter question

2003-08-21 Thread 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

Re: Strange mod_perl2/Apache2 behavior -- I think

2003-08-20 Thread Stas Bekman
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

Re: Apache 2.0.47, mod_perl.c

2003-08-20 Thread Stas Bekman
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

Re: issues compiling the DBD::mysql

2003-08-18 Thread Stas Bekman
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

Re: mp2 on osx jaguar won't load mod_perl.so

2003-08-16 Thread 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

Re: mp2 on osx jaguar won't load mod_perl.so

2003-08-16 Thread Stas Bekman
? 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

Re: mp2 on osx jaguar won't load mod_perl.so

2003-08-16 Thread 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

Re: [mp2 Patch] BUG with mod_deflate and $|=1 (20014:Error string not specified)

2003-08-14 Thread Stas Bekman
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

Re: [mp2] Child process exited

2003-08-14 Thread Stas Bekman
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

request for help with reproducing problem

2003-08-14 Thread Stas Bekman
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

Re: Threading issue in 5.6 and 5.8

2003-08-14 Thread Stas Bekman
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

Re: Q: How do I upgrade Perl w/mod_perl?

2003-08-14 Thread Stas Bekman
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

Re: Problem reloading modules

2003-08-14 Thread Stas Bekman
. __ 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

Re: rflush() not working as documented?

2003-08-14 Thread Stas Bekman
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

Re: PerlModule options?

2003-08-14 Thread Stas Bekman
::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

Re: mod_perl.c version for httpd 2.0.47

2003-08-14 Thread Stas Bekman
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

Re: $r-headers_out Location and Set-Cookie

2003-08-14 Thread Stas Bekman
. __ 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

Re: Working directory of script is / !

2003-08-14 Thread Stas Bekman
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

Re: [mp2] Child process exited

2003-08-14 Thread Stas Bekman
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

Re: make test fails in building modperl2+apache2+perl5.8

2003-08-14 Thread Stas Bekman
? __ 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

Re: [mp2] Child process exited

2003-08-14 Thread Stas Bekman
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

Re: [mp2] Child process exited

2003-08-14 Thread Stas Bekman
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

[ANNOUNCE] mp2: new porting assister package Apache::porting

2003-08-14 Thread Stas Bekman
://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

Re: Problem reloading modules

2003-08-14 Thread 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

Re: Problem reloading modules

2003-08-14 Thread 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

Re: mp1 rflush() and buffer size

2003-08-14 Thread Stas Bekman
/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

Re: [mp2] Child process exited

2003-08-14 Thread Stas Bekman
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

Re: [mp2] Child process exited

2003-08-14 Thread Stas Bekman
. __ 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

Re: mod_perl.c version for httpd 2.0.47

2003-08-14 Thread Stas Bekman
. __ 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

Re: setting httpd for Apache::test

2003-08-14 Thread Stas Bekman
/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

Re: Problem reloading modules

2003-08-14 Thread Stas Bekman
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

Re: which mod defines transferlogs?

2003-08-14 Thread Stas Bekman
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

Re: [mp2] Child process exited

2003-08-14 Thread Stas Bekman
#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

Re: [mp2] Child process exited

2003-08-14 Thread Stas Bekman
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

Re: mp1 rflush() and buffer size

2003-08-14 Thread Stas Bekman
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

Re: mod_perl.c version for httpd 2.0.47

2003-08-14 Thread Stas Bekman
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

Re: rflush() not working as documented?

2003-08-14 Thread Stas Bekman
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

Re: pod files

2003-08-14 Thread Stas Bekman
. __ 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

a new page: http://perl.apache.org/bugs

2003-08-14 Thread Stas Bekman
. 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

Re: [MP1.28 + perl maint. 20512] Build failure due to error in Apache/ExtUtils.pm

2003-08-14 Thread Stas Bekman
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

Re: [mp2 Patch] BUG with mod_deflate and $|=1 (20014:Error string not specified)

2003-08-14 Thread Stas Bekman
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

Re: HTTP POST: parameters empty when using ModPerl::Registry (okaywhen using ModPerl:PerlRun)...

2003-08-14 Thread Stas Bekman
). __ 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

Re: Set-Cookie

2003-08-14 Thread Stas Bekman
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

[mp2] Apache::Status probs

2003-08-14 Thread Stas Bekman
. __ 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

Re: Set-Cookie2

2003-08-11 Thread Stas Bekman
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

Re: [mp2] segfault when connect to database

2003-08-10 Thread Stas Bekman
? 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

Re: Error in compile

2003-08-09 Thread Stas Bekman
$ 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

Re: rflush() not working as documented?

2003-08-09 Thread Stas Bekman
.= $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

Re: PerlModule options?

2003-08-08 Thread Stas Bekman
[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

Re: [mp2 Patch] BUG with mod_deflate and $|=1 (20014:Error string not specified)

2003-08-07 Thread Stas Bekman
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

Re: http responses piped to STDERR

2003-08-07 Thread 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

Re: [mp2] segfault when connect to database

2003-08-05 Thread Stas Bekman
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

Re: need your help to test mod_perl with perl-5.8.1-RC3

2003-07-31 Thread 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

Re: Privilege separation revisited

2003-07-31 Thread Stas Bekman
__ 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

Re: Trouble with Apache::Request

2003-07-31 Thread Stas Bekman
) 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

Re: need your help to test mod_perl with perl-5.8.1-RC3

2003-07-31 Thread Stas Bekman
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

Re: Trouble with Apache::Request

2003-07-31 Thread Stas Bekman
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

Re: need your help to test mod_perl with perl-5.8.1-RC3

2003-07-31 Thread Stas Bekman
, '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

Re: need your help to test mod_perl with perl-5.8.1-RC3

2003-07-31 Thread Stas Bekman
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

Re: need your help to test mod_perl with perl-5.8.1-RC3

2003-07-31 Thread Stas Bekman
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

Re: privileged execution

2003-07-30 Thread Stas Bekman
: 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

Re: Working directory of script is / !

2003-07-30 Thread 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

mp2 works on MacOSX 10.2.6

2003-07-30 Thread Stas Bekman
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

Re: Working directory of script is / !

2003-07-30 Thread Stas Bekman
? __ 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

Re: Invalid command 'PerlLoadModule'

2003-07-30 Thread Stas Bekman
, 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

Re: HTML-Embperl : Read file problem

2003-07-30 Thread 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

need your help to test mod_perl with perl-5.8.1-RC3

2003-07-30 Thread Stas Bekman
. -- 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

Re: need your help to test mod_perl with perl-5.8.1-RC3

2003-07-30 Thread Stas Bekman
/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

Re: Working directory of script is / !

2003-07-29 Thread Stas Bekman
; } __ 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

Re: Working directory of script is / !

2003-07-29 Thread Stas Bekman
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

Re: Working directory of script is / !

2003-07-29 Thread Stas Bekman
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

Re: mod perl , windows/apache problem

2003-07-29 Thread Stas Bekman
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

Re: Apache-print() problem with UTF-8 data in Perl 5.8

2003-07-29 Thread Stas Bekman
. __ 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

Re: Working directory of script is / !

2003-07-29 Thread Stas Bekman
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

Re: Working directory of script is / !

2003-07-29 Thread Stas Bekman
::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

Re: Apache-print() problem with UTF-8 data in Perl 5.8

2003-07-29 Thread Stas Bekman
, 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

Re: [mp2 ANNOUNCE] Apache-ParseFormData-0.06 (new module)

2003-07-29 Thread Stas Bekman
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

Re: Can't locate object method cgi_env

2003-07-28 Thread Stas Bekman
, 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

Re: Can't locate object method cgi_env

2003-07-28 Thread Stas Bekman
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

Re: Can't locate object method cgi_env

2003-07-28 Thread Stas Bekman
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

Re: [MP1 and MP2] Apache-AuthenSmb ported

2003-07-28 Thread Stas Bekman
! __ 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

Re: Advice sought for learning mod_perl (2 or 1)

2003-07-26 Thread Stas Bekman
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

[Fwd: Call for Participation for ApacheCon US 2003]

2003-07-26 Thread Stas Bekman
- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker

Re: mp2: multiple include paths accross virtual servers?

2003-07-25 Thread Stas Bekman
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

Re: modperl2 Apache::HTTP_FORBIDDEN and Apache::HTTP_INTERNAL_SERVER_ERRORimplemented?

2003-07-25 Thread Stas Bekman
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

Re: [mp1] Safe segfaults with mp1

2003-07-25 Thread Stas Bekman
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

<    1   2   3   4   5   6   7   8   9   10   >