> 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
> 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
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
", $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
>>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
> 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]
> 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
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
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
> 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::
> 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.
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,
12 matches
Mail list logo