Re: PerlModule options?

2003-08-14 Thread Stas Bekman
special for each script. You can preload registry scripts using Apache::RegistryLoader, but this doesn't remove the need for an explicit import. __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://sta

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/mod

Re: $r->headers_out Location and Set-Cookie

2003-08-14 Thread Stas Bekman
(REDIRECT); notice that you don't need to call $r->send_http_header, it doesn't exist in 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 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 co

Re: [mp2] Child process exited

2003-08-14 Thread Stas Bekman
omeone else can reproduce the problem 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

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

2003-08-14 Thread Stas Bekman
he SSI's port 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 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
stribution __ 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
reported, then you fix your code to avoid these warnings (with the non-crashing version of the template), then move to solve the original problem. __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http

Re: $r->headers_out Location and Set-Cookie

2003-08-14 Thread Stas Bekman
Stas Bekman wrote: Chris Faust wrote: I haven't had any problems setting a cookie and redirecting on MP2 by using the below $r->err_headers_out->add('Set-Cookie' => $packed_cookie); $r->header_out('Location' => $url); $r->status(REDIRECT);

Re: [mp2] Child process exited

2003-08-14 Thread Stas Bekman
subs defined in the same file. ______ 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

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

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

Re: Problem reloading modules

2003-08-14 Thread Stas Bekman
suggest a different 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 ;) _____

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

Re: mp1 rflush() and buffer size

2003-08-14 Thread Stas Bekman
e that it works, you can run strace on the process, to see it working correctly. You can see an example here: http://perl.apache.org/docs/1.0/guide/debug.html#Detecting_Aborted_Connections __ Stas BekmanJAm_pH --> Just A

Re: [mp2] Child process exited

2003-08-14 Thread Stas Bekman
have to try it. If you can put it online 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.or

Re: [mp2] Child process exited

2003-08-14 Thread Stas Bekman
pache.org for hints how to resolve the latter. ______ 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
ory. Meanwhile I'll patch Apache::Test to put LoadModule directives inside so this problem affect Apache::Test. __ 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: setting httpd for Apache::test

2003-08-14 Thread Stas Bekman
omething is missing unclear, just shout): http://perl.apache.org/docs/general/testing/testing.html Also see Apache::Peek and Apache::Clean modules from CPAN as examples. ______ Stas BekmanJAm_pH --> Just Ano

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 yo

Re: which mod defines transferlogs?

2003-08-14 Thread Stas Bekman
og /home/stas/apache.org/portland/t/logs/access_log ______ 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: [mp2] Child process exited

2003-08-14 Thread Stas Bekman
find them. See: http://perl.apache.org/docs/2.0/api/Apache/Reload.html#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 Bekman

Re: [mp2] Child process exited

2003-08-14 Thread Stas Bekman
can dump the value of @INC, so see that d:/htdocs is not there (at the server startup). One of the following will work. PerlSwitches -Id:/htdocs or PerlSwitches -Mlib=d:/htdocs ______ Stas BekmanJAm_pH --> Jus

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 ();

Re: mod_perl.c version for httpd 2.0.47

2003-08-14 Thread Stas Bekman
ms, so you 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

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

Re: pod files

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

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

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

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

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

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

2003-08-14 Thread Stas Bekman
d so we can document 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.or

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

2003-08-14 Thread Stas Bekman
n each request. You can see the actual functions in lib/ModPerl/RegistryCooker.pm. If you can try to take it from here and see what the problem is (your code/registry?), that would be cool. Thanks. Also make sure you are using the latest CGI.pm (2.93 or higher is good). ___

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 Bekman

[mp2] Apache::Status probs

2003-08-14 Thread Stas Bekman
e by creating a new message, with a new subject, etc., rather than using 'reply'. Thanks. __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.o

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

2003-08-15 Thread Stas Bekman
Here is one of them: http://marc.theaimsgroup.com/?l=apache-modperl-dev&m=105955380011549&w=2 ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://per

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

2003-08-16 Thread Stas Bekman
me problem? 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. ______

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

2003-08-16 Thread Stas Bekman
opinion is that we want to make the workaround more visible, we can do that as well. Another solution to this problem is to use the static build, which is incomplete yet. If someone wants to do that, patches are *very* welcome. __ Sta

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 B

Re: Strange mod_perl2/Apache2 behavior -- I think

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

Re: Apache 2.0.47, mod_perl.c

2003-08-20 Thread Stas Bekman
g me problems was to install 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 -->

Re: Apache installation not accepting perl-script Handler

2003-08-21 Thread Stas Bekman
Europe e-Card: gbjk <http://www.thermeoneurope.com/e-Card/?uid=gbjk> -- __ 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://mo

Re: Apache installation not accepting perl-script Handler

2003-08-21 Thread Stas Bekman
ute the test file properly. Don't try to interpret the errors, we need to see the errors as they were reported by Apache. You also need to post the relevant config section. ______ Stas BekmanJAm_pH --> Just Ano

Re: Apache installation not accepting perl-script Handler

2003-08-21 Thread Stas Bekman
d_Starting_the_mod_perl_Server ______ 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://apache

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

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

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_p

Re: Apache 2.0, mod_perl filter question

2003-08-22 Thread Stas Bekman
elevant to the problem. What we need is a set of short script/handlers and a minimal config file with which we can reproduce the problem. Ideally, if you can submit patches to our test suite to accomplish this setup that would be the simplest. All we will have to do is to make it working. __

Re: Errors trying to port (old) mod_perl software

2003-08-22 Thread Stas Bekman
run that I get the error: Can't locate # in @INC 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 ______

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

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

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

2003-08-25 Thread Stas Bekman
his? It should 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 --->

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/ht

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
e sure to send the complete error message so we can map the line number to the offending code in the module. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> h

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

Re: SubRequest in Filter MP2 [QUESTION]

2003-08-25 Thread Stas Bekman
ted to 127.0.0.1. Escape 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. ________

Re: installing Apache::Test via CPAN impossible as root

2003-08-26 Thread Stas Bekman
readable by the apache user, or build/run the tests as a non-root. If you configure your CPAN to put the build dir not under /root, but let's say /tmp/ (probably can come up with a better choice), it'll work. ______ Stas

Re: SubRequest in Filter MP2 [QUESTION]

2003-08-26 Thread Stas Bekman
blem Description: [...] 3. This is the core dump trace: (if you get a core dump): [CORE TRACE COMES HERE] Thanks, but you have missed the core dump's backtrace. ______ Stas BekmanJAm_pH --> Just Another mod_perl

Re: installing Apache::Test via CPAN impossible as root

2003-08-26 Thread Stas Bekman
[EMAIL PROTECTED] wrote: On Tue, 26 Aug 2003 09:07:21 -0700, Stas Bekman wrote: [snip] As you posted in the followup, this is a problem with all Apache:: modules. The problem originates within Apache, not us. FWIW, the cvs version of Apache::Test warns you early whether this is going to work

Re: problems with Apache::Filter

2003-08-26 Thread Stas Bekman
ory, for some reason. It seems that you are trying to run mod_perl 1.0 modules with mod_perl 2.0. In order to help us to help you, you must always submit a complete bug report as explained here: http://perl.apache.org/bugs/ ______ Stas Be

Re: SubRequest in Filter MP2 [QUESTION]

2003-08-26 Thread Stas Bekman
Craig Shelley wrote: On Tue, 2003-08-26 at 19:03, Stas Bekman wrote: Thanks, but you have missed the core dump's backtrace. I am sorry but I have never used core files before, so forgive me if I have done this all wrong. No worries, this task is not trivial. Your trace is almost perfect

Re: Installation problem

2003-08-26 Thread Stas Bekman
which provides the exact information we need to help them. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED]

Re: problems with Apache::Filter

2003-08-26 Thread Stas Bekman
andlers/filters.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 http://apache.org http://ticke

Re: Installation/test problems - mod_perl-1.27

2003-08-26 Thread Stas Bekman
PS: Please keep it on the list... :) ______ 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: Installation problem

2003-08-26 Thread Stas Bekman
ls already. If you ask a question in a public forum and expect an answer, please at least consider to turn off any autoresponders that you may have. :( __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http

why you should reply to the list

2003-08-26 Thread Stas Bekman
s, which breaks the thread in the archives. Purhaps adding a list signature: Always post followups back to the list! will help, but who reads that. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://st

Re: problem with mod_perl 2.0 + apache 2.0 and proxyreq

2003-08-26 Thread Stas Bekman
to retrieve the cvs version in order to get it. http://perl.apache.org/download/source.html#Development_mod_perl_2_0_Source_Distribution (note: I have just committed the test, so if you use the snapshot, which is updated every 6 hours, it may not be there, so use the normal cvs checkout) _

Re: why you should reply to the list

2003-08-27 Thread Stas Bekman
Larry Leszczynski wrote: On Tue, 26 Aug 2003, Stas Bekman wrote: Please advise on another way to tell people to respond to the list and not in private. I used to receive much less off-list replies earlier. [snip] Purhaps adding a list signature: Always post followups back to the list! will

Re: why you should reply to the list

2003-08-27 Thread Stas Bekman
he 'Reply-To' header 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://apacheweek.com http://modperlbook.org

Re: [mp1] consistent segfaults with HTML::Mason

2003-08-27 Thread Stas Bekman
functions. http://perl.apache.org/bugs/ provides the details on how to do that. __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PRO

Re: [mp1.0] Installation problem

2003-08-27 Thread Stas Bekman
sed. Make sure to always report bugs properly in the future. Alan, as Ged suggested, upgrade your perl to 5.6.1 or 5.8.0 (5.8.1 was not released yet) and try again (you will need to rebuild mod_perl once you did that). ______ Stas Bekman

Re: File Upload mod_perl to mod_perl2

2003-08-27 Thread Stas Bekman
l be helpful. -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html -- ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org

Re: installing Apache::Test via CPAN impossible as root

2003-08-27 Thread Stas Bekman
Udo Rader wrote: Am Tue, 26 Aug 2003 16:07:21 + schrieb Stas Bekman: As you posted in the followup, this is a problem with all Apache:: modules. The problem originates within Apache, not us. Didn't know that apache rejects to run as root. Strange (but safe) behaviour. It starts as

Re: perl.apache.org problem

2003-08-27 Thread Stas Bekman
e.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:/

Re: [mp1] consistent segfaults with HTML::Mason

2003-08-28 Thread Stas Bekman
work with perl < 5.6. So if you can share your solution, I'd it to that section. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apach

Re: [mp2] make test failed

2003-08-28 Thread Stas Bekman
here in t/conf/httpd.conf and rerun: t/TEST -v filter/in_bbs_msg.t hooks/trans.t don't run 'make test' as it'll rewrite t/conf/httpd.conf, use t/TEST instead. I wonder why http://httpd.apache.org/docs-2.0/mod/core.html#enablesendfile says that it's on by default. __

Re: [mp2] make test failed

2003-08-28 Thread Stas Bekman
n. It should be: EnableSendfile Off of course. ______ 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://apache

Re: Source for Apache::Test documentation on perl.apache.org

2003-08-28 Thread Stas Bekman
s directly, or somewhere else? Please, post them to the dev list: http://perl.apache.org/maillist/dev.html ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http:

Re: Apache::Test unable to locate libperl.so?

2003-08-28 Thread Stas Bekman
+637,7 @@ my @trys = grep { $_ } ($vars->{src_dir}, $self->apxs('LIBEXECDIR'), + $self->apxs('LIBEXECDIR').'-extramodules', catfile($sroot, 'modules'), catfile($sroot, 'libexec')); __

Re: using "-|" construct

2003-08-29 Thread Stas Bekman
rl (apache 1x). The problem is that the initial read pipe apparently fails to open under modperl. Is there a workaround for this? or am I just missing something simple? Use IPC::Run? ______ Stas BekmanJAm_pH --> Just

Re: SOAP::Lite in mod_perl...

2003-08-29 Thread Stas Bekman
7;s a bug in Apache 1.3.28: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22805 __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAI

Re: SOAP::Lite in mod_perl...

2003-08-29 Thread Stas Bekman
d's homedir on CPAN, and not release manager's one. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROT

nntp interface to modperl list archives is avalable

2003-08-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 -- Reporting bugs

Re: problems with Apache::Filter

2003-08-27 Thread Stas Bekman
followup. ______ 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://ap

Re: where to find request object in mod_perl2

2003-08-29 Thread Stas Bekman
tml#C_Apache_E_gt_request_ __ 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

Re: where to find request object in mod_perl2

2003-08-29 Thread Stas Bekman
showing any error messages or explaining what kind of problem he has. On Fri, 29 Aug 2003 10:17:57 -0700, Stas Bekman <[EMAIL PROTECTED]> wrote: Igor Ivoilov wrote: Hello all, I have perl programs running under Apache::Registry. Now I need to switch to mod_perl2 and can not find request

Re: [mp2] make test failed

2003-08-29 Thread Stas Bekman
sg. For some reason it fails to do that for you. ______ 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: Problems Installing On Debian - Or Not

2003-08-29 Thread Stas Bekman
one, which may cause even more confusion. IMHO, it's much better to die with a useful hint on how to tell where APXS is. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl G

please test a new GTop

2003-08-29 Thread Stas Bekman
paths. [Stas Bekman] Backport GTop to perl 5.005_03 using ppport.h [Stas Bekman] __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAI

Re: Apache::DProf problems

2003-08-29 Thread Stas Bekman
l not have code-debugging information inserted. Make sure that you load before any code that you plan to profile. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> h

Re: where to find request object in mod_perl2

2003-08-29 Thread Stas Bekman
ting/compat.html http://perl.apache.org/docs/2.0/user/porting/porting.html while my $r = shift; gives an object of type 'Apache::RequestRec' That's correct. Can not find how to reach header_in() from this point Again, it's in: http://perl.apache.org/docs/2.0/user/porting/compat.htm

Re: PATCH porting.pod "First Mystery"

2003-08-30 Thread Stas Bekman
[EMAIL PROTECTED] wrote: In private mail Stas Bekman <[EMAIL PROTECTED]> writes: oops, that should be the modperl list... at modperl-docs we discuss mostly site/docs techical issues and there are very few people on this list to get enough exposure for this kind of feedback request. Pat

Re: SubRequest in Filter MP2 [QUESTION]

2003-08-27 Thread Stas Bekman
Geoffrey Young wrote: Stas Bekman wrote: Craig Shelley wrote: 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. I think I've got this figured out. the problem is with the r->main logic in mpxs_ap_

Re: SubRequest in Filter MP2 [QUESTION]

2003-08-27 Thread Stas Bekman
ndler, and do nothing if run from the filter handler. I have somewhere a prototype for the new API which tells what phase we are in, but it's possible that there is a more efficient way to tell the difference. ______ Stas Bekman

Re: SubRequest in Filter MP2 [QUESTION]

2003-08-27 Thread Stas Bekman
? Are you required to flush any data before issuing a subrequest? If I remember correctly you aren't. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://

Re: PATCH porting.pod "First Mystery"

2003-09-02 Thread Stas Bekman
h will work well in mp1 and mp2, we can replace the lib.pl solution with it, but should add it to the perl reference section. __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl

Re: self_url MP2 w/o CGI

2003-09-02 Thread Stas Bekman
aram uri The path to the requested file * @param r The current request * @return A fully qualified URL * @deffunc char *ap_construct_url(apr_pool_t *p, const char *uri, request_rec *r) */ AP_DECLARE(char *) ap_construct_url(apr_pool_t *p, const char *uri, request_rec *r); ___

Re: self_url MP2 w/o CGI

2003-09-02 Thread Stas Bekman
Tofu Optimist wrote: Thanks. How do I call construct_uri? You just call $r->construct_url. In your example that would be: $r->headers_out->set(Location => $r->construct_url . "&r2=1"); ______

Re: self_url MP2 w/o CGI

2003-09-02 Thread Stas Bekman
ust call $r->construct_url. In your example that would be: $r->headers_out->set(Location => $r->construct_url . "&r2=1"); ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http:

Re: Custom Log files Under MP2

2003-09-02 Thread Stas Bekman
As for flocking, I prefer to do that, even though there are claims that short writes are atomic. It's probably not the same on all io implementations. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http

Re: Preloading modules and Perl 5.6.1 vs 5.8.0

2003-09-03 Thread Stas Bekman
being a bonehead? Thank you in advance for any assistance. Compare their build options? perl-5.6.1 -V > 5.6.1 perl-5.8.0 -V > 5.8.0 diff -u 5.6.1 5.8.0 __ Stas BekmanJAm_pH --> Just Another mod_perl Ha

Re: Process exiting prematurely

2003-09-03 Thread Stas Bekman
sue a request to a registry script? I suppose nothing? There is no segfault, no nothing? What's the exact error message that you get from the system? (I suppose it does that via a pop up window, right?) __ Stas Bekman

Re: collecting unique client (computer) specific info?

2003-09-03 Thread Stas Bekman
the command line (assuming that you are using the latest cvs): perl -MApache2 -MAPR -MAPR::UUID -le 'print APR::UUID->new->format' ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://staso

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