Re: Re: $r-headers_out Location and Set-Cookie

2003-08-14 Thread gerard uolaquetalestem
Hi, I've seen that the key is the status returned to apache. With Apache::REDIRECT i have the next code works ok $apache-err_headers_out-{'Set-Cookie'} = $value1; $apache-err_headers_out-{'Location'} = $value2; But exactly what's the difference between err_headers_out and headers_out? I

$r-headers_out Location and Set-Cookie

2003-08-14 Thread gerard uolaquetalestem
I have the next problem, i am in page A that form points to page B, that is a modperl2 handler. This handler makes a job and decides to send a cookie to the browser, and after to redirect to the same page A who is ready to catch the cookie. Then the problem is that if i put the two headers, i

handlers versus scripts, SSI difference

2003-08-04 Thread gerard uolaquetalestem
I began some weeks ago to think about translating my .pl scripts (that run with mod_perl 2 ::registry) to perl handlers. My first problem was to find how to include a perl handler as i included my cgi scripts (include virtual). I found that #perl directive allows you to include with

make test fails in building modperl2+apache2+perl5.8

2003-08-03 Thread gerard uolaquetalestem
Hi everyone (my first message). The message is that there is a syntax error in line x of some conf file, the syntax error is that PerlSwitches is an unknown command. I am trying to compile modperl2 with perl 5.8 compiles with mpm and ithreads and with apache2 compiled not as a DSO module but as