refactoring client's decision

2008-05-11 Thread Marc Lambrichs
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

Re: reset multiple cookies

2006-12-14 Thread Marc Lambrichs
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

reset multiple cookies

2006-12-09 Thread Marc Lambrichs
( '[logout]: ' . $cookie-as_string ); $r-err_headers_out-add( 'Set-Cookie' = $cookie-as_string ); } return Apache2::Const::OK; Cheers, Marc Marc Lambrichs Melange IT B.V. Postbus 3581 1001 AJ Amsterdam http://www.melange-it.com

using subrequest to different server

2006-12-07 Thread Marc Lambrichs
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

calling methods from other modules

2005-06-01 Thread Marc Lambrichs
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

apreq_strerror

2005-05-23 Thread Marc Lambrichs
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

installing libapreq and MP1

2005-05-09 Thread Marc Lambrichs
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

RC6 and Apache::DB

2005-05-09 Thread Marc Lambrichs
I suppose there should be some changes made to Apache::DB using the new naming schema in RC6? Could anyone enlighten me? Cheers, Marc

bad free() error

2004-12-04 Thread Marc Lambrichs
) 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

redirecting log to screen

2004-11-30 Thread Marc Lambrichs
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

cookies in subrequest

2004-11-16 Thread Marc Lambrichs
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: