Re: migrating to mod_perl

2004-06-21 Thread Vadim
> what are the do's and don'ts when porting from perl/CGI to mod_perl? 1. use lib "module" -> use lib "/home/projects/modules" 2. http://perl.apache.org/docs/1.0/guide/porting.html -- Vad -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl

Re: OT: mod_rewrite question

2004-06-21 Thread Vadim
> Hi! > > Sorry for the offtopic post, but I thought somebody here just has to know > the answer to my problem... > > I want to rewrite URIs (using Apache 1.31) from something like this > > http://somehost/somedir/123.html > > to > > http://somehost/somedir/view?id=123 > > I tried: > > Rewrite

Cached vars

2004-07-08 Thread Vadim
Are there any way to dump all cached vars for scripts under mod_perl? -- Vad -- 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: Cached vars

2004-07-08 Thread Vadim
", $self->{headers}->{$_}, "\n" for keys %{ $self->{headers} }; print "\n"; } package main; use strict; use warnings; our $HEADERS = new Headers; $HEADERS->print(); print 1; - > On Thu, 2004-07-08 at 12:09, Vadim

Re: response data

2004-12-16 Thread Vadim
>>On Wed, 2004-12-15 at 20:32 +, Vadim wrote: >> it looks like i missed something important... >> So how to get Response data in the PerlCleanupHandler script?! >It's already sent by then. What are you trying to do? Do you want to >filter it? I want

Re: Can't locate object method "get_brigade" via package "Apache::Filter"

2004-12-16 Thread Vadim
> Vadim wrote: > > from error_log > > > > [Thu Dec 16 19:34:06 2004] [notice] Apache/2.0.52 (Unix) mod_ssl/2.0.52 > > OpenSSL/0.9.7d mod_perl/1.99_18 Perl/v5.8.4 configured -- resuming normal > > operations > > [Thu Dec 16 19:34:08 2004]

Re: response data

2004-12-17 Thread Vadim
> On Thu, 2004-12-16 at 11:18 +0000, Vadim wrote: > > >>On Wed, 2004-12-15 at 20:32 +, Vadim wrote: > > >> it looks like i missed something important... > > >> So how to get Response data in the PerlCleanupHandler script?! > > > > > >I

response data

2004-12-15 Thread Vadim
Hi. it looks like i missed something important... So how to get Response data in the PerlCleanupHandler script?! -- vad -- 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-etiquett

Can't locate object method "get_brigade" via package "Apache::Filter"

2004-12-16 Thread Vadim
from error_log [Thu Dec 16 19:34:06 2004] [notice] Apache/2.0.52 (Unix) mod_ssl/2.0.52 OpenSSL/0.9.7d mod_perl/1.99_18 Perl/v5.8.4 configured -- resuming normal operations [Thu Dec 16 19:34:08 2004] [error] [client 127.0.0.1] Can't locate object method "get_brigade" via package

Re: response data

2004-12-20 Thread Vadim
> Hi Vadim, > On Fri, 2004-12-17 at 06:09, Vadim wrote: > > The solution is to register the cleanup handler in the > > PerlResponseHandler script and to pass the data and $r object as the > > arguments: > > > > r->pool->cleanup_register(\&MyApache::

Re: multiple developers on one Sever

2004-12-22 Thread Vadim
> I understand this - but I want to use Apache::Registry for > performance-reasons. How can I get different configurations in different > Versions of my system? > Should I use something like Config::Tiny? > Or can I use Apache::PerlRun just for my config.pl - which I include via > require 'config.

Beginner needs suggestion!

2005-01-06 Thread vadim
one URL? Could you give me a hint please how can I allow subversion cients first to supply a certificate, and if they can not supply a certificate - to try to authenticate via SPNEGO and as last option - Kerberos user ID and Password, and all of this in one URL? Thanx a lot and best regards,