Re: module ported and doc addition...

2003-07-15 Thread Stas Bekman
Shannon Eric Peevey wrote: Stas Bekman wrote: Shannon Eric Peevey wrote: [...] Also, you don't realy have to do that. The old ala mp1 style works just fine. use Apache::Const qw(OK DECLINED) sub handler { return OK; } Well... I must have been smoking crack, 'cause I seem t

Re: Virtual Host Logging Perl Script

2003-07-15 Thread Stas Bekman
Perrin Harkins wrote: On Tue, 2003-07-15 at 14:27, Jez Hancock wrote: On Tue, Jul 15, 2003 at 01:32:11PM +0300, Stas Bekman wrote: Take a look at: http://perl.apache.org/docs/2.0/user/handlers/http.html#PerlLogHandler a similar code will work for mp1 if you don't use 2.0. Much obliged, that

Re: Virtual Host Logging Perl Script

2003-07-15 Thread Stas Bekman
Perrin Harkins wrote: On Tue, 2003-07-15 at 16:11, Stas Bekman wrote: Is this still correct in the threaded environment where the filehandle is shared across several threads? Why would the filehandle be shared? Wouldn't you open a new handle in each thread? Because it's shared on th

Re: Apache::Registry in mod_perl 2

2003-07-17 Thread Stas Bekman
[please don't take the threads off the list] ColinB wrote: --- Stas Bekman <[EMAIL PROTECTED]> wrote: ColinB wrote: So how can I go about installing just Apache::Registry from the mod_perl 1 tar file without having to install ALL of mod_perl 1 ? simply copy it into one of the dirs i

Re: Double erroneous requests in POST with multipart/form-data

2003-07-17 Thread Stas Bekman
ers, which probably aren't available under IE. [...] ______ 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: modperl2 Apache::HTTP_FORBIDDEN and Apache::HTTP_INTERNAL_SERVER_ERRORimplemented?

2003-07-17 Thread Stas Bekman
VER_ERROR : Apache::Constants::HTTP_INTERNAL_SERVER_ERROR ; If you need more, let me know. Have you imported them? use Apache::Const compile ->qw(Apache::HTTP_FORBIDDEN); All the available Apache:: constants are listed here: http://perl.apache.org/docs/2.0/api/Apache/Const.html ___

Re: PerlOptions +Parent without ithreads

2003-07-17 Thread Stas Bekman
e possible only with threads. __ 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://apa

Re: Problem configuring and making mod_perl

2003-07-18 Thread Stas Bekman
from mod_ssl.h:116, > from mod_ssl.c:65: > /usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory [...] ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/

Re: mod_per2/PerlInc in Virtualhost

2003-07-18 Thread Stas Bekman
_C_Parent_ __ 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 h

Re: clones and parents

2003-07-18 Thread Stas Bekman
1.99.10dev. have you submitted a bug report? http://perl.apache.org/docs/2.0/user/help/help.html#Reporting_Problems __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Gu

Re: modperl2 Apache::HTTP_FORBIDDEN... [long post]

2003-07-18 Thread Stas Bekman
n they will be imported. -compile tell Apache::Const to not import the constants but to compile them. -- __ 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: modperl2 Apache::HTTP_FORBIDDEN and Apache::HTTP_INTERNAL_SERVER_ERRORimplemented?

2003-07-18 Thread Stas Bekman
Shannon Eric Peevey wrote: Stas Bekman wrote: speeves wrote: Hi! Just wondering if Apache::HTTP_FORBIDDEN and Apache::HTTP_INTERNAL_SERVER_ERROR have been implemented? I have been trying to port Apache::AuthenNTLM, and keep getting: [Tue Jul 15 16:46:08 2003] [error] failed to resolve

Re: clones and parents

2003-07-18 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: Problem configuring and making mod_perl

2003-07-18 Thread Stas Bekman
_ssl.lo > In file included from /usr/include/openssl/ssl.h:179, > from mod_ssl.h:116, > from mod_ssl.c:65: > /usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory [...] ______ St

Re: CGI files in apache

2003-07-18 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: IPC Open

2003-07-18 Thread Stas Bekman
'OPEN' add: use Apache::RequestIO (); ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.or

Re: templating system opinions - Mason recommendation

2003-07-18 Thread Stas Bekman
tp://modperlbook.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 h

Re: clones and parents (bug report)

2003-07-18 Thread Stas Bekman
PACHE! mainCRTStartup + 227 bytes KERNEL32! 77e7eb69() === -- __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_pe

Re: does pnotes() work at all in 1.27?

2003-07-18 Thread Stas Bekman
h the same request object, but even if you're using Apache::Request->new I'd still expect that to work. Apache::Request->instance is probably the magic pill for Mark ;) ______ Stas BekmanJAm_pH --> Just Anot

Re: DDD and mod_perl handler

2003-07-19 Thread Stas Bekman
's commands menu, and even look at the contents of the variables in the 'Data' window. The pain is that you have to manually open the source file. If you can find how to make it programmatically please share with us.

Re: does pnotes() work at all in 1.27?

2003-07-19 Thread Stas Bekman
would help. You can debug on the C level. ______ 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 ht

Re: Content compression FAQ

2003-07-19 Thread Stas Bekman
Slava Bizyayev wrote: Thanks Stas! Full POD file is available now at http://devl4.outlook.net/devdoc/FAQ/compression.pod Forbidden You don't have permission to access /devdoc/FAQ/compression.pod on this server. Slava - Original Message - From: "Stas Bekman" <[EMAI

Re: templating system opinions

2003-07-19 Thread Stas Bekman
search shows matching sections, not articles. Most of these matches belong to a single tutorial: http://perl.apache.org/docs/tutorials/tmpl/comparison/comparison.html ______ Stas BekmanJAm_pH --> Just Another mod_

Re: Content compression FAQ

2003-07-19 Thread Stas Bekman
Slava Bizyayev wrote: Oops, sorry for that. It should be OK now. http://devl4.outlook.net/devdoc/FAQ/compression.pod Thanks, committed __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.

Re: MP2 variables

2003-07-20 Thread Stas Bekman
2.0 works. __ 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 h

Re: [mp2] BEGIN blocks

2003-07-20 Thread Stas Bekman
nd/or restarts of any type) and when? This is not documented yet for 2.0. I think it should be similar to 1.0. BEGIN blocks are called when the module is loaded. What unusual behavior do you see? __ Stas BekmanJAm_pH --&

Re: Calling a mod_perl method from whithin a CGI script

2003-07-20 Thread Stas Bekman
nt "Content-type: text/plain\n\n"; print "Hello $username\n"; This is correct for mp1. __ 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

[Fwd: Call for Participation for ApacheCon US 2003]

2003-07-22 Thread Stas Bekman
l commands, e-mail: [EMAIL PROTECTED] -- ______ 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: MP2 Redirection

2003-07-22 Thread Stas Bekman
don't need to return anything at all. ______ 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: small doc typo...

2003-07-22 Thread Stas Bekman
e *if* for attaching Apache version magic numbers," Probably mean, "Currently its main use *is *for..." Thanks, Shannon, committed ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.

Re: caching questions

2003-07-22 Thread Stas Bekman
x27;t looked at the module's implementation, but if you have a C-level thread-safety issues, you may consider using libapr which provides a thread-safe mmap API. ______ Stas BekmanJAm_pH --> Just Ano

Re: MP2 Redirection

2003-07-22 Thread Stas Bekman
d APR::Table in order to work with this reference. Doc patches are very welcome. __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] htt

Re: what is $r->clear_rgy_endav?

2003-07-22 Thread Stas Bekman
script. __ 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: cookies and POST in pure MP2?

2003-07-23 Thread Stas Bekman
ns to extract the wanted bits from it ;) make sure that you are using the latest CGI.pm. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org

Re: [MP2] Placing Apache::RequestRec & Apache::RequestIO & APR::Tableuse statements in startup.pl

2003-07-24 Thread Stas Bekman
the use statements within the module code and still work as normal. While this works for you, it's a bad practice. Why? Because other people using your code may not have these modules loaded from startup.pl. ______ Stas Bekman

Re: [MP2] Placing Apache::RequestRec & Apache::RequestIO & APR::Tableuse statements in startup.pl

2003-07-24 Thread Stas Bekman
Jamie Krasnoo wrote: On Thu, 2003-07-24 at 02:15, Stas Bekman wrote: Jamie Krasnoo wrote: Will placing Apache::RequestRec & Apache::RequestIO & APR::Table in startup.pl to load them up for multiple handlers have any bad side effects? I noticed that when I load them via startup.pl the

Re: how to extend CPAN module?

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

Re: [mp1] "Safe" segfaults with mp1

2003-07-24 Thread Stas Bekman
up. We could prevent the segfault in mod_perl, but you still won't be able to use Safe under it. So IMHO it's not worth the slowdown to do extra checks. Should probably add it to the troubleshooting section. __ Stas Bek

Re: [mp1] "Safe" segfaults with mp1

2003-07-24 Thread Stas Bekman
Stas Bekman wrote: Joel Palmius wrote: use Safe; my($compartment) = new Safe; $compartment->permit(qw(:browse)); $compartment->reval("print \"gnu\n\";"); [...] Request results in segfault: [Thu Jul 24 12:59:56 2003] [notice] child pid 3003 exit signal

Re: Test unexpectedly succeeded during make test

2003-07-24 Thread Stas Bekman
the tests aren't running: all skipped: cannot find module 'LWP' ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mail

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

2003-07-24 Thread Stas Bekman
#x27;ll be released sooner if more people help with testing and polishing it. For more information see: http://httpd.apache.org/apreq/ __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ m

Re: [mp1] "Safe" segfaults with mp1

2003-07-24 Thread Stas Bekman
h mp, what *am* I supposed to use? I didn't say that. I just said that if it doesn't work for you... but as you have just shown that TIMTOWTDI ;) I might be possible to convince to write a version of Safe specifically for mp1, although I expect I shall have to experience more problems with

Re: mp2: multiple include paths accross virtual servers?

2003-07-24 Thread Stas Bekman
need seperate httpd's for each seperate site? You need to add: PerlOptions +Parent See: http://perl.apache.org/docs/2.0/user/config/config.html#C_Parent_ ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker

Re: mp2: multiple include paths accross virtual servers?

2003-07-24 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 Bekman

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

2003-07-25 Thread Stas Bekman
g tutorial that shows examples of how 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://stas

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

Re: problem with method "auth_type"

2003-07-25 Thread Stas Bekman
.apache.org/download/source.html#Development_mod_perl_2_0_Source_Distribution __ 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: compile latest CVS

2003-07-25 Thread Stas Bekman
Jul 16, which is very recent. ______ 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://apachew

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

2003-07-26 Thread Stas Bekman
apreq-dev list at: http://httpd.apache.org/apreq/. Once you are subscribed to it, you will know where exactly you can help. Thanks. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/

Re: other ISP that provide mod_perl in hosting.

2003-07-26 Thread Stas Bekman
Fco. Valladolid wrote: http://www.jvds.com/shellaccounts.php when submitting ISP info, please specify the country (/state) the company based on. I couldn't figure that out from the above URL. thanks. __ Stas B

[Fwd: Call for Participation for ApacheCon US 2003]

2003-07-26 Thread Stas Bekman
DlnJiGAHFjw= =c2Wd -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- ______ Stas Bekman

Re: Can't locate object method cgi_env

2003-07-28 Thread Stas Bekman
to subprocess_env() in mp1, 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

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

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 shou

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

Re: Test unexpectedly succeeded during make test

2003-07-28 Thread Stas Bekman
gi.pl which it's not. ______ 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
ile { my $dir = @_ == 2 ? $_[1] : $_[0]->filename; chdir $dir; } __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.

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 $d

Re: Working directory of script is "/" !

2003-07-29 Thread Stas Bekman
BTW, perhaps we should enable the chdir_file call in ModPerl::RegistryCooker, so people won't need to install mod_perl 1 just to have Apache::Registry... can you please try with ModPerl::RegistryCooker? Thanks. ______ Stas Bekm

Re: mod perl , windows/apache problem

2003-07-29 Thread Stas Bekman
o any files you're opening. and Colin will post shortly a workaround until we provide an in-core solution. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http

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

2003-07-29 Thread Stas Bekman
very* helpful. ______ 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 thing

Re: Working directory of script is "/" !

2003-07-29 Thread Stas Bekman
ile::Basename(); my $file = @_ == 2 ? $_[1] : $_[0]->{FILENAME}; my $dir = File::Basename::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;

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

2003-07-29 Thread Stas Bekman
f all the outstanding issues, 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

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

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

Re: privileged execution

2003-07-30 Thread Stas Bekman
nd Lincoln Stein wrote a tpj article: "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. ____

Re: Working directory of script is "/" !

2003-07-30 Thread Stas Bekman
/porting/compat.html#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 PROT

mp2 works on MacOSX 10.2.6

2003-07-30 Thread Stas Bekman
5.8.0-ithread/lib/site_perl/5.8.0/darwin-thread-multi /Users/eric/perl/5.8.0-ithread/lib/site_perl/5.8.0 /Users/eric/perl/5.8.0-ithread/lib/site_perl . 3. This is the core dump trace: (if you get a core dump): [CORE TRACE COMES HERE] This report was generated by t/REPORT on Wed Jul 30 0

Re: Working directory of script is "/" !

2003-07-30 Thread Stas Bekman
ts to 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 http://modperlbook.org http://apache.org http://ticketmaster.com

Re: Invalid command 'PerlLoadModule'

2003-07-30 Thread Stas Bekman
or something? Btw, 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 ______

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 h

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

2003-07-30 Thread Stas Bekman
at this comes as a big surprise to anyone. -- Jarkko Hietaniemi <[EMAIL PROTECTED]> http://www.iki.fi/jhi/ "There is this special biologist word we use for 'stable'. It is 'dead'." -- Jack Cohen -- _

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

2003-07-30 Thread Stas Bekman
i/jhi/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://apachewe

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 releas

Re: Privilege separation revisited

2003-07-31 Thread Stas Bekman
child.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://modperlbook.org h

Re: Trouble with Apache::Request

2003-07-31 Thread Stas Bekman
14 Compilation failed in require at (eval 16) line 3. This patch resolves this problem: http://marc.theaimsgroup.com/?l=apreq-dev&m=105965131008577&w=2 it should go in in the next release. ______ Stas BekmanJAm_pH -

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 m

Re: Trouble with Apache::Request

2003-07-31 Thread Stas Bekman
www.sprocketdata.com : -Original 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 ge

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

2003-07-31 Thread Stas Bekman
t; "-I../c ". $src->inc, 'TYPEMAPS' => $src->typemaps, - 'LIBS' => "-L$root -lapreq", + 'OBJECT' => "Request.o $root/libapreq.a", 'dynamic_lib' => {

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 and

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: 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: 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

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. __ S

Re: Accessing environment variables prior to invoking the contenthandler.

2003-08-05 Thread Stas Bekman
ones, it'll be easier to move to mp2. ______ 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: rflush() not working as documented?

2003-08-05 Thread Stas Bekman
o release it on CPAN soonish. ______ 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://apachewe

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

2003-08-07 Thread Stas Bekman
prefer that you do it so you can make sure that it gets fixed in the next release, since you need 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://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

Re: http responses piped to STDERR

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

Re: PerlModule options?

2003-08-08 Thread Stas Bekman
rter manpage for more details. ______ 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://modpe

Re: Error in compile

2003-08-09 Thread Stas Bekman
e/mod_perl-1.99_09$ 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

Re: mod_perl.c version for httpd 2.0.47

2003-08-09 Thread Stas Bekman
ng MP_APXS. __ 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://a

Re: rflush() not working as documented?

2003-08-09 Thread Stas Bekman
''; while ($filter->read(my $buffer, 1024)) { $data .= $buffer; } $filter->print("[$data]") if $data; return Apache::OK; } the response body is: [][] does it work for you? Is it any different from your code? _

Re: [mp2] segfault when connect to database

2003-08-10 Thread Stas Bekman
cing the problem with an external program and then mod_cgi? 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

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 quest

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

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

Re: [mp2] Child process exited

2003-08-14 Thread Stas Bekman
ked? Maybe I should reinstall Apache and mod_perl? I can't tell, may be you have cleaned up some things on the way. e.g. you could do something that would cause the logs to be written into a different log file. ______ Stas Bekman

request for help with reproducing problem

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

Re: Threading issue in 5.6 and 5.8

2003-08-14 Thread Stas Bekman
enable you to address some of your threading 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_

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

2003-08-14 Thread Stas Bekman
gh I'd suggest to download src.rpm of each 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/ mo

Re: Problem reloading modules

2003-08-14 Thread Stas Bekman
#x27;ll try to do that shortly. ______ 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.co

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

<    5   6   7   8   9   10   11   12   13   14   >