tests failing when installing libapreq under Leopard

2008-10-22 Thread Brian
s a little outside of my understanding. Here is a copy/paste of my console during the whole installation process: bartobrians-macbook-pro:src brian$ cd libapreq-1.33 bartobrians-macbook-pro:libapreq-1.33 brian$ perl Makefile.PL -apxs /usr/local/httpd/sbin/apxs -httpd /usr/local/httpd/sbin/httpd [

Re: combining multiple filtered files into a single response

2010-11-18 Thread Brian
my $footer = generate_footer($file); $r->write($header); my $subr = $r->lookup_uri("/fetch?name=$file", $myfilter); $r->write(...output of $subr...?); $r->write($footer); } It's a little more complicated than that, but hopefully you get the idea... Brian

Re: combining multiple filtered files into a single response

2010-11-19 Thread Brian
lush buckets are predictable?). It's a bit messy and I'm still hoping someone here may offer a cleaner mechanism, but if not then I'll try that. Thanks, Brian

Re: introducing new code with no perceived user delays?

2003-12-17 Thread Brian Hirt
shell script and executed with a single command. There are also other reasons to have a proxy -> mod perl set up which i wont go into right now. --brian On Dec 17, 2003, at 5:08 PM, justin wrote: One registry module checks for a new file before a request starts. Another Registry class does

directive says no perl handler specified

2003-12-20 Thread Brian Bober
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25175 Running Redhat 9, Apache 2.0.40 This directive is within a virtual host section. I also installed bundle::openinteract use lib qw( /var/www/html/thenetdragon/www ); OpenInteract needs this to function properly. (/etc/httpd/conf.d)> serv

Re: directive says no perl handler specified

2003-12-21 Thread Brian Bober
the future. :-) --- Stas Bekman <[EMAIL PROTECTED]> wrote: > Brian Bober wrote: > > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25175 > > > > Running Redhat 9, Apache 2.0.40 > > See http://perl.apache.org/bugs/ > > > This directive is withi

AuthCookieDBI configuration woes

2004-03-11 Thread Brian Clarkson
gin.pl has executable permissions ( 755 ) i've tried looking for the error message in the actual code of Apache::AuthCookieDBI, but i can't find it anywhere. what am i doing wrong? brian -- 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: Apache::AuthCookie LOGIN action, where / is protected

2004-03-15 Thread Brian Clarkson
->login and all of this is within a container. ( I never saw a response to the list, and I'm abandoning my use of Apache::AuthCookieDBI because I can't get it configured correctly. I did post to the list for assistance, but no responses ... ) --brian -- Report problems: http:/

Re: Apache::AuthCookie LOGIN action, where / is protected

2004-03-15 Thread Brian Clarkson
to the list for assistance, but no responses ... ) That would be too bad, it's a very nice solution. if you have any advice to offer on that one. i can resend the message to you (or the list) because quite frankly i'd rather use the *right* solution than use Apache::AuthCookie wit

Re: AuthCookieDBI configuration woes

2004-03-15 Thread Brian Clarkson
Perrin Harkins wrote: On Thu, 2004-03-11 at 11:17, Brian Clarkson wrote: I've never used any of the AuthCookie modules, but this error is coming from apache: http://httpd.apache.org/docs/misc/FAQ.html#authauthoritative It sounds like AuthCookieDBI is returning DECLINED (or rather AuthC

Apache::AuthCookieDBI and SecretKeyFile

2004-03-23 Thread Brian Clarkson
] $ ls -al keyfile -rw---1 nobody nobody 52 Mar 1 11:22 keyfile I have to be missing something obvious? The earlier problem I was having, if anyone was interested, got solved. The problem was mod_auth looking first, the Apache::AuthCookie trying to kick in ... --brian -- R

Re: Apache::AuthCookieDBI and SecretKeyFile

2004-03-23 Thread Brian Clarkson
William McKee wrote: Hi Brian, I've had my share of problems with this module as well. I've found the following two solutions which I submitted to CPAN RT[1]: 1) place the PerlSetVar at the very top of your httpd.conf In the Global ENV section? Doesn't fix the issue. 2) i

Re: Apache::AuthCookieDBI and SecretKeyFile

2004-03-23 Thread Brian Clarkson
Nick Phillips wrote: On 24/03/2004, at 6:24 AM, Brian Clarkson wrote: The host in question is a VirtualHost. My first configuration attempt, which matches one of the more common solutions ( putting the PerlSetVar directive before the module load ) doesn't do the trick: You *must* put

Re: Apache::AuthCookieDBI and SecretKeyFile

2004-03-26 Thread Brian Clarkson
inish the install of this, namely aliasing the /LOGIN Location to something 'outside' of the docroot ( per a thread on Apache::AuthCookie ). thanks for the help --b-- Nick Phillips wrote: On 24/03/2004, at 6:24 AM, Brian Clarkson wrote: The WhateverDBI_SecretKeyFile seems to be eve

Apache::Cookie not finding cookies ...

2004-03-29 Thread Brian Clarkson
w var to Dumper \%cookies and passing that to HTML::Template and got nothing. ) Any advice? I'd like manual logout to work as well ... --brian -- 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: Apache::Cookie not finding cookies ...

2004-03-30 Thread Brian Clarkson
Nick Phillips wrote: On 30/03/2004, at 5:21 AM, Brian Clarkson wrote: I'm hoping that I'm doing something wrong ... I've tried the logout.pl that comes in the Apache::AuthCookie dist, but that didn't work. My code has an object that has an Apache::Request object stuf

Re: "*:80 has no VirtualHosts" but only via perl!

2004-04-26 Thread Brian Reichert
;*:80' => [ > { Maybe perl's treating this an RE? (Just arm-waving; I's still pre-coffee...) -- Brian Reichert <[EMAIL PROTECTED]> 37 Crystal Ave. #303Daytime number: (603) 434-6842 Derry NH 03038-1713 USA

Re: Problem with perl system() function

2004-04-29 Thread Brian Reichert
shell); see if that'd be useful for you... my ($out, $err) = system2(@args); Are you checking on the exit status of your command? my ($exit_value, $signal_num, $dumped_core) = &System2::exit_status($?)? Good luck... -- Brian Reichert <[EMAIL PROTECTED]>

Callback called exit.

2004-05-05 Thread Brian Hirt
I've been running across a problem lately where a child process terminates because of an out of memory error. It prints Out of Memory once, the the process sucks up all available cpu print "Callback called exit." to the log file until it hit's it's 2GB max size. I have some Apache::Resourc

Re: Callback called exit.

2004-05-06 Thread Brian Hirt
ort of infinite loop occurs outside of my code that fills the log of with gigibytes of 'Callback called exit' messages. regards, brian On May 5, 2004, at 11:00 PM, Glenn wrote: On Wed, May 05, 2004 at 08:11:56PM -0600, Brian Hirt wrote: I've been running across a problem lately w

Re: Callback called exit.

2004-05-06 Thread Brian Hirt
On May 6, 2004, at 10:27 AM, Perrin Harkins wrote: On Wed, 2004-05-05 at 22:11, Brian Hirt wrote: I've been running across a problem lately where a child process terminates because of an out of memory error. It prints Out of Memory once, the the process sucks up all available cpu

Re: Callback called exit.

2004-05-06 Thread Brian Hirt
on that $^M is a +forgotten feature that's not well supported. See +http://perlmonks.org/index.pl?node_id=287850 for more information. =head2 server reached MaxClients setting, consider raising the MaxClients setting regards, Brian On May 6, 2004, at 1:19 PM, Stas Bekman wrote: Brian Hirt wrote

Re: mod_perl not able to run some pl files.

2004-05-27 Thread Brian Reichert
in that path, do you mean that you used that perl installation to make/install the module? Or did you merely copy it in? If the latter, make sure that you have permissions on the file set properly. > Thanks, > Bheema -- Brian Reichert <[EMAI

Re: mod_perl not able to run some pl files.

2004-05-28 Thread Brian Reichert
m -ls What are the permissions on it? If you installed as root, but had a restrictive umask, it may not be world-readable, which would thwart the apache process from reading it. -- Brian Reichert <[EMAIL PROTECTED]> 37 Crystal Ave. #303Dayti

Re: mod_perl not able to run some pl files.

2004-05-31 Thread Brian Reichert
x27;s group readable. But we'll never know, if you don't answer the questions I asked. :/ > Thanks, > Bheema. -- Brian Reichert <[EMAIL PROTECTED]> 37 Crystal Ave. #303Daytime number: (603) 434-6842 Derry NH 03038-1713 USA

Re: mod_perl not able to run some pl files.

2004-06-01 Thread Brian Reichert
ble to read the file. But this file should certainly not be world-writable. > Thanks, > Bheema. -- Brian Reichert <[EMAIL PROTECTED]> 37 Crystal Ave. #303Daytime number: (603) 434-6842 Derry NH 03038-1713 USA BSD admin/

Re: reverse IP lookup for check all doimains on the server

2004-06-10 Thread Brian Reichert
info/216.127.92.54 > > Mario -- Brian Reichert <[EMAIL PROTECTED]> 37 Crystal Ave. #303Daytime number: (603) 434-6842 Derry NH 03038-1713 USA BSD admin/developer at large -- Report problems: http://perl.apache.

Re: reverse IP lookup for check all doimains on the server

2004-06-10 Thread Brian Reichert
On Thu, Jun 10, 2004 at 11:51:02PM +0200, Maxipoint Rep Office wrote: > how create it at all? :-) about that I can not find any documentation Create what? A reverse lookup database? Or CGI tools to display such a database? -- Brian Reichert <[EMAIL PROTECTE

Re: reverse IP lookup for check all doimains on the server

2004-06-11 Thread Brian Reichert
<http://perl.apache.org/docs/1.0/api/Apache.html#Server_Configuration_Information> If you want magically divine all domains connected to an arbitrary IP out there on the internet, then you're asking about a reverse lookup database... -- Brian Reichert

Re: reverse IP lookup for check all doimains on the server

2004-06-17 Thread Brian Reichert
topic. A generic question about how to generate that database (if you're looking for a DB of domains/IPs _not_ hosted on your server) is not on-topic. Good luck... -- Brian Reichert <[EMAIL PROTECTED]> 37 Crystal Ave. #303Daytime number:

libapreq2 versus everything else

2004-08-25 Thread Dan Brian
pache::Cookie etc.), and I'm trying to get a handle on the direction of these efforts for migration preparations. Could someone give me a pointer on where to focus? Thanks/regards, Dan Brian -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl

Re: libapreq2 versus everything else

2004-08-25 Thread Dan Brian
ering about the sentiment of the list.) Thanks, Dan Brian -- 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: libapreq2 versus everything else

2004-08-25 Thread Dan Brian
While the whole issue has always been somewhat confusing, there's no more overlap in MP2. Apache::Request inherits from Apache::RequestRec just like it did from its MP1 equivalent Apache.pm before, and adds parsing and handling of request parameters incl. multipart/form-data and uploads, as wel

Re: debugging run away httpd process

2004-10-14 Thread Brian Reichert
; > > -- >Victor > Development Engineer > Outblaze Ltd > --> -- Brian Reichert <[EMAIL PROTECTED]> 37 Crystal Ave. #303

Re: debugging run away httpd process

2004-10-15 Thread Brian Reichert
have the opportunity to point lsof at the descriptors in question; this is just in case there was a latency-induced flaw in terms of what details /proc was exposing. That may not be a factor at all, of course, given what you found the problem to be... > > Tor. > -- Brian

Apache::DBI, Postgresql, and transactions

2004-10-26 Thread Brian Dimeler
sly, about an hour after restarting, the cleanup handlers either aren't running or aren't printing debug info anymore, and the 'transaction aborted' errors are back. Does anyone know what could cause this, or how I could better diagnose my system? I'm running Postgres 7.4, P

Re: Apache::DBI, Postgresql, and transactions

2004-10-26 Thread Brian Dimeler
Thanks for the suggestion, but it's the same connection with the same params every time. The connection code is actually in a Class::DBI module, which gets use()'d by all of my scripts. This module isn't in my startup script, so that each process keeps its own copy. So there are multiple handle

Re: Apache::DBI, Postgresql, and transactions

2004-10-27 Thread Brian Dimeler
Thanks! It seems to be working correctly after implementing your changes. Brian Perrin Harkins wrote: I plan to submit a patch for Ima::DBI to fix this, but in the meantime I am handling it by overriding db_Main and doing the connections myself. Here's the code I use: my $db_op

Re: user login ( authentication )

2004-11-01 Thread Brian Reichert
ntication. > ...any advice(help) much appreciated Any luck googling? This has been done so many times... > /G > -- > www.gh-webinteractive.com -- Brian Reichert <[EMAIL PROTECTED]> 37 Crystal Ave. #303Daytime number: (603) 43

Re: user login ( authentication )

2004-11-02 Thread Brian Reichert
> > You don't use the database's authentication, per se; the proscribed > > mechanism is to create a separate MySQL table for uid/password for > > web-based authentication. > > > -- > David L Nicol > transportation infrastructure technology contracting sin

Re: New to ModPerl 2

2004-11-14 Thread Dan Brian
Note, though, that libapreq2 will require some changes in your code, but probably less than not using libapreq. Be sure to read the documentation, especially the notes about converting from v1, for Apache::Request and Apache::Cookie at: I'll add to your list (of potential confusion) that $r->

Re: mod_perlservice? what the heck?

2004-11-24 Thread Dan Brian
Having spent time building lots of webapps with flash, and knowing many people who still do so and come from art school backgrounds, their system seems simple enough and tailored exactly for someone who doesn't know programming. You need to know programming to use it. Perl, specifically. It seem

Re: mod_perlservice? Heck Yeah!

2004-11-26 Thread Dan Brian
I think it's great that you are proud of your work. Criticism will make your work better. Calling this "cross-language remoting" is kind of a misnomer, because standards like SOAP/XML-RPC are what allow RPC to occur cross-language. Yours is a Perl server solution (by definition), and not bas

Re: mod_perl marketing

2004-11-30 Thread Dan Brian
The lack of awareness extends to Apache generally, and not just mod_perl. Saying that "mod_perl isn't just CGI; it allows Perl coding to the Apache API" is not really informative, because people don't know what the Apache API is. (The author that initiated this thread replied to me privately th

Re: mod_perl marketing

2004-11-30 Thread Dan Brian
So far only a few people actually did something (publishing articles, helping to update and improve the website), the rest are just talking. Many are also spending a lot of time influencing their own spheres (businesses, peers) to learn and actually adopt the technology. I think that's some of t

CGI::Carp and PerlRun

2004-12-09 Thread Brian Dimeler
, which is *supposed* to be able to run CGI scripts without modification, and if there's a workaround? Thanks, Brian -- 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

[libapreq] could not create/open temp file

2003-09-25 Thread Brian Hirt
all of a sudden i'm getting '[libapreq] could not create/open temp file'. Searching on google, i came across a patch stan posted to give a more meaningful error message, but somehow it never made it into the CVS tree. (i've got libapreq1.2 installed) here was the old patch. anyway, it would

Re: PATCH porting.pod "First Mystery"

2003-10-10 Thread Brian McCauley
ef'), now all variables declared with > our() must be explicitly initialized. > [Brian: notice that I prefer *not* to suggest using local() to init > vars, and rather have users do that explicitly, which is a good > practice] Well I disagree with you about it being good a practic

Re: PATCH porting.pod "First Mystery"

2003-10-15 Thread Brian McCauley
Stas Bekman <[EMAIL PROTECTED]> writes: > Brian McCauley wrote: > > Stas Bekman <[EMAIL PROTECTED]> writes: > > > >>- move the perl4 lib solution to the perl_reference.pod > > Will do when I get round to that bit. I still think a mention of it > &

Re: PATCH porting.pod "First Mystery"

2003-10-24 Thread Brian McCauley
Stas Bekman <[EMAIL PROTECTED]> writes: > >... I'd keep the "for which" > > even if some people consider such strict English grammar to be > > affected. > > I guess it reads better if using commas: > > The easiest and the fastest way to solve the nested subrou

PATCH perl_reference.pod "Remedies for Inner Subroutines"

2003-10-31 Thread Brian McCauley
Stas Bekman <[EMAIL PROTECTED]> writes: > Brian McCauley wrote: > > > I think porting.pod is done. > > Indeed. > > > Now I have to attack perl_reference.pod, > > and I assume from what you said before you don't want to release the > > one witho

Re: PATCH perl_reference.pod "Remedies for Inner Subroutines"

2003-11-14 Thread Brian McCauley
Stas Bekman <[EMAIL PROTECTED]> writes: > Brian McCauley wrote: > > > Here's a _very_ rough first cut at perl_reference.pod. I haven't even > > proof-read it yet so it's probably got spelling a and grammar errors > > but I just want to be sure I'

Re: PATCH perl_reference.pod "Remedies for Inner Subroutines"

2003-11-17 Thread Brian McCauley
Stas Bekman <[EMAIL PROTECTED]> writes: > Brian McCauley wrote: > > > > Stas Bekman <[EMAIL PROTECTED]> writes: > >> > >>I think it would be more clear if all are declared at the top of the > >>file, > > > > Declaring variables a

should we be using tempnam() ?

2003-12-08 Thread Brian Hirt
i think that libapreq shouldn't be using tempnam()It frustraiting that you can't force tempnam to use a given directory via some sort of api. this makes the TEMP_DIR argument to Apache::Request behave inconsistently depending on what environment variables may or may not be set. If you t

Re: Why MP2

2004-12-14 Thread Dan Brian
In preparation for the upcoming release of mod_perl2, I'd like to prepare a list of reasons why a person/company would look at using mod_perl2, specifically, why upgrade from mod_perl1, and converting from other technologies. So with that, what reasons do you have for wanting MP2? What prevent

Re: Slashdot | Help Test mod_perl 2 Release Candidates

2004-12-26 Thread Dan Brian
Stas> My submission to /.org made it to the Apache section: Stas> Stas> It's about asking to help testing the mp2-RCs. Oh good. Another place to post my "use Apache2 considered harmful" rant...

Re: [summary] The Conflict of mp1 vs mp2 vs mp22 vs ... vs mpNN

2004-12-31 Thread Dan Brian
Stas> 99.9% of users do *not* need to use this workaround. So that Stas> issue is moot if you ask me. Randal> You keep saying this like you believe it. In fact, the number keeps Randal> getting closer to 100% each time. Randal> This is pure, fabricated *fiction*. For me, this ends up being the s

[Fwd: Re: OT: Free Software as a "Security Hole"]

2005-01-12 Thread brian wheeler
I forgot to CC the list! Forwarded Message > From: brian wheeler <[EMAIL PROTECTED]> > To: Goehring, Chuck, RCI - San Diego > <[EMAIL PROTECTED]> > Subject: Re: OT: Free Software as a "Security Hole" > Date: Wed, 12 Jan 2005 12:28:34 -050

Mac::Glue and mod_perl

2005-01-14 Thread Brian Dimeler
ername and pass, as above. So, does anyone know why it's causing a "bus error" when I try to run it in the webserver? Is there a workaround? Brian

Re: Mac::Glue and mod_perl

2005-01-14 Thread Brian Dimeler
Well, if you mean restarting the whole computer, no; but I had shut down and restarted the webserver a few times, and always gotten the same results. Martin Moss wrote: please forgive the really daft question, but have done a complete server shutdown and restart? I've come across bus errors befor

Re: [OSCon 2005] rfc Open Source Dynamic Data Compression

2005-02-03 Thread Dan Brian
Any additional suggestions? I'd cite the fact that places like Google use compression for almost all serving. A lot of people don't know that compression is wide-spread among the big sites.

Re: [OSCon 2005] rfc Open Source Dynamic Data Compression

2005-02-03 Thread Dan Brian
I'd cite the fact that places like Google use compression for almost all serving. A lot of people don't know that compression is wide-spread among the big sites. Yes Dan, you are right regarding the Google, however to date Google and Yahoo are rather exceptions than the rule for the content deliv

Re: //scriptname gets script source on https server on Win32

2005-02-09 Thread Brian Reichert
using mod_rewrite to correct requested URLs. > Josef > -- > Josef Ender, Bitspot AG > http://www.bitspot.com -- Brian Reichert <[EMAIL PROTECTED]> 37 Crystal Ave. #303Daytime number: (603) 434-6842 Derry NH 03038-1713 USA BSD admin/developer at large

Re: [OSCon 2005] RFC

2005-02-11 Thread Dan Brian
If your goal is to convince people to switch to mod_perl, I don't think this will work very well. People choose platforms for practical reasons, the most common being that they already have employees who know that platform. Relative ease of parsing a form has little to do with it, especially sin

Re: Controlling licensed software? [veering OT]

2005-02-20 Thread Dan Brian
Thanks for everybody's answers, but as stated in my previous e-mail where its hosted is not negotiable. Who is it "not negotiable" for? If the client is the one demanding this, that should be a huge warning flag for you. I realize you already said that this wasn't negotiable, but the reason peop

Re: very basic question

2005-03-14 Thread Brian Reichert
send stderr to stdout? You can fake it thusly; add this early on in your script: exec 2>&1 -- Brian Reichert <[EMAIL PROTECTED]> 55 Crystal Ave. #286Daytime number: (603) 434-6842 Derry NH 03038-1725 USA BSD admin/developer at large

Re: ModPerl performance on BSDs

2005-03-14 Thread Dan Brian
I've been running mp2 in production on FreeBSD 4.9 without issue for about 6 months. On Mar 14, 2005, at 7:28 AM, William McKee wrote: On Thu, Mar 10, 2005 at 04:15:38PM -0500, Jonathan Vanasco wrote: I've been looking mostly at NetBSD, FreeBSD and OpenBSD -- has anyone had remarkable success or

Re: Which OS would you choose given a free choice

2005-04-15 Thread Dan Brian
I'm getting a new server and was planning on going with Fedora Core 3 and plesk. But it was just suggested that I maybe consider FreeBSD and DA. Never even heard of DA (about to look it up) but being a Mac user I must know a little about FreeBSD. So if you had a free choice of OS and control panel

Re: ticketing solutions

2005-04-22 Thread Dan Brian
Thanks all; I'll look at the solutions mentioned! On Apr 22, 2005, at 6:35 PM, Michael Schout wrote: Dan Brian wrote: My point was that I don't need a CPAN module to verify hashes. Features could include a mechanism for rotating a key on the servers being accessed, IP verification ...

ticketing solutions

2005-04-22 Thread Dan Brian
What are people using to do authentication ticketing from mp? Nothing jumps out of CPAN at me, mostly because what I've seen just makes md5's out of username/password/expiration. Any recommendations? Ideally, I'm looking for a solution that might be usable both inside and outside mp, over multi

Re: ticketing solutions

2005-04-22 Thread Dan Brian
What are people using to do authentication ticketing from mp? Nothing jumps out of CPAN at me, mostly because what I've seen just makes md5's out of username/password/expiration. Any recommendations? What were you expecting it to do beyond making a hash for verification? My point was that I don't

Apache2::Reqest

2005-04-25 Thread Dan Brian
I'm sure this has been discussed in recent days, but I couldn't find the thread. Has anyone succeeded in getting the CVS version of libapreq (Apache2::Request) to work with the newer-namespace mp2? I can't get the CVS version to compile, but wondered if there was a working snapshot anyone was

Re: Apache2::Reqest

2005-04-25 Thread Dan Brian
This is for [EMAIL PROTECTED] Also, search those archives... they hold more answers :) It's not usually easy to get help compiling a nightly dev shapshot on any list (thus, the "dev snapshot" part). I figured that since the newer mp2 leaves this group the CVS ... doh, I mean, SVN :P, version as

Re: Apache2::Reqest

2005-04-25 Thread Dan Brian
ively though, but it built and installed fine, and the few things i was using A:R for didn't blow up. Adam -Original Message- From: Dan Brian [mailto:[EMAIL PROTECTED] Sent: Monday, April 25, 2005 4:49 PM To: mod_perl Mailing List Subject: Apache2::Reqest I'm sure this has been d

[mp1] binmode(STDOUT, ':utf8') fails silently

2005-05-05 Thread Brian Dimeler
Hi, I'm trying to set binmode(STDOUT, ':utf8') from within a PerlRun script (mod_perl 1.29, apache 1.3.29, perl 5.8.6), and it's failing (returning undef) without setting $!, as the docs claim it should. I really shouldn't even have to do this at all, since I'm already setting Content-type: text

Re: [mp1] binmode(STDOUT, ':utf8') fails silently

2005-05-05 Thread Brian Dimeler
till curious about binmode(), though; is there some mod_perl-specific reason that it would fail? Brian Dimeler wrote: Hi, I'm trying to set binmode(STDOUT, ':utf8') from within a PerlRun script (mod_perl 1.29, apache 1.3.29, perl 5.8.6), and it's failing (returning undef) wi

[mp2] PerlSetEnv Issue

2005-06-16 Thread Brian Becker
  return OK; } 1; Startup.pl $ENV{MOD_PERL} or die "not running under mod_perl!"; use base qw(ModPerl::Registry); use A::Authenticate2; 1; #return true value Brian Becker

seg faults on RHEL 3

2005-06-22 Thread Brian Duggan
tp_main.c:5657 Any suggestions for fixes or how I might diagnose this further would be appreciated. Brian

Re: seg faults on RHEL 3

2005-06-22 Thread Brian Duggan
I've seen set LANG=en_GB.UTF8 - get rid of the .UTF8 and stuff > works... Great, thanks. I got the latest RHEL 3 perl source rpm (perl-5.8.0-89.10), set LC_ALL=C, LANG=en_US, rebuilt perl, then rebuilt apache/mod_perl as before, and no more seg faults. Yay. -Brian

RE: [mp2] PerlSetEnv Issue

2005-06-22 Thread Brian Becker
pulate there is another check to MpReqSETUP_ENV - so before I called modperl_env_request_unpopulate I set MpReqSETUP_ENV_On. Brian -Original Message- From: Geoffrey Young [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 21, 2005 8:38 AM To: Brian Becker Cc: modperl@perl.apache.org Su

Re: [mp2] Small "bug" / feature request / documentation in make test needed

2005-06-23 Thread Brian Huxtable
4/mod_perl 2.0.0 (RC5/RC6/Release) on CentOS 4 with no other Apache installed/running. I wasn't able to figure out why the first test run hangs (everything looks like it should be working). The second test run has no problems. Brian

Re: trying to build a statically-linked apache2/mod_perl2

2005-06-25 Thread Brian Huxtable
test (yes, twice) > make install It builds and installs fine. Then I add /opt/apache2/bin to my path to install libapreq (I think it needs apxs): > perl -MCPAN -e shell > install Apache2::Request The CPAN install warns about a few of the later tests but I haven't noticed any problems with the few functions I use. Brian

Re: trying to build a statically-linked apache2/mod_perl2

2005-06-25 Thread Brian Huxtable
in a specified location, eg with --prefix Brian Huxtable's posting suggests the documented method worked for him though he did not indicate that had been done with a clean file-system. I did try adding the "MP_COMPAT_1X=1 MP_GENERATE_XS=1" he used, but it still did not work for me.

Re: mod_perl variables

2005-08-10 Thread Dan Brian
On Aug 10, 2005, at 11:07 AM, Boysenberry Payne wrote: This message contains information that is confidential and proprietary to Humaniteque and / or its affiliates. It is intended only for the recipient named and for the express purpose(s) described therein. Any other use is prohibited. Pleas

Re: [Fwd: ApacheCon US 2005 CFP slightly extended]

2005-08-10 Thread Dan Brian
By the way, Stas deserves some severe kudos for these materials. They were the best tutorial materials at OSCON, reading like a well- written book. You could stand up and read the whole thing without any preparation. But, don't do that. :-) Thanks Stas! - Dan

mod_perl 1.29: send_fh(): result status?

2005-08-24 Thread Brian Gorby
the file was sent / received in entirety before recording the download; if the download times out for whatever reason for the client, the download will not be recorded. Is this something that's possible in general? with mod_perl? -Brian

Re: mod_perl 1.29: send_fh(): result status?

2005-08-24 Thread Brian Gorby
Brian Gorby wrote: Is this something that's possible in general? with mod_perl? Found it. Apache::Connection->aborted() is just what I needed. -Brian

Re: Apache2::Cookie blank value bug?

2005-08-24 Thread Dan Brian
On Aug 24, 2005, at 3:40 PM, Ted wrote: Blank value in cookie causes server to die with a Segmentation Fault. For me, too.

Apache::Constants qw(HTTP_OK)

2005-11-03 Thread Brian Duggan
s::HTTP_OK called at -e line 1. What am I missing? -Brian

Re: mod_perl, mysql, and set names

2005-11-04 Thread Brian Phillips
You could also just make sure something like the following is in a my.cnf file (on my system it's /var/lib/mysql/my.cnf): [perl] default-character-set=utf8 And then when you connect, you'll need to specify two options to DBI to make DBD::mysql read from the option file: DBI->connect( 'dbi:mysql:lo

@CustomLog and @LogFormat directives

2005-11-10 Thread Brian Phillips
%{User-Agent}i\"" combined     });     our $CustomLog = 'logs/access_log combined'; I'd like to be able to do something like this:     @LogFormat = (     '"%h %l %u %t \\"%r\\" %>s %b \\"%{Referer}i\\" \\"%{User-Agent}i\\"" combined'],     '"%h %l %u %t \\"%r\\" %>s %b" common',     '"%{Referer}i -> %U" referer',     '%{User-agent}i agent',     );     @CustomLog = (     ['logs/access_log', 'common'],     ['logs/referer_log', 'referer'],     ['logs/agent_log', 'agent'],     ); Does anyone have a working example of how to use multiple values for these specific directives? Thanks in advance, Brian

Re: @CustomLog and @LogFormat directives

2005-11-10 Thread Brian Phillips
Unfortunately I'm not using Apache2... :-( Any ideas for Apache 1.3?On 10 Nov 2005 11:37:50 -0800, Randal L. Schwartz <merlyn@stonehenge.com> wrote: >>>>> "Brian" == Brian Phillips < [EMAIL PROTECTED]> writes:Brian> Even using Apache->http

[mp1] Apache::PerlRun errs on backtick operator

2006-01-18 Thread Brian Dimeler
I'm moving my all of my PerlRun scripts to a new webserver, and have discovered that a few modules which invoke system commands via the backtick `` operator are failing to compile when they reach those commands. This doesn't happen when I run the scripts from the command line; only when run as m

Re: child process exited with status 3221225477 -- Restarting

2006-02-02 Thread Brian Reichert
child process exited with status 3221225477 -- Restarting." See perlvar(1) for a discussion on how to unpeel that into separate parts; see $?. Dunno what that might mean under Windows, though... -- Brian Reichert <[EMAIL PROTECTED]> 55 Crystal Ave. #286

Re: [OT] modperl vs. Ruby

2006-02-24 Thread Danny Brian
On Feb 24, 2006, at 4:00 PM, Alan Bailward wrote: It probably really comes down to personal preference and familiarity FWIW. And marketing.

[mp1] CGI upload_hook with PerlRun

2006-03-28 Thread Brian Dimeler
Hi, I have a file-uploading script from a server running perl scripts as plain old CGI, and I'm trying to port it to an Apache 1.3 server using PerlRun. Everything works except CGI's upload hook. On the vanilla CGI server, the upload hook routine is called repeatedly during the upload process,

segv issue

2006-06-07 Thread Danny Brian
I'm wondering if anyone can shed light on the circumstances of a segv with httpd2.2.2/mod_perl2.0.2. The module being loaded in Sleepycat::DbXml (part of the Sleepycat BDB XML distribution). The segfault occurs upon Apache startup with either: a) The module is loaded as use Sleepycat::DbX

Re: segv issue

2006-06-07 Thread Danny Brian
I have tested the problem with a barebones build of httpd on FreeBSD 5 and 6. I do not believe any different library versions are shared between this module and Apache or other loaded Apache modules; symbol conflicts were my first thought. No idea why... but I've definitely encountered that

Re: segv issue

2006-06-07 Thread Dan Brian
I have tested the problem with a barebones build of httpd on FreeBSD 5 and 6. I do not believe any different library versions are shared between this module and Apache or other loaded Apache modules; symbol conflicts were my first thought. No idea why... but I've definitely encountered that

Re: I swear, [idiots unsubscribe help request]

2006-08-22 Thread Danny Brian
P.P.S You might try being nicer to volunteers you are trying to help you and not call them idiots. I suspect the subject was meant to be read, "idiot's unsubscribe help request", and not, "help me unsubscribe, idiots!" - Danny

  1   2   >