RE: Apache::AuthDBI

2004-05-12 Thread Jeff
size over 4K - then IE does display them. Regards Jeff -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Re: survey

2005-08-27 Thread Jeff
RHEL/Centos 4 are still sitting on 1.99_16, which probably isn't helping matters. Debian stable: Package libapache2-mod-perl2 1.999.21-1 Which is a version BEFORE the big namespace change, and so basically not usable. Unfortunately Debian's three year release cycle, and 'never ever change

Re: survey

2005-08-28 Thread Jeff
It is not even available on Testing and Unstable :( Sure it is. Unstable has 2.0.1. You're right - don't know how I missed that! since May! Unfortunately I am not in a position to upgrade our servers to unstable, and it has i386 dependencies on libc6 >= 2.3.5-1, perl >= 5.8.7 etc etc etc ad

Re: *nix distro compatibility (was Re: survey)

2005-09-12 Thread Jeff
suggestions/ comments/ recommendations? David www.backports.org will be your friend soon. Updated packages compiled using the stable compiler/libraries. Lots of folks are waiting for a working Debian stable Apache2/ModPerl2 combo. The last I heard was end of September Fingers crossed, Jeff

Re: *nix distro compatibility (was Re: survey)

2005-09-16 Thread Jeff
n the near future for libapache2-mod-perl, but haven't heard anything about libapreq2. At the moment, for Debian Stable, as Perrin harkens, roll-your-own time! Regards, Jeff

Re: Masquerading requests as HTTPS

2005-09-16 Thread Jeff
rectpermanent / https://www.mywebsite.com/ Which tells your client browsers to use HTTPS for all requests for the relevant website. Regards Jeff

Re: Code Refs

2005-09-16 Thread Jeff
od_to_invoke( $arg1, $arg2 ); > > I've tried various obvious ways but to no avail. > > CIA > my $coderef = $self->can('method_to_invoke'); looks through the inheritance tree for a sub called 'method_to_invoke' and returns the coderef if one exists. Regards Jeff

Re: index.pl not default, even when specified

2005-09-28 Thread Jeff
This is a little over my head..is it really the solution to my problem? Does this mean the problem lies with ModPerl::RegistryPrefork? There has to be a better way to have index.pl show up as default! However, if you tell me there isn't, I shall begin learning about this and pursuing it

Re: index.pl not default, even when specified

2005-09-28 Thread Jeff
u may have to have MultiViews on in your location in the VHOST, so # inside your VHOST Options Indexes MultiViews might be worth a spin. Regards Jeff

Re: What am I missing?

2005-10-06 Thread Jeff
Wow! I like that - an answer, about timestamps, posted 50 minutes before the question arrived! Is it just a temporal anomaly? or some form of mod_perlish quantum tunnelling? Ain't this list fab. ;) Original Message From: "Barksdale, Ray" <[EMAIL PROTECTED]> To: "Octavian Rasn

Job / Position Available: City of London, UK

2005-10-06 Thread Jeff
banks, in a small number of very specialised business areas. Please contact me off list, and I will provide more detail. Regards Jeff

Re: POST vs GET

2005-10-31 Thread Jeff
mp;subject=hello Why not just remove the GET from submission, using { form action="message.cgi" method="POST" } regards Jeff

Re: debian sarge packages in a production environment

2005-12-16 Thread Jeff
as not yet come to fruition - in fact, backports has only just moved to backports for Sarge/stable. So its roll-your-own time! Regards, Jeff

Dealing with http params: APR::Request::Param::Table et al?

2005-12-26 Thread Jeff
- application level mod_perl development must have some simpler, reasonably efficient wrapper classes for parsing GET POST UPDATE and COOKIE params from HTTP requests? Any recommendations appreciated. Regards Jeff PS. I have Debian Sarge(stable) backports from Etch available for: libapache2-m

Re: Filtering and Separation of Presentation Layer

2005-12-26 Thread Jeff
here are too many buggy versions out there. Thoughts? Regards, Jeff

Apache2::Cookies - getting all names

2005-12-26 Thread Jeff
my @vals = $cookie->value(); print "cookie: $token value: @vals\n"; } Is there a better way? I couldn't get this to work: my @cookies = values / %{ scalar Apache2::Cookie::Jar->new( $r )->cookies }; - seems that the Jar class is trying much to hard to be clever? Or maybe I'm just being dumb? Thoughts appreciated, Jeff

Re: Apache2::Cookies - getting all names

2005-12-27 Thread Jeff
Original Message From: Jonathan <[EMAIL PROTECTED]> To: Jeff <[EMAIL PROTECTED]> CC: mod_perl List Subject: Re:Apache2::Cookies - getting all names Date: 26/12/2005 19:19 This is what I do: my $cookiejar = Apache2::Cookie::Jar->new( $this-&

Re: Apache2::Cookies - getting all names

2005-12-27 Thread Jeff
Original Message From: Juan Jose Natera Abreu <[EMAIL PROTECTED]> To: Jeff <[EMAIL PROTECTED]> CC: mod_perl List Subject: Re:Apache2::Cookies - getting all names Date: 26/12/2005 19:35 Hi, How are you creating the cookies? Apache2::Cookie has the same interface

Re: Newbie help with Apache2::Request configuration

2006-01-02 Thread Jeff
Original Message From: "Philip M. Gollucci" <[EMAIL PROTECTED]> To: Jeff Armstrong <[EMAIL PROTECTED]> Cc: mod_perl List Subject: Re:Newbie help with Apache2::Request configuration Date: Sun Jan 01 2006 21:01:39 My apologies for being a dumbo, yo

Re: -M in modperl

2006-01-12 Thread Jeff
Is it a fullpath problem? my $path = "/path"; opendir( DIR, $path ); my @dots = grep(/recovery/, sort { -M "$path/$a" <=> -M "$path/$b" } readdir(DIR)); closedir(DIR); Note that the perlfunc documentation for readdir says: If you're planning to filetest the return values out of a readdir,

Re: Database transaction across multiple web requests

2006-03-31 Thread Jeff
gh, as you are not using MySQL. Regards Jeff

Re: Database transaction across multiple web requests

2006-04-01 Thread Jeff
Original Message From: Enno <[EMAIL PROTECTED]> To: Perrin Harkins <[EMAIL PROTECTED]> Cc: Jeff <[EMAIL PROTECTED]>, modperl@perl.apache.org Subject: Re:Database transaction across multiple web requests Date: Fri Mar 31 2006 15:38:47 On Fri, 31 Mar 2006, Pe

[OT] Re: Database transaction across multiple web requests

2006-04-02 Thread Jeff
was not much faster than Sybase, but did have a bigger db admin overhead, and for some reason seemed to always end up with bloated apps. Regards Jeff

Re: Apache::DProf missing some subroutines

2007-05-11 Thread Jeff
Also, Devel::Profiler can't handle many of the DBI implementations (you have to bad_pkgs=>[] them. Regards Jeff Original Message Subject: Apache::DProf missing some subroutines From: John ORourke <[EMAIL PROTECTED]> To: modperl Date: 11 May 2007 12:36:02 Hi f

Re: Apache::DProf missing some subroutines

2007-05-11 Thread Jeff
at there was a not-yet-released change in 2003 for autoloaded. Might just wait until an 0.05 is floated - we can always blame the database for performance issues in the mean time :) Jeff

Re: SQLite and multiple process behavior

2007-06-19 Thread Jeff
Jeff, Apologies - missed the start of this thread... but reading between the lines, you are seeing stale data from some DB handles, and updated data elsewhere? I get the impression that you are replacing / updating the underlying db files from source control? >> It's almost lik

Re: dev environment

2007-11-05 Thread Jeff
Original Message Subject: Re:dev environment From: Octavian Rasnita <[EMAIL PROTECTED]> To: Jeff Armstrong <[EMAIL PROTECTED]>, modperl Date: 05 November 2007 15:59:10 Hi, I have just installed MS Virtual PC, but I need to find out if the virtual machines insta

Re: undefined subroutine: get_server_description, get_server_banner

2008-04-08 Thread Jeff
Did you remember to "use Apache2::ServerUtil"? It's probably obvious, but it's easy to miss sometimes - mod_perl doesn't pull in all the APIs automatically, just what you specify (to avoid memory overhead for things you don't use). Yes - I have already used Apache2::ServerUtil - other funcs ar

Re: undefined subroutine: get_server_description, get_server_banner

2008-04-09 Thread Jeff
a non-working (pre-rename) 1.99-21 as we were until Aug 07! Thanks again! Jeff

does anyone know how to embed webdav protocal into a handler?

2018-12-26 Thread Jeff
yes I have a webdav backend. want to run modperl as its front-proxy. so any experience? happy new year.

RE: client certificate/password login

2004-03-10 Thread Jeff AA
the browser generated error page saying that it was unable to connect to the site, and that the site may be down etc. Regards Jeff -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html

[mp2] Trouble with Apache::Filter input and mod_dav

2004-03-15 Thread Jeff Finn
ack('H*', $buffer), "\n"; $f->print($buffer) } but I can't seem to get it to work. Here is an example via a telnet session: Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. PUT /members/jeff/test HTTP/1.1 Host: 127.0.0.1:9080 Cont

RE: [mp2] Trouble with Apache::Filter input and mod_dav

2004-03-15 Thread Jeff Finn
Thanks. This fixes the problem I was having. Jeff -Original Message- From: Stas Bekman [mailto:[EMAIL PROTECTED] Sent: Monday, March 15, 2004 7:52 PM To: Stas Bekman Cc: Jeff Finn; [EMAIL PROTECTED] Subject: Re: [mp2] Trouble with Apache::Filter input and mod_dav Stas Bekman wrote

Authen::NTLM

2004-07-07 Thread Phipps, Jeff
f the domain, it will not authorize you. Should this try using Basic if NTLM fails to allow non member machines to authenticate against the domain like a netscape browser would do? Thanks in advance for your help, Jeff

[mp2] Unable to build mp2 using perl 5.6.0

2004-08-04 Thread Jeff D
m I missing something. If not, there appears to be an opportunity to update the documentation. Thanks...Jeff Davison __ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail -- Report proble

RE: ModPerl::Registry: Software caused connection abort

2004-08-04 Thread Jeff Finn
ersions of Apache 2. i'm not sure how to go about working around this problem, does anyone have some suggestions? Thanks Jeff -Original Message- From: Nick Phillips [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 04, 2004 5:21 PM To: [EMAIL PROTECTED] Subject: Re: ModPerl::Reg

RE: ModPerl::Registry: Software caused connection abort

2004-08-05 Thread Jeff Finn
e url and ctrl-c'ing before the transfer completes. in one shell # make test TEST_VERBOSE=1 once the server starts, in another shell: # curl -o /tmp/curl.out https://127.0.0.1:8530/handler here's the apache test file Jeff -Original Message- From: Stas Bekman [mailto:[EMAIL

mod_perl advocacy list

2004-08-07 Thread Jeff Bisbee
MAIL PROTECTED] > >to the advocacy mailing list. Below is the e-mail I attempted to post ealier this evening... -- Jeff Bisbee / [EMAIL PROTECTED] / jbisbee.com - Forwarded message from Jeff Bisbee <[EMAIL PROTECTED]> - Date: Thu, 5 Aug 2004 21:27:57 -0400 From: J

RE: ModPerl::Registry: Software caused connection abort

2004-08-09 Thread Jeff Finn
lication. BTW, Stas: certain versions of curl require -k to disable verification of the certificate... on cygwin it does, but on redhat 9.0 it doesn't. Sorry, I forgot to mention that in my reply Jeff -Original Message- From: Dan Wilga [mailto:[EMAIL PROTECTED] Sent: Monday, August 09,

Re: Hosting provider disallows mod_perl - "memory hog / unstable"

2004-08-31 Thread Jeff Norman
On Mon, 2004-08-30 at 14:12, Perrin Harkins wrote: > The truth is that mod_perl uses the same amount of memory that Perl CGI > scripts use. The difference is that CGI scripts exit as soon as they > finish. Serving 10 simultaneous requests with CGI requires the same > amount of memory as it does

Blank output after 5.8.1 upgrade?

2003-10-15 Thread Jeff Boes
/tmp directory. But all I get in my browser is a blank page and a "Done." -- Jeff Boes vox 269.226.9550 ext 24 Database Engineer fax 269.349.9076 Nexcerpt, Inc. http://www.nexcerpt.com ...Nexcerpt... Extend your Expertise

Re: Blank output after 5.8.1 upgrade?

2003-10-15 Thread Jeff Boes
Stas Bekman wrote: Jeff Boes wrote: We moved our webserver from a machine where mod_perl was built under Perl 5.6.1, to a server where it was built under 5.8.1. Now, Perl scripts run but produce no browser output! open(STDOUT,'>- :stdio') or die $!; This code runs, and produ

Re: Blank output after 5.8.1 upgrade?

2003-10-16 Thread Jeff Boes
Stas Bekman wrote: Jeff Boes wrote: We moved our webserver from a machine where mod_perl was built under Perl 5.6.1, to a server where it was built under 5.8.1. Now, Perl scripts run but produce no browser output! You mean a simple script: print "Content-type: text/plain\n\n"; pr

Re: Blank output after 5.8.1 upgrade?

2003-10-16 Thread Jeff Boes
Jeff Boes wrote: Stas Bekman wrote: You are running under mod_perl 1.0, right? Can we see the output of perl -V? Anything in the error_log? Here's the -V output from the script running under mod_perl (thanks, Rafael!): Summary of my perl5 (revision 5.0 version 8 subversion 1) configur

Re: Blank output after 5.8.1 upgrade?

2003-10-16 Thread Jeff Boes
... -- Jeff Boes vox 269.226.9550 ext 24 Database Engineer fax 269.349.9076 Nexcerpt, Inc. http://www.nexcerpt.com ...Nexcerpt... Extend your Expertise

Simple mod_perl Question

2005-01-06 Thread Jeff Bisbee
ip($actual_remote_ip) if $actual_remote_ip; I just wanted to make sure there would be any conditions that the above code wouldn't handle. -- Jeff Bisbee / [EMAIL PROTECTED] / jbisbee.com

Re: Simple mod_perl Question

2005-01-07 Thread Jeff Bisbee
* Jeff Bisbee ([EMAIL PROTECTED]) wrote: > I just wanted to verify that there weren't any hidden gotchas by doing > the following: > > # set actual ip of host doing the requesting instead of the proxy > my ($actual_remote_ip) = split /,/, $r->header_in('

RE: Intercepting with data for mod_dav

2005-02-04 Thread Jeff Finn
lready authenticated # AllowOverride None DAV on == Hope this helps. To the list: My encryption is proprietary based on the PW the user sends... anyone know a tested symmetric streaming (not block) encryption algoritm? Jeff -Original Message- From: Stefan

Re: [OSCon 2005] RFC

2005-02-13 Thread Jeff Bisbee
* Philippe M. Chiasson ([EMAIL PROTECTED]) wrote: > Here are a few possible talks I could make at OSCon. > Feedback would be much appreciated ;-) Any chance you'll be attending YAPC in Toronto this year? These talks sound great and would be a welcomed addition to YAPC::NA as well.

setting http output filter priority?

2005-03-31 Thread Jeff Ambrosino
] 3 - mod_cache [content cacheable? If so, cache it locally] 4 - *MY FILTER* 5 - deflate How can I get MYFILTER inserted in just the right place? (And ideally it doesn't require modifying Apache source code to change AP_FTYPE values for mod_cache...!) thanks Jeff

Re: setting http output filter priority?

2005-04-01 Thread Jeff Ambrosino
is serving up the content, but I really want it to go after (otherwise MYFILTER doesn't see the body content). Is there a way around this aside from modifying mod_cache? thanks, Jeff On Mar 31, 2005 8:11 PM, Geoffrey Young <[EMAIL PROTECTED]> wrote: > > > I've studie

Re: setting http output filter priority?

2005-04-01 Thread Jeff Ambrosino
AP_FTYPE_CONTENT_SET);// <--- So, mod_perl.c could register as AP_FTYPE_CONTENT, and mod_deflate.c could register as AP_FTYPE_CONTENT_SET+1. I think this is the least invasive change to get things working... do you concur? thanks, Jeff On Apr 1, 2005 7:02 PM, Geoffrey Young <[EMAIL PRO

Re: setting http output filter priority?

2005-04-07 Thread Jeff Ambrosino
le to set mod_perl's filter priority either programmatically, or at least as a compile-time option. thanks Jeff On Apr 2, 2005 9:09 AM, Geoffrey Young <[EMAIL PROTECTED]> wrote: > > > So, mod_perl.c could register as AP_FTYPE_CONTENT, and mod_deflate.c could > > regis

how to trap connection reset/abort in Apache::Filter?

2005-05-01 Thread Jeff Ambrosino
print ($f->ctx) if ( defined($f->ctx) ); I assume the errors are due to the end user clicking "stop" or navigating away from the page before it has finished being sent... but is there a [more elegant] way of trapping these events from within my mod_perl filter? thanks Jeff

Re: how to trap connection reset/abort in Apache::Filter?

2005-05-01 Thread Jeff Ambrosino
Actually, it looks like using APR::Error [1] and wrapping $f->print in an eval would do the trick...? Jeff [1] http://perl.apache.org/docs/2.0/api/APR/Error.html On 5/1/05, Jeff Ambrosino <[EMAIL PROTECTED]> wrote: > [Sun May 01 05:12:21 2005] [error] [client X.X.X.X] > Apache

Re: how to trap connection reset/abort in Apache::Filter?

2005-05-02 Thread Jeff Ambrosino
row all sorts of potential http exploits at our server and notify us of any problems - I'm guessing some of their tests do some funky socket operations that cause Apache::FIlter to choke. thanks Jeff On 5/2/05, Stas Bekman <[EMAIL PROTECTED]> wrote: > > Actually, it looks like us

Re: Activating/decativating PerlOutputFilterHandler "on-the-fly"

2005-05-02 Thread Jeff Ambrosino
do a remove... (can one reference the filter object from the request object?) For more explanation that will probably put you on the right track, see: http://perl.apache.org/docs/2.0/api/Apache/Filter.html cheers Jeff On 5/2/05, Srebrenko Sehic <[EMAIL PROTECTED]> wrote: > Hi ppl, >

Re: how to trap connection reset/abort in Apache::Filter?

2005-05-03 Thread Jeff Ambrosino
the error by myself, I know when our scanning service will do so, and I could put some additional code in place to watch for it. If there are additional debug/traps that you could suggest, I'd like to try. Any ideas? thanks Jeff On 5/2/05, Stas Bekman <[EMAIL PROTECTED]> wrote: &g

Re: advice needed: mod_perl reverse proxy

2005-05-03 Thread Jeff Ambrosino
dy)); Obviously "$NewBody" is whatever you're using to buffer the content. FYI this is used with an HTTP output filter on mp2 (RC4) within a reverse mod_proxy. Jeff On 5/3/05, allan juul <[EMAIL PROTECTED]> wrote: > but about collecting data in a buffer variable. it se

Re: Graphics / Pie Charts

2005-05-06 Thread Jeff Ambrosino
The learning curve is heavier than just getting a quick-and-dirty graphing module to work (ala something you'd do in CGI), but worthwhile if you're looking to add other functions over time. cheers Jeff On 5/6/05, David Hofmann <[EMAIL PROTECTED]> wrote: > Someone recommend

Re: how to trap connection reset/abort in Apache::Filter?

2005-05-11 Thread Jeff Ambrosino
nd out. thanks Stas! Jeff On 5/11/05, Stas Bekman <[EMAIL PROTECTED]> wrote: > I'm playing with this issue. I've notice that we already have a reliably > reproducable issue with t/protocol/echo_nonblock.t which calls > t/protocol/TestProtocol/echo_nonblock.pm. Could you pl

delete a specific Set-Cookie header within a proxied response?

2005-06-29 Thread Jeff Ambrosino
te the entire APR table, as this is something I potentially have to do for each and every response. thanks Jeff [1] http://perl.apache.org/docs/2.0/api/APR/Table.html

get # of response bytes sent for large/streaming content?

2005-09-01 Thread Jeff Ambrosino
I'm running a mod_perl cleanup handler from a reverse proxy ($r->pool->cleanup_register), and I need to know the total # of bytes sent in a response so I can store this info in a database. A real-world example would be the end user (browser) streaming a Quicktime movie, and I want to know how long

Re: get # of response bytes sent for large/streaming content?

2005-09-01 Thread Jeff Ambrosino
Yup, that works great. thanks! JB On 9/1/05, Geoffrey Young <[EMAIL PROTECTED]> wrote: Jeff Ambrosino wrote:> I'm running a mod_perl cleanup handler from a reverse proxy> ($r->pool->cleanup_register), and> I need to know the total # of bytes sent in a response so I

hanging CPU-sucking httpd procs that say "..reading.."

2005-09-08 Thread Jeff Ambrosino
Hi mod_perl folks, I'm getting occasional hanging httpd children (prefork) that suck up alot of CPU and bog down my server. When I inspect Apache Status (ExtendedStatus On), I see something like this: 434-3 11031 0/29/612 R 0.49 1341 0 0.0 0.20 4.09 ? ? ..reading.. There's no client IP, no vi

Re: hanging CPU-sucking httpd procs that say "..reading.."

2005-09-08 Thread Jeff Ambrosino
n http output filter that processes the proxied response (and unfortunately the mod_proxy list is basically dead). thanks JB On 9/8/05, Jeff Ambrosino <[EMAIL PROTECTED]> wrote: > Hi mod_perl folks, > > I'm getting occasional hanging httpd children (prefork) that suck up >

Re: hanging CPU-sucking httpd procs that say "..reading.."

2005-09-10 Thread Jeff Ambrosino
some backtraces and then head over to http-dev and/or mod_ssl lists. Any last-ditch advice from MP folks would be welcome, but not expected since this doesn't appear to be a MP/Perl issue (although it could be libapreq since I believe mod_ssl uses that.) thanks Jeff On 9/8/05, Jeff Ambrosino

modperl_filter.c bug causing hung httpd child? (w/backtraces)

2005-09-12 Thread Jeff Ambrosino
690a in ap_mpm_run (_pconf=0x19b, plog=0x81d31a8, s=0x0) at prefork.c:1001 #15 0x080ab7af in main (argc=7, argv=0xb9a4) at main.c:618 Any help would be immensely appreciated. This problem is really dogging me, and I definitely need some help with folks familiar with mod_perl's construction. thank you, Jeff

httpd consumes 220mb of RAM when printing alot of output

2005-09-22 Thread Jeff Ambrosino
I'm exporting a database table through a mod_perl2 handler. The problem is that for large tables, the size of the httpd process balloons to consume alot of RAM. For example, a 299mb MySQL table (size of .MYD file), which creates a 35mb export, causes httpd to consume about 220mb of RAM! My code

Re: httpd consumes 220mb of RAM when printing alot of output

2005-09-22 Thread Jeff Ambrosino
M as the size of the table! (?!) I suppose a workaround would be to do multiple select's for different key ranges, and print out each subset iteratively. JB On 9/22/05, Malcolm J Harwood <[EMAIL PROTECTED]> wrote: > On Thursday 22 September 2005 11:06 am, Jeff Ambrosino wrote: &g

API to mime.types?

2005-09-23 Thread Jeff Ambrosino
Through my MP2 handler, I need to be able to set Content-Type based on the extension of any file that I'm reading from disk and then writing to the client. I'd like to somehow (programmatically) map from file extension to MIME type, and it seems like Apache's mime.types file is a good place to do

Re: API to mime.types?

2005-09-23 Thread Jeff Ambrosino
Ok, that worked... my only gripe is that it doesn't correctly parse the type for a WinZip (.zip) file! Oh well... thanks :) JB On 9/23/05, John ORourke <[EMAIL PROTECTED]> wrote: > Geoffrey Young wrote: > > http://search.cpan.org/dist/File-MMagic-XS/

Re: bucketbrigades with html filter

2005-10-18 Thread Jeff Ambrosino
The way to deal with this is to buffer as much content as you need (maybe the whole page) and then do your work on the buffer. Our application (HTTP output filter) buffers the stream as we go and stores it on the filter context ($f->ctx) across filter invocations. When we've seen $f->eos, then we

Re: bucketbrigades with html filter

2005-10-18 Thread Jeff Ambrosino
Yikes indeed :) I should have clarified that in our app we don't actually process embedded tags. Our app lets users mangle the source HTML using RegEx, and since users can (and often do) perform filtering like s/()(.*?)(<\/body>)/$1$2<\/center>$3/, we need to buffer it all. The main benefit I se

Re: bucketbrigades with html filter

2005-10-21 Thread Jeff Ambrosino
I think the only conclusive answer is to try both and benchmark them... there may be some generalizations one can make about memory, hook/subroutine invocation overhead, etc., but ultimately you need to test both methods to see which is faster. And please share your findings if you decide to do t

[mp2] pnotes-like facility for $c connection object?

2005-10-24 Thread Jeff Ambrosino
I've made great use of $r->pnotes, and now finding myself in need of a similar way to stash objects within the connection object. While there are regular 'notes' offered by the connection ($c->notes), unfortunately there is no 'pnotes'. Any suggestions for a workaround? The requirement is as fol

mp2 shared vs. static build - pros & cons?

2005-10-27 Thread Jeff Ambrosino
In anticipation of upgrading my mp2 build to the latest/greatest, I would like to consider switching from a DSO build to a static build. Could folks here offer their opinions on pros/cons in terms of performance/memory, etc? FYI my environment is httpd 2.0.55, prefork MPM, Perl 5.8.6 (w/threads),

Re: mp2 shared vs. static build - pros & cons?

2005-10-29 Thread Jeff Ambrosino
That's helpful information... I guess I'll stick with the DSO. At one point I did benchmark mod_perl2 with vs. without threads, and without threads was marginally faster. I've since started using some new CPAN modules, so I'll have to double-check that none of them use Perl threads. thanks! JB

help with some errors in error_log

2005-11-25 Thread Jeff Pang
Hi,lists, I am new to mod_perl.I have a simple mod_perl script running under Apache::Register.When it run,I found many error messages appeared in logs/error_log. The program is shown below: use strict; use warnings; use CGI; use CGI::Cookie; use vars qw($q $sessionID); $q = new CGI; init();

Re: Apache2::Cookies - getting all names

2005-12-28 Thread Jeff Armstrong
Original Message From: "Philip M. Gollucci" <[EMAIL PROTECTED]> To: Jeff <[EMAIL PROTECTED]> Cc: mod_perl List Subject: Re:Apache2::Cookies - getting all names Date: Wed Dec 28 2005 16:38:44 Convesly, we could patch the code instead of the docs to mak

Debian Sarge/Stable backports: libapache2-mod-perl2 v 2.01-4

2005-12-29 Thread Jeff Armstrong
/etc/apt/sources.list: deb http://packages.aquabolt.com sarge main or alternatively, you can download the debs directly from http://packages.aquabolt.com/dists/sarge/main/binary-i386/ Regards Jeff

Re: Newbie help with Apache2::Request configuration

2005-12-31 Thread Jeff Armstrong
e APR::Request::Cookie er? any thoughts appreciated! Regards & thanks, Jeff

Re: Newbie help with Apache2::Request configuration

2006-01-01 Thread Jeff Armstrong
d help me, though at this stage, it seems to me that the Apache2::Cookie is much easier to understand, create and use. One other thing, none of the SEE ALSO links work :( Sorry to be such a pain - but the APR::Request interface and docs have defeated me! Regards & thanks, Jeff

Re: Newbie help with Apache2::Request configuration

2006-01-03 Thread Jeff Armstrong
Original Message From: "Philip M. Gollucci" <[EMAIL PROTECTED]> To: Jeff Armstrong <[EMAIL PROTECTED]> Cc: mod_perl List Subject: Re:Newbie help with Apache2::Request configuration Date: Sun Jan 01 2006 21:01:39 My apologies for being a dumbo, yo

mod_perl or fastcgi

2006-01-14 Thread Jeff Peng
some advice?What are the advantage and disadvantage about both of them?Are there any docs that describe the comparing about them?Thanks. --Jeff _ 与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn

Re: Re: problem with fetching data in mod_perl

2006-01-31 Thread Jeff Peng
erl and notice that while fetching data from a directory where the files are present, its not reading those files and getting the data.After some refresh or apache restart the same data is fetched properly. how to solve this issue???thankssenthil

Re: debug modperl program

2006-02-04 Thread Jeff Pang
perl.apache.org >Subject: debug modperl program > >hi, >Debuging a perl program at command line is using -d option, but this >can't be used in a modperl program, any doc or examples on this topic >about how to debug a modperl program? > >-- >perl -e 'print unpack(u,&quo

Re: reload or restart httpd

2006-02-06 Thread Jeff Pang
eload or restart httpd > >When code is updated during developing period, httpd progress must be >reload or restart so that to see the change. If is it possible to see >the change without reload httpd? > >-- >perl -e 'print unpack(u,"62V5N\"FME;G\!E")' -- Jeff Pang NetEase AntiSpam Team http://corp.netease.com

apachectl freezes

2006-02-10 Thread Jeff MacDonald
Can anyone point me in the right direction please ? Thanks. -- Jeff MacDonald http://www.halifaxbudolife.ca http://www.nintai.ca

Re: apachectl freezes

2006-02-10 Thread Jeff MacDonald
uExec and mod_perl on the same directories/virtualhosts. Jeff. -- Jeff MacDonald http://www.halifaxbudolife.ca http://www.nintai.ca

Re: mod_perl 2.0.0 + Apache 2.0.55 on Cygwin Win2k3

2006-02-16 Thread Jeff Pang
ion and its attachments without readingor saving in any manner. -- Jeff Pang NetEase AntiSpam Team http://corp.netease.com

Re: A question for the newbies

2006-02-17 Thread Jeff Pang
l system for >most people, even if it's slightly slower than FastTemplate or SSI. The >exception is running under CGI, where code compiling really hurts you. > >- Perrin > -- Jeff Pang NetEase AntiSpam Team http://corp.netease.com

Re: Broken pipe

2006-02-17 Thread Jeff Pang
data to the network > >I can see [info]. Do this means that it is not a real error but just a >warning? >Why does it appear? > >I have followed the suggestions, searched the web, and I have also put in >httpd.conf: > >EnableSendfile Off > >But these errors continue to appear. > >Teddy > -- Jeff Pang NetEase AntiSpam Team http://corp.netease.com

Re: modperl2 books?

2006-03-16 Thread Jeff Pang
> >Hi, > >I'm not sure this is the place to ask, but I am looking for a good >mod_perl2 book, which is not on an introductory level, but delves a bit >deeper. Are any of these in existance yet? > >-- >Ole Kasper Olsen >Information Systems Developer >Oper

Can one use mod_proxy post the Authentication phase in apache?

2006-03-23 Thread Jeff Nokes
ave a homegrown, LWP based solution that is almost working from the response phase, but it would be much better (and faster) if I could take care of this prior to getting to the response phase. Thanks in advance for any help you can offer. - Jeff

Seg fault after new kernel

2006-03-28 Thread Jeff MacDonald
ow what to do next to try to diagnose this. Idea's ? Thanks. -- Jeff MacDonald http://www.halifaxbudolife.ca http://www.nintai.ca

Re: pnotes MP1->MP2

2006-04-03 Thread Jeff Armstrong
n the error message? I would check the exit path of the handler and make sure it is returning return Apache2::Const::OK; and that there is no way an invalid return code could be passed back. Regards Jeff

Re: apache url mapping question

2006-05-17 Thread Jeff Nokes
How about something like the following? # mod_perl 1.29 Configuration: # Set up apache so that all pages served with a .pl or .pm extension will be executed # via the mod_perl package which is statically linked in with Apache. SetHandler perl-script P

Troubles installing MP2 on Debian 3.1 (Sarge)

2006-07-07 Thread Jeff Nokes
damentally wrong somewhere. Any help you can offer is appreciated. Thanks, - Jeff (PS: Yes, I could use the debian package for apache/mod_perl, but I prefer do it myself. Sorry for the long posting.) - Configuring Apache/2.2.2*/ mod_perl2/2.0.2 P

please recommend the modules for Group application

2006-07-24 Thread Jeff Peng
Hello,lists, I want to run/write an application like Yahoo's Group,which include the membership networking. Is there any mod_perl module which has the Group-like features for me?Thank you. --Jeff

  1   2   3   >