I want to pass cookies into a subrequest. I use Apache::Cookie to fetch
all my available cookies. Next, I have to put them into a HTTP::Cookies
cookiejar so I can use add_cookie_header() to add my cookies to a
LWP::UserAgent.
Is there no easier way?
Cheers,
Marc
--
Report problems: http://perl.
arrange this?
--
Marc Lambrichs
--
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
(eval 196): Bad free() ignored (PERL_CORE) at
/var/www/general/lib/perl/Control.pm line 1
65.
--
Marc Lambrichs
--
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
I'm trying to install a MP1 enabled apache in /usr/local/httpd_1.3.33
and MP2 enabled apache in /usr/local/httpd_2.054. Now, when I try to
install libapreq I get the following error:
mod_perl 1.x ( < 1.99) is required at Makefile.PL line 34.
BEGIN failed--compilation aborted at Makefile.PL line
I suppose there should be some changes made to Apache::DB using the new
naming schema in RC6? Could anyone enlighten me?
Cheers,
Marc
config:
freebsd 5.3
httpd 2.054
modperl 2.0.0
When starting up apache I get:
/libexec/ld-elf.so.1:
/usr/local/lib/perl5/site_perl/5.8.5/mach/auto/APR/Request/Error/Error.so:
Undefined symbol "apreq_strerror"
what's wrong?
Cheers,
Marc
I want to call mod_transform_set_XSLT (from mod_transform) in my
PerlResponseHandler. Is this possible?
Generally speaking, can I use methods from other apache modules in my
handlers?
--
Marc Lambrichs
What's the best way to write to a file using mp2? IO::File is slow and
Apache::File is lost...
--
Marc Lambrichs
--
When a request is sent to the webserver, it handles some stuff and then
- sometimes - a redirect must take place. Now the weird part:
when i use
$r->headers_out->set( Location => 'http://www.mysite.com/' );
return Apache2::Const::REDIRECT
inside an eval{} construction it doesn't work. Is there a
I'm trying to build a mp2 handler to login using mod_auth_tkt2. I like the idea
of probing if
the client can support cookies, so tried to rebuild it. According to the cgi
example there
is some problem with setting the cookie on a redirect. The same problem - no probe cookie is set
during the re
domain in it - Apache
"cleverly" notices this and performs the second request
without going back to the browser. To force return to the
browser include the domain in the URL
$r->headers_out->set( Location => "http://my.dn.org/login?redirect=1"; );
On Sun, 14 Aug 200
I'm trying to change a subrequest to do a request to a different server
than the originating one. I'm not sure if this is possible. Anyway, I've
skipped the internal_redirect because - am I correct? - this is bound to
the originating server.
My second thought was using lookup_uri(), but I'm no
foreach my $cookie ( @cookies ){
$log->debug( '[logout]: ' . $cookie->as_string );
$r->err_headers_out->add( 'Set-Cookie' => $cookie->as_string );
}
return Apache2::Const::OK;
Cheers,
Marc
Marc Lambrichs
===
Well, there's no problem there. Checking the head looks ok: my tests
show three Set-Cookie statements:
$ curl -I --cookie
"auth_tkt=ZjY4MDk5NWYwOTRlODNmNGJiNDhlNmI0ZmY4M2ZkZjM0NTdjMDA3Y21sQG1lbGFuZ2UtaXQubmwhMTE2NTc1NDQ5Mjo4Mi45Mi45NS4yMDI=;
domain=main.domain.com;" http://main.domain.com/logo
Yes, fully intentional. We want to wipe out all cookies of all domains
that have been set during a session.
Marc
Robert Landrum wrote:
Marc Lambrichs wrote:
Date: Sun, 10 Dec 2006 12:50:09 GMT
Server: Apache
Set-Cookie: auth_tkt=; path=/; domain=main.domain.com; expires=Sun,
10-Dec-2006 11
I've taken over some code for a client. They've built a framework that
used to run under mod_perl and changed it later, because of problems
they had - what problems remains unknown - to cgi. Ofcourse I'm curious
why they changed it. Here's my view: they create a parent App::Handler
and in every
16 matches
Mail list logo