Q: How do I upgrade Perl w/mod_perl?

2003-08-11 Thread Tim Howell
Title: Q: How do I upgrade Perl w/mod_perl? I'm currently using mod_perl 1.2.7 with Perl 5.8.0. If I want to test Perl 5.8.1 RC4, how do I recompile Perl and mod_perl without having to make other changes? Is there a simple way to do this upgrade? Thanks! =) --TWH

Re: $r-headers_out Location and Set-Cookie

2003-08-11 Thread Chris Faust
I haven't had any problems setting a cookie and redirecting on MP2 by using the below $r-err_headers_out-add('Set-Cookie' = $packed_cookie); $r-header_out('Location' = $url); $r-status(REDIRECT); $r-send_http_header; -Chris - Original Message - From: gerard uolaquetalestem

Re: Mod_perl how to include the result of mod_autoindex?

2003-08-11 Thread Thomas Klausner
Hi! On Mon, Aug 11, 2003 at 08:37:19AM -0700, Coexec wrote: I am writing a mod_perl script using CGI.pm and Apache 1.3.28/Linux. I am trying to figure out how to use Apache's mod_autoindex to display a directories contents within the output the CGI. Apache is configured correctly, I am

Re: $r-headers_out Location and Set-Cookie

2003-08-11 Thread Geoffrey Young
That's when you use Apache::compat, doing the mp1 syntax. In mp2-speak that would be: $r-err_headers_out-add('Set-Cookie' = $packed_cookie); $r-headers_out-set('Location' = $url); $r-status(REDIRECT); notice that you don't need to call $r-send_http_header, it doesn't exist in mp2. not to

Re: Set-Cookie2

2003-08-11 Thread Stas Bekman
Jie Gao wrote: On Tue, 5 Aug 2003, Stas Bekman wrote: Jie Gao wrote: Hi All, Any idea if Set-Cookie2: is going to be implemented in CGI.pm? Lincohn? Jie, AFAIK, this has nothing to do with mod_perl. See: http://stein.cshl.org/WWW/software/CGI/#bugs Sorry. Now let me ask a question that's

Error in compile

2003-08-11 Thread The Doctor
Why is the below happening? Script started on Fri Aug 8 20:20:56 2003 doctor.nl2k.ab.ca//usr/source/mod_perl-1.99_09$ make cd src/modules/perl make -f Makefile.modperl rm -f mod_perl.so ld -shared -x -L/usr/X11/lib -L/usr/local/libmod_perl.lo modperl_interp.lo modperl_tipool.lo