an update on Apache::Request 2.0 progress

2003-06-11 Thread Stas Bekman
.org/apreq/ __ 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: really dumb q re getting values sent to a form

2003-06-11 Thread Stas Bekman
ModPerl::Test::read_post recently, after discovering that get_client_block is broken in certain situations when working with input filters. __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org

Re: [mp2] make test fails with 1.99_10-dev sources on redhat

2003-06-12 Thread Stas Bekman
Haroon Rafique wrote: On Today at 9:46am, SB=>Stas Bekman <[EMAIL PROTECTED]> wrote: SB> SB> Actually it was Sunday (future!) and it's winter (past?) here in SB> Melbourne ;) I figured we were a few continents away. SB> SB> Then, if it's indeed your globall

Re: [mp2] make test fails with 1.99_10-dev sources on redhat

2003-06-12 Thread Stas Bekman
Stas Bekman wrote: Haroon Rafique wrote: On Today at 9:46am, SB=>Stas Bekman <[EMAIL PROTECTED]> wrote: SB> SB> Actually it was Sunday (future!) and it's winter (past?) here in SB> Melbourne ;) I figured we were a few continents away. SB> SB> Then, if it's ind

Re: [mp2] make test fails nearly all tests...

2003-06-12 Thread Stas Bekman
Tim Howell wrote: I figured this one out: CGI needed to be updated. =) Yes, the cvs version already handles this test gracefully. __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_p

Re: [mp2] make test fails nearly all tests...

2003-06-12 Thread Stas Bekman
he output of 'make test', since it tells me when it chowns the files and to which uid/gid. __ 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] make test fails with 1.99_10-dev sources on redhat

2003-06-12 Thread Stas Bekman
Haroon Rafique wrote: On Today at 6:58pm, SB=>Stas Bekman <[EMAIL PROTECTED]> wrote: SB> please try this patch against the current cvs. I did some testing and SB> it seems to work. Test it on your old setup where you still have this SB> problem. SB> SB> [...patch snipped.

Re: How practical is that Practical mod_perl?

2003-06-12 Thread Stas Bekman
l let you know when this work has been completed. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use

Re: Help needed !!

2003-06-12 Thread Stas Bekman
27;ll tell you everything you wanted to know and more. Please spend some time reading this document: http://perl.apache.org/docs/1.0/guide/debug.html#Warning_and_Errors_Explained __ Stas BekmanJAm_pH --> Just Another

Re: Apache::AuthenNTLM problems

2003-06-12 Thread Stas Bekman
ead -lc -lcrypt -lutil perllibs=-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil libc=/lib/libc-2.2.92.so, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.2.92' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic -Wl,-rpath,/usr/lib

Re: [mp2] make test fails with 1.99_10-dev sources on redhat

2003-06-12 Thread Stas Bekman
ink it's worth documented this somewhere in the troubleshooting section? OS-specific issues? ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://per

Re: [mp2] make test fails with 1.99_10-dev sources on redhat

2003-06-12 Thread Stas Bekman
Perrin Harkins wrote: On Thu, 2003-06-12 at 20:10, Stas Bekman wrote: Perrin, do you think it's worth documented this somewhere in the troubleshooting section? OS-specific issues? That's a good idea. I'm going on vacation for a couple of weeks and won't be able to look at

Re: Apache Error of $r->read failed to read

2003-06-12 Thread Stas Bekman
lost you can't know for sure. Hopefully a rewrite of that function will make easier to debug problems in the future. - Original Message - From: "Stas Bekman" <[EMAIL PROTECTED]> You probably use CGI.pm or something else that calls $r->read(). This hap

Re: mod_perl slower than expected?

2003-06-12 Thread Stas Bekman
It's all described here: http://perl.apache.org/docs/1.0/guide/performance.html ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apac

Re: mod_perl slower than expected?

2003-06-13 Thread Stas Bekman
Trevor Phillips wrote: On Friday 13 June 2003 13:57, Stas Bekman wrote: Since your question is too broad to be able to easily pinpoint any problems without spending some time with it, I'd suggest reading: http://perl.apache.org/docs/1.0/guide/performance.html if you haven't done tha

Re: UTF-8 support [was : (Re: [mp2] make test fails with 1.99_10-devsources on redhat)]

2003-06-14 Thread Stas Bekman
hether they were resolved. If you find something that would be of interest to other readers, please post a summary here. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide

Re: handler($$) unreliability

2003-06-14 Thread Stas Bekman
eally, really want to move to perl 5.6.1. ______ 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: How practical is that Practical mod_perl?

2003-06-14 Thread Stas Bekman
k.org/. I think it's a time to start a new thread on how to improve: http://perl.apache.org/docs/tutorials/client/compression/compression.html ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason

Re: each considered harmful?

2003-06-15 Thread Stas Bekman
ave this issue documented together with other mod_perl gotchas. It's interesting that I don't remember this issue being reported earlier. __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_pe

Re: problem building libapreq on Solaris

2003-06-15 Thread Stas Bekman
- I have no idea if something else will then fail. Right on. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED]

Re: subroutine redefined

2003-06-15 Thread Stas Bekman
#x27;t wish this to happen, you can say: no warnings 'redefine'; at the top of your script. Normally I start my code with: use strict; use warnings; no warnings 'redefine'; # to be remove in production ______ Stas

Re: mod_perl on Solaris notes..

2003-06-15 Thread Stas Bekman
at addition to our ever-growing knowledge base. You can download the source file (in pod), by clicking on the [src] icon on that page. __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org

Re: each considered harmful?

2003-06-16 Thread Stas Bekman
a short pod section using this example, explaining the problem and the solution? plain text or pod will do. we will add it to the coding chapter. Thanks. __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker h

Re: each considered harmful?

2003-06-16 Thread Stas Bekman
clude this preferred solution in the possible solutions section (assuming that you are going to write it ;). __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide -

Re: each considered harmful?

2003-06-16 Thread Stas Bekman
hat you'd have loved to find in the docs, when you first discovered it? Of course digesting all the helpful comments from others in this thread. Good docs don't grow on the trees, someone has to put them together. _____

Re: Sharing memory between children

2003-06-16 Thread Stas Bekman
e of code, file, etc. Chapters 9 and 13 in the "Practical mod_perl" book should give you a good idea on how to use them. There is also some info here: http://perl.apache.org/docs/1.0/guide/performance.html#Measuring_the_Memory_Usage_of_Subroutines ____

Re: Current stable platform for mod_perl application ?

2003-06-16 Thread Stas Bekman
nsated. Having perl 5.8.0/1 gives you a chance to try your applications on threaded mpms of Apache2/mod_perl 2.0 and they may scale much better. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.

Re: list of ported modules?

2003-06-16 Thread Stas Bekman
ut it anywhere. there is: http://perl.apache.org/products/apache-modules.html we could put a section there. What do we have now: Already ported: --- CGI CGI::Cookie Apache::Peek In the process: Module Porters Apache::MP3 Stas Bekman/Cl

Re: IPC::Open3

2003-06-16 Thread Stas Bekman
e same API. __ 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: list of ported modules?

2003-06-17 Thread Stas Bekman
Shannon Eric Peevey wrote: Stas Bekman wrote: Shannon Eric Peevey wrote: Hi! Is there a list of CPAN modules that have already been ported to work with mod_perl2? Not at the moment, but it's a great idea. Where should we add it? I suppose that this should be a short-life documen

Re: how to unsubscribe from this list

2003-06-17 Thread Stas Bekman
lto:[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://modperlbook.org http://apache.org http://ticketmaster.com

Re: Mod Image Magick

2003-06-17 Thread Stas Bekman
anding that. There are plenty of other perl-related help lists where you can find the help you are looking for. Check: http://perl.apache.org/docs/offsite/other.html ______ Stas BekmanJAm_pH --> Just Another

Re: non-LFS Apache 1.3.27 w/ LFS Perl 5.8.0 (using mod_perl)

2003-06-17 Thread Stas Bekman
roblems > Here is our mod_perl build script: > > ... # run the following from the mod_perl source directory > $perl_base/bin/perl Makefile.PL \ INSTALLDIRS=perl PREFIX=$prefix \ > USE_APXS=1 WITH_APXS=$apache_base/bin/apxs \ EVERYTHING=1 ... ___

Re: [port to mp2] Apache::MP3

2003-06-17 Thread Stas Bekman
ice that ICY headers should be sent in nph- mode, and xmms seems to work just fine with it. Hopefully Clemens will provide a better port soonish. Lincoln On Monday 02 June 2003 07:37 am, Stas Bekman wrote: I've ported Apache::MP3 to mp2. I'm not submitting it as a patch yet, since I want

Re: mp2: right place to unescape HTML?

2003-06-17 Thread Stas Bekman
t: look at the function param(). ______ 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: Re: Can't call method "method" on an undefined value at Apache-Test/lib/Apache/TestRequest.pm

2003-06-17 Thread Stas Bekman
ing: Can't call method "method" on an undefined value at Apache-Test/lib/Apache/TestRequest.pm line 411. Thanks, Brent -- ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org

Re: doc discrepancy?

2003-06-18 Thread Stas Bekman
...) Thank you, Shannon, I've corrected that document as per your advice. __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROT

[RELEASE CANDIDATE] Apache::Test 1.03-dev

2003-06-18 Thread Stas Bekman
h/to/1.x/httpd perl Makefile.PL && make 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

Re: non-LFS Apache 1.3.27 w/ LFS Perl 5.8.0 (using mod_perl)

2003-06-18 Thread Stas Bekman
r safest bet is to have both components compiled with the same large file flags. > Again...sorry for the 'impatience' but I need to make a decision today if > we're to go ahead with this solution... Understood. __

Re: [RELEASE CANDIDATE] Apache::Test 1.03-dev

2003-06-18 Thread Stas Bekman
[Xavier, please keep reports on the list so others won't have to duplicate the effort for reported platforms/setups ;) thanks ] Xavier Noria wrote: On Wednesday 18 June 2003 11:13, Stas Bekman wrote: I've uploaded 1.03's release candidate. If nobody finds any faults, I'll u

Re: mod_perl slower than expected? - Test Code!

2003-06-18 Thread Stas Bekman
ter as: eval { require Time::HiRes }; if (!$@) { $Thrash::UseTimeHiRes = 1; } and neater as: use constant UseTimeHiRes => eval { require Time::HiRes }; ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker

[ANNOUNCE] Apache::Test 1.03

2003-06-18 Thread Stas Bekman
mand line. This way we don't have to comment out debug prints. [Stas] =item 1.02 not released __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://p

Re: [RELEASE CANDIDATE] Apache::Test 1.03-dev

2003-06-18 Thread Stas Bekman
Stas Bekman wrote: I've uploaded 1.03's release candidate. If nobody finds any faults, I'll upload it tomorrow on CPAN. (libapreq needs to rely on 1.03 fixes to release its 1.2's version). Please try it out: http://www.apache.org/~stas/Apache-Test-1.03-dev.tar.gz Thank y

Re: mod_perl 2 and file upload how-to

2003-06-18 Thread Stas Bekman
have some time help Joe to finish the porting of Apache::Request, which is getting there. Join the apreq-dev list: http://httpd.apache.org/apreq/, and offer your help. __ Stas BekmanJAm_pH --> Just Another mod_p

Re: non-LFS Apache 1.3.27 w/ LFS Perl 5.8.0 (using mod_perl)

2003-07-07 Thread Stas Bekman
for you (i.e. uses perl's cppflags) if you build static (since it builds apache). perl -V:cppflags cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -I/usr/include/gdbm'; I'm not sure what happen if you build DSO. _____

Re: "Magic number checking on storable" error with Apache::Session::MySQL

2003-07-10 Thread Stas Bekman
oduce this error. Software specs: Apache 1.3.27 mod_perl 1.27 Apache::Session 1.54 MySQL 4.0.13 Thanks, Dan -- __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Gu

Re: make test fails

2003-07-10 Thread Stas Bekman
ps on this issue. ______ 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: Content compression FAQ

2003-07-13 Thread Stas Bekman
re we can download it from and we'll update http://perl.apache.org/docs/tutorials/client/compression/compression.html We can update it as many times as needed, so there is no really need to first perfect it. __ Stas Bekman

Re: Few Important Questions

2003-07-13 Thread Stas Bekman
org/index.cgi?page=grants ______ 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://modperlbo

Re: module ported and doc addition...

2003-07-14 Thread Stas Bekman
rom: /http://perl.apache.org/products/apache-modules.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://ticketmaster.com

Re: Socket-based porotocol module: how to re-use connection?

2003-07-14 Thread Stas Bekman
using http? Any suggestions? it's not implemented in mod_perl, but in Apache 2 itself. You can look at the C source code and write similar in perl inside your handler. Most of the relevant logic resides in files starting with http_ in the apache source. ______

Re: [ANNOUNCE] libapreq-1.2 release

2003-07-14 Thread Stas Bekman
://www.apache.org/dist/httpd/libapreq-1.2.tar.gz.asc key: http://www.apache.org/dist/httpd/KEYS Ah, shouldn't this be 1.20? I thought that 1.2 < 1.16. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http:/

Re: [RELEASE CANDIDATE] Apache::Test 1.03-dev

2003-07-14 Thread Stas Bekman
o /root/foo/Apache-Test-1.03 are readable by that user, or move the whole tree to some other directory (e.g. /tmp) or run 'make test' as non-root! __ Stas BekmanJAm_pH --> Just Another mod_perl Ha

Re: informational notice in Makefile.PL

2003-07-14 Thread Stas Bekman
as a dependency and won't work with 2.0. ______ 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: Books - was How practical is that Practical mod_perl?

2003-07-14 Thread Stas Bekman
his site seems to be offline. In any case if it's still alive, I'd suggest to ask perl.org webmasters to link to it. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl

Re: 6 months of labour

2003-07-14 Thread Stas Bekman
mit a story for inclusion. See: http://perl.apache.org/outstanding/sites.html http://perl.apache.org/outstanding/success_stories/index.html ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/

Re: [mp2] Having trouble setting params with CGI

2003-07-14 Thread Stas Bekman
The best way to submit problems is to write a new test for the mod_perl 2.0 suite. You kill two birds at the same time when doing that, you learn how to write tests and save us a lot of time. ______ Stas BekmanJAm_

Re: ModPerl debugging

2003-07-14 Thread Stas Bekman
'h' http://perl.apache.org/docs/2.0/user/config/config.html#C_PerlTrace_ Also if you can submit a short example that reproduces the problem I can look at it. ______ Stas BekmanJAm_pH --> Just Another mod_perl H

Re: [mp2] Can't call method "method" on an undefined value ... TestRequest.pmline 411

2003-07-14 Thread Stas Bekman
Doug Wyatt wrote: Also, it appears that blib/lib/Bundle/ApacheTest.pm is missing a ';' at the end of the third line. thanks, committed. -- __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http

Re: [mp2] Can't call method "method" on an undefined value ... TestRequest.pmline 411

2003-07-14 Thread Stas Bekman
, but it wasn't resolved. Since I can't reproduce it, please try following the suggestions in this thread: http://marc.theaimsgroup.com/?l=apache-modperl-dev&m=105477132516232&w=2 and hopefully this time we will figure out what's the issue with it and resolve it.

Re: [mp1] 1.28 release candidate #2

2003-07-14 Thread Stas Bekman
uide/ to replace any references to StatINC with Reload and also mention the new features it has added. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.o

Re: make test fails when calling getaddrinfo() on 255.255.255.255

2003-07-14 Thread Stas Bekman
ur httpd.conf without even using mod_perl. I bet that this is an apache issue. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL P

Re: mp2: some POST data is showing up as a hashref after I parseit

2003-07-14 Thread Stas Bekman
7;av_speed', 'actual_session','HASH(0x8d7be98)','av_power','time_se','soreness', 'sleep','year') VALUES ('1','','','','','','The session was great!',

Re: Question about Apache::Request and query strings

2003-07-14 Thread Stas Bekman
I doing wrong? And is there an easier way? This example may help: http://perl.apache.org/docs/1.0/guide/snippets.html#Reusing_Data_from_POST_request ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org

Re: mod_perl Redirect Error

2003-07-14 Thread Stas Bekman
uide/snippets.html#mod_rewrite_in_Perl ______ 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: [RFC] web-messaging application for mod_perl

2003-07-14 Thread Stas Bekman
are not going to take over any future framework/namespaces... ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] htt

[admin] please trim the quoted text in replies to a minimum

2003-07-14 Thread Stas Bekman
r your consideration! This issue is covered in our list's etiquette's guide: http://perl.apache.org/maillist/email-etiquette.html#Extracts_From_Other_Posts [1] http://perl.apache.org/maillist/modperl.html#Searchable_Archives ______

Re: errors installing libapreq [RESOLVED]

2003-07-14 Thread Stas Bekman
s may hit different problems that could be fixed similarly. All better now :) That's all because of the issue case-insensitive issues with Apache/test.pm vs. Apache/Test.pm, which are no longer a problem, since mod_perl 2.0, no longer carries Apache/test.pm (it has been renamed to Apache/testol

Re: make test fails when calling getaddrinfo() on 255.255.255.255

2003-07-14 Thread Stas Bekman
ColinB wrote: --- Stas Bekman <[EMAIL PROTECTED]> wrote: ColinB wrote: I am compiling mod_perl 2.0 on Solaris 9. When I run "make test" for mod_perl 2.0 it fails almost immediately with file vhost.c, line 232, assertion "rv == APR_SUCCESS" failed after it calls ap

Re: Flushing

2003-07-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 Patch] BUG with mod_deflate and $|=1 (20014:Error stringnot specified)

2003-07-15 Thread Stas Bekman
tFilterByType DEFLATE text/* SetOutputFilter DEFLATE why adding it twice? You need only the latter inside , or alternatively only the former outside if you want it to be set globally: http://httpd.apache.org/docs-2.0/mod/core.html#addoutputfilterbytype

Re: Is statically-compiled mod_perl better?

2003-07-15 Thread Stas Bekman
0 DSO seems to be just fine, besides having linking problems on certain OSes (like mac) which will be resolved as soon as an expert of the relevant OS will provide us help. __ Stas BekmanJAm_pH --> Just Another

Re: Apache config problem .. please help

2003-07-15 Thread Stas Bekman
PerlSetupEnv Off in all sections that you don't need to access the CGI env vars, and have it On only in those s that run legacy scripts. http://perl.apache.org/search/swish.cgi?query=PerlSetupEnv&sbm=SecE&submit=search _____

Re: Apache::Registry -> String Compaction == Less RAM?

2003-07-15 Thread Stas Bekman
\ print \ "this is a string" \ # hmm, some comment \ . "another string" \ # bummer, i should end the line now \ ;' prints: BEGIN { $/ = "\n"; $\ = "\n"; } print 'this is a stringanother string'; -e syntax OK Also see: ____

Re: Apache::Registry -> String Compaction == Less RAM?

2003-07-15 Thread Stas Bekman
[sent it out too early] Stas Bekman wrote: Also see: http://perl.apache.org/docs/2.0/user/handlers/http.html#PerlResponseHandler __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_p

Re: [MP2 - BUG ?] Issue handing Apache config. error messages

2003-07-15 Thread Stas Bekman
Issac Goldstand wrote: Right. Could you possibly clarify the difference between SetHandler perl-script and SetHandler modperl? I'm still not sure I've got the straight of it yet... You must be kidding ;) Have you read the sections at the URL posted below? Stas Bekman wrote: Sreeji K

Re: untainting PATH in mod_perl

2003-07-15 Thread Stas Bekman
want to release your code for others to use, they may not be able to turn it off, since it'll break their CGI-legacy code as you have observed. FWIW, I use the following code when I need to use ``|qx: local $ENV{PATH} = "/bin:/usr/bin"; local @ENV{ qw(IFS CDPATH ENV BASH_ENV) }; __

Re: mod_perl 1.0 and 2.0

2003-07-15 Thread Stas Bekman
move to mod_perl 2.0, mod_perl 1.0 might be not worked on actively, but being an open source the project it will be maintained as long as someone will volunteer to do that. ______ Stas BekmanJAm_pH --> Just Another mod_perl H

Re: compile issue: conflicting types for getline

2003-07-15 Thread Stas Bekman
ne|' src/support/*.c Of course this shouldn't have been a problem in first place, because this function is status. __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --->

Re: Undocumented behaviour in Apache->print()?

2003-07-15 Thread Stas Bekman
ny case a simple test that reproduces the problem will be needed. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTE

Re: Dynamically banning hosts

2003-07-15 Thread Stas Bekman
/user/handlers/protocols.html#PerlPreConnectionHandler or during the normal mp1-like handler: http://perl.apache.org/docs/2.0/user/handlers/http.html#toc_PerlAccessHandler __ Stas BekmanJAm_pH --> Just Another mod_p

Re: [mp2] Apache::DBI

2003-07-15 Thread Stas Bekman
o say that you need these options only if you use mp1. __ 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: module ported and doc addition...

2003-07-15 Thread Stas Bekman
check that you actually co-own the modules in question. Also need to get excited about getting the authperlldap mod done as well... :) ;) ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/

Re: Memoize.pm and mod_perl

2003-07-15 Thread Stas Bekman
r to its manpage for more info. ______ 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://apach

Re: [mod_perl] Re: Content compression FAQ

2003-07-15 Thread Stas Bekman
s. If everything else fails please contact [EMAIL PROTECTED] __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROT

Re: AuthenNTLM - Help

2003-07-15 Thread Stas Bekman
_perl 1.0, in case it wasn't ported yet. __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://u

Re: mod-perl - read

2003-07-15 Thread Stas Bekman
post a short code snippet that you have a problem with? Which phase are you calling the handler from? Or is it a registry script? ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_p

Re: Bareword "Apache::OK" not allowed, Apache::PerlSection

2003-07-15 Thread Stas Bekman
s fine for me, may be you need to add: PerlModule Apache2 before your first section? Also I'd suggest to always run your mod_perl server with: PerlSwitches -wT ______ Stas BekmanJAm_pH --> Just Ano

Re: [RFC] web-messaging application for mod_perl

2003-07-15 Thread Stas Bekman
Adi Fairbank wrote: On, or in the near vicinity of Mon, 14 Jul 2003 18:49:58 +0300 Stas Bekman <[EMAIL PROTECTED]> has thus written: Probably the best bet is to give it some cool unique name, like Apache::AdiChat and then you are all set, since you are not going to take over [...] What&#

Re: Virtual Host Logging Perl Script

2003-07-15 Thread Stas Bekman
eed of the script seems reasonable enough, is there a better way to do what I'm doing below? 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. ______

Re: informational notice in Makefile.PL

2003-07-15 Thread Stas Bekman
Randy Kobes wrote: On Mon, 14 Jul 2003, Stas Bekman wrote: [ ... ] Are you talking about the dependencies list? by 'the current state of affairs with mod_perl 2.0', you mean that it's not indexed by PAUSE. It's available from CPAN. Actually, once it gets indexed by CPAN it&#x

Re: [mp2] Apache::Cookie

2003-07-15 Thread Stas Bekman
apreq list and help debug the current version. For more info see: http://httpd.apache.org/apreq/ __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache

Re: Undocumented behaviour in Apache->print()?

2003-07-15 Thread Stas Bekman
w.poniecode.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 htt

Re: untainting PATH in mod_perl

2003-07-15 Thread Stas Bekman
e whole problem altogether. I realize that this is not always possible. How about abstracting untaint and `` into a single function: sub backticks { local $ENV{PATH} = "/bin:/usr/bin"; local @ENV{ qw(IFS CDPATH ENV BASH_ENV) }; qx(@_); } __

Re: Bareword "Apache::OK" not allowed, Apache::PerlSection

2003-07-15 Thread Stas Bekman
vs version is different from 1.99_09. __ 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: Undocumented behaviour in Apache->print()?

2003-07-15 Thread Stas Bekman
rl_warner(aTHX_ packWARN(WARN_UTF8), "Wide character in print"); +} +} + PUSHMARK(sp); XPUSHs(rp); XPUSHs(sv); Besides the problem with PerlIO_isutf8(), there are other problems that spring to my mind straight away with this: - is getting the PerlIO * for STDOUT to righ

Re: [MP2 - BUG ?] Issue handing Apache config. error messages

2003-07-15 Thread Stas Bekman
documentation is a great boon for its acceptance. ______ 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::Registry in mod_perl 2

2003-07-15 Thread Stas Bekman
copy it into one of the dirs in your @INC. You will also need to load Apache::compat for it to work. Alternatively you can subclass ModPerl::Registry's chdir_file function to perform chdir, like Apache::Registry does. ______ Stas

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

2003-07-15 Thread Stas Bekman
Bill Marrs wrote: At 04:24 AM 7/15/2003, Stas Bekman wrote: Philippe M. Chiasson wrote: On Thu, 2003-07-03 at 01:24, Bill Marrs wrote: This fixed the bug for me. Great! Will commit it in the near future. (Can't seem to access the cvs server right now, crappy internet cafe) -1, this

Re: Undocumented behaviour in Apache->print()?

2003-07-15 Thread Stas Bekman
Steve Hay wrote: Stas Bekman wrote: I have attempted to shoe-horn this into mod_perl's print() method (in "src/modules/perl/Apache.xs"). Here's the diff against mod_perl 1.28: [Unfortunately, I've had to comment-out the first part of that "if" block, b

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