Re: RFC: Apache::Session::CacheAny

2001-09-09 Thread princepawn
Perrin Harkins writes: Tatsuhiko Miyagawa wrote: Announcing the Adapter module which provides a way to use Cache::Cache subclasses as Apache::Session storage implementation. Hmmm... Apache::Session does very little beyond what Cache::Cache does. In fact, the only things I

Constant subroutine NEW redefined at ...

2001-09-02 Thread princepawn
and also troubles and did not see this. I am using Perl 5.6.1 Perl use lib '/home/princepawn/public_html/gimblerus.com/apache/htdocs/common'; /Perl PerlModule Apache::Filter PerlModule Apache::Seamstress PerlModule Apache::Seamstress::Stitchery PerlModule Apache::Session PerlModule Apache::Session

Apache::Request cookie handling methods?

2001-09-01 Thread princepawn
p.209 of the Eagle Book states that Apache::Request has some experimental cookie-handling functions. However, neither perldoc Apache or perldoc Apache::Request has the word cookie anywhere in their body. CGI::cookie() is wonderful, but I feel funny using CGI.pm and CGI::Cookie under mod_perl

ErrorDocument + Apache request tracing

2001-08-31 Thread princepawn
1 - I am at a part of my code in which I am returning values from Apache::Constant: } else { warn 'auth-required'; # return NOT_FOUND; # return FORBIDDEN; return AUTH_REQUIRED; I know that this is working because in each case of returning the commented out lines,

Re: $r-args()

2001-08-30 Thread princepawn
Robert Landrum writes: sub escaped { my $val = shift; $val =~ s/(\W)/sprintf(%%%.2X,ord($1))/g; return $val; } my $content = join('',map{$_.=.escaped($r-param($_))}($r-param)); my $internal_url = /some/path/to/handler?$content;

questions on $r-lookup_uri

2001-08-26 Thread princepawn
1 - Why was no documentation for this method found in the manpage for Apache::Request? Where should I have looked for docs on this? 2 - I did manage to find some docs for this in Ch. 4 of the Stein/Maceachern book, but am wondering why lookup_uri() goes through all phases of request processing