rewrite rules in sections

2001-04-03 Thread Francesc Guasch
Hi. I found and old thread about having rewrite rules inside Perl sections in httpd.conf. In these mails it looks like there is not an easy way to do this. Is that still true ? I've tried different guesses unsuccessfully: $RewriteRule="^/(img/.*) http://other.server/$1"; $RewriteRule{"^/(img/.*)

Postprocess subrequest content

2001-04-03 Thread Joachim Zobel
Hi. If I want to postprocess content from a subrequest before sending it to the client, I can't my $subr = $r->lookup_uri($uri); $subr->header_in("Content-length" => "0"); $subr->run; because this will send the content to the client. What can I do to get the content myself? Tha

Re: Apache::AuthCookieDBI forgets its config

2001-04-03 Thread Vegard Vesterheim
"Rob Bloodgood" <[EMAIL PROTECTED]> writes: > So I finally decided to plunge into AuthCookie*, and settled on > AuthCookieDBI cuz it's pretty complete, and meets my environment, and I > don't have to subclass it to even try it. > > DAMN what a *! > > Oh, mostly it's an EXCELLENT module. >

Re: Apachecon folks

2001-04-03 Thread Gunther Birznieks
At 09:30 PM 4/3/01 -0500, Dave Rolsky wrote: >Anyone here want to get together? I'm in room 945 and bored. I think >matt Sergeant is here too but I couldn't find him at the bar. Did you check under the bar...? I'm here... and I think Stas, Eric Cholet, and others were interested in doing dinn

Apachecon folks

2001-04-03 Thread Dave Rolsky
Anyone here want to get together? I'm in room 945 and bored. I think matt Sergeant is here too but I couldn't find him at the bar. -dave /*== www.urth.org We await the New Sun ==*/

Re: internal_redirect

2001-04-03 Thread Jim Lambert
Rob Bloodgood muttered: > OK 1: none of the example environments you listed that your programmers are > in include straight mod_perl... in fact they are all CGI emulation layers of > varying degrees of protection/dirtiness. Do I read you correctly? Yes, they're all CGI emulations. > Well, this

RE: Apache::AuthCookieDBI forgets its config [UPDATE]

2001-04-03 Thread Rob Bloodgood
> HOWEVER, whenever the module is actually invoked, %SECRET_KEYS is empty! > > Here's the BEGIN{} block: > BEGIN { > my @keyfile_vars = grep { > $_ =~ /DBI_SecretKeyFile$/ > } keys %{ Apache->server->dir_config() }; > foreach my $keyfile_var ( @keyfile_vars ) { >

RE: internal_redirect

2001-04-03 Thread Rob Bloodgood
> Rob, thanks for pointing me in the right direction. Your advise > helped me find a solution that works for my situation. You're welcome! > I'm working on an API that sits between an Oracle DB and bunch of web > application programmers. Unfortunately, the programmers run their > apps under a

Re: FW: Changes to BOF schedule..!

2001-04-03 Thread John D Groenveld
I just got into the Westin. If anyone else is around, I'd be into meeting for drinks or late dinner. John [EMAIL PROTECTED]

Re: internal_redirect

2001-04-03 Thread Jim Lambert
Rob, thanks for pointing me in the right direction. Your advise helped me find a solution that works for my situation. I'm working on an API that sits between an Oracle DB and bunch of web application programmers. Unfortunately, the programmers run their apps under a variety of perl-handlers (A

Apache::AuthCookieDBI forgets its config

2001-04-03 Thread Rob Bloodgood
So I finally decided to plunge into AuthCookie*, and settled on AuthCookieDBI cuz it's pretty complete, and meets my environment, and I don't have to subclass it to even try it. DAMN what a *! Oh, mostly it's an EXCELLENT module. Mostly. For starters, as verbose as the docs are, they aren'

Apache::Filter doesn't filter right

2001-04-03 Thread Michael Nachbaur
I'm having a problem with Apache::Filter (and Apache::OutputChain) which I don't think is related to Apache::Filter itself, but I can't seem to track the problem down. I wrote a content handler which outputs XML, which I want to then be processed by AxKit. So, I did: SetHandler perl-script

ANNOUCE: HTML::Mason 1.015

2001-04-03 Thread Jonathan Swartz
The URL http://masonhq.com/download/HTML-Mason-1.015.tar.gz has entered CPAN as file: $CPAN/authors/id/J/JS/JSWARTZ/HTML-Mason-1.015.tar.gz size: 273604 bytes md5: a4e92af6963184b820dd39ddfdaafa8c Mason is a component-based web site development system with caching, debugging, and pr

RE: internal_redirect

2001-04-03 Thread Rob Bloodgood
> I'm trying to handle an exception using an internal_redirect. I > can get it to work by redirecting to a static page, but when I try to > redirect to a modperl handler, I'm run into problems. > > Here are the two versions of code (BTW, the handler works fine when I > access it directly via the

Re: mirroring data across a server cluster

2001-04-03 Thread Christopher L. Everett
Paul Cotter wrote: > [OT] - but... I disagree somewhat about OT; I see your point but, I want to use this class specifically in mod_perl handlers. Also, clustered servers are definitely on topic, I think. > Do not throw out database replication as a solution. I remember a previous discussion

Re: Long waits on SQL Stored Procs. Should I use chained contenthandlers?

2001-04-03 Thread Robert Landrum
At 7:49 AM -0700 4/3/01, Wim Kerkhoff wrote: >Robert Landrum wrote: >> >> At 2:06 PM + 4/2/01, [EMAIL PROTECTED] wrote: > >> >Any ideas? I cant, for the life of me, figure out how this would work with >> >http redirects, and thought there might be something with >>mod_perl that would >> >hel

Re: Long waits on SQL Stored Procs. Should I use chained contenthandlers?

2001-04-03 Thread Wim Kerkhoff
Robert Landrum wrote: > > At 2:06 PM + 4/2/01, [EMAIL PROTECTED] wrote: > >Any ideas? I cant, for the life of me, figure out how this would work with > >http redirects, and thought there might be something with mod_perl that would > >help this. Fork() maybe. I'm trying a few ideas. > > I

Re: Long waits on SQL Stored Procs. Should I use chained contenthandlers?

2001-04-03 Thread Robert Landrum
At 2:06 PM + 4/2/01, [EMAIL PROTECTED] wrote: >I need to run some stored procedures that take upwards of a minute to generate >result sets. Ok, thats grand but I dont want the browser to sit there and >twiddle. > >I'd like to display an animated gif. Simple. Right? I hope. > >I'm looking into

FW: Changes to BOF schedule..!

2001-04-03 Thread Geoffrey Young
FYI... > -Original Message- > From: Rodent of Unusual Size [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 02, 2001 6:59 PM > To: BOF submitters > Subject: Re: Changes to BOF schedule..! > > > Rodent of Unusual Size wrote: > > > > Due to a bit of confusion, the BOF schedule next week