Re: Apache2::Cookie confusing path and domain

2005-07-01 Thread Philip M. Gollucci
Gokul P. Nair wrote: --- Philip M. Gollucci [EMAIL PROTECTED] wrote: Crap I missed the missing name. Didn't try expires. Its probably a bug. If you're interested in fixing it, you'll want to look at glue/perl/APR/Request/Cookie.xs I found the problem but I'm not sure where to implement the

PerlOptions +Parent and Virtual Hosts problem

2005-07-01 Thread Adam Batkin
I noticed two problems (possibly just documentation issues?) when playing with PerlOptions +Parent and virtual hosts: 1) PerlSwitches -Mlib and -I were completely ignored within the VirtualHost tags And more importantly... 2) I have 3 virtual hosts (not NameVirtualHosts, but separate IPs),

[JOB] Senior Perl Engineer, MP focus

2005-07-01 Thread Matthew Berk
About the position: Open List, Inc. (http://www.openlist.com/) is seeking a talented, SENIOR Perl engineer to improve and extend its core vertical search platform. Extensive MP experience required. Applicants must have a proven track record designing, building and maintaining complex,

Apache::Test - regression with handling of cgid?

2005-07-01 Thread Joshua Hoblitt
Hi Folks, I'm getting cgid errors in t/logs/error_log unless I set 'ScriptSock' in t/conf/extra.conf.in. -- [Wed Jun 29 11:10:52 2005] [error] cgid daemon process died, restarting [Wed Jun 29 11:10:52 2005] [error] (13)Permission denied: Couldn't bind unix domain socket /var/run/cgisock -- I

Re: Apache::DBI and mod_perl 2.0.1

2005-07-01 Thread Joshua Hoblitt
On Thu, Jun 30, 2005 at 11:25:26AM -0400, Philip M. Gollucci wrote: Mark A. Downing wrote: On Thu, 30 Jun 2005, Philip M. Gollucci wrote: Thanks for this Mark. (Un)fortunately you've been beat to it and there are few more changes to get all of it working with mp2. Very nice.

Re: Apache::DBI and mod_perl 2.0.1

2005-07-01 Thread Joshua Hoblitt
On Thu, Jun 30, 2005 at 05:58:29PM -0400, Philip M. Gollucci wrote: http://p6m7g8.net/Apache-DBI The 0.97's connect_on_init() works under MP2. In fact p6m7g8.net is running it on a backend server. I know, I had already tested it. Perhaps I should have been more specific and said, I

RE: Eagle book RandPicture.pm, $r-internal_redirect, and IE 6.0 showing same image every time

2005-07-01 Thread Slava Bizyayev
On Thu, 2005-06-30 at 22:52, David Christensen wrote: 1. Make a mod_perl call that tells the browser not to cache the upcoming document. (Does such a call exist?) Take a look at Expires HTTP header. See rfc2616 for additional details. 2. Make a mod_perl call that tells the browser

Re: Apache::Test - regression with handling of cgid?

2005-07-01 Thread Geoffrey Young
Joshua Hoblitt wrote: Hi Folks, I'm getting cgid errors in t/logs/error_log unless I set 'ScriptSock' in t/conf/extra.conf.in. that is already set for you in t/conf/extra.conf.in IfModule mod_cgid.c ScriptSock logs/cgisock /IfModule if that code isn't in your

Re: Apache2::Cookie confusing path and domain

2005-07-01 Thread Gokul P. Nair
the as_string() method being called by overloading is apparently not the same one as the Apache2::Cookie. The APR::Request::Cookie only returns the value not the full stringification. Thats right, it says this in the documentation in CPAN: The double-quote interpolation operator maps to

Re: Apache2::Cookie confusing path and domain

2005-07-01 Thread Gokul P. Nair
also printf Set-Cookie: %s\n, $cookie-as_string; displays the right values i.e. in my case Set-Cookie: foo=bar; path=/; expires=Sat, 02-Jul-2005 14:34:42 GMT Gokul P. Nair --- Philip M. Gollucci [EMAIL PROTECTED] wrote: Gokul P. Nair wrote: --- Philip M. Gollucci [EMAIL PROTECTED]

Re: Apache2::Cookie confusing path and domain

2005-07-01 Thread Philip M. Gollucci
Gokul P. Nair wrote: also printf Set-Cookie: %s\n, $cookie-as_string; displays the right values i.e. in my case Set-Cookie: foo=bar; path=/; expires=Sat, 02-Jul-2005 14:34:42 GMT I agree. http://p6m7g8.net/cookie is update to the below: Seems to work for me. sub handler () { my

Re: Eagle book RandPicture.pm, $r-internal_redirect, and IE 6.0 showing same image every time

2005-07-01 Thread Slava Bizyayev
On Fri, 2005-07-01 at 09:10, Geoffrey Young wrote: Slava Bizyayev wrote: On Thu, 2005-06-30 at 22:52, David Christensen wrote: 1. Make a mod_perl call that tells the browser not to cache the upcoming document. (Does such a call exist?) Take a look at Expires HTTP header. See

Re: Apache2::Cookie confusing path and domain

2005-07-01 Thread Philip M. Gollucci
Gokul P. Nair wrote: the as_string() method being called by overloading is apparently not the same one as the Apache2::Cookie. The APR::Request::Cookie only returns the value not the full stringification. Thats right, it says this in the documentation in CPAN: The double-quote

Re: Apache2::Cookie confusing path and domain

2005-07-01 Thread Gokul P. Nair
$r-err_headers_out-add('Set-Cookie' = sprintf(%s, $cookie-as_string)); or the code below would suffice too. $r-headers_out-add('Set-Cookie'=$cookie-as_string); Gokul P. Nair --- Philip M. Gollucci [EMAIL PROTECTED] wrote: Gokul P. Nair wrote: also printf Set-Cookie: %s\n,

Re: Apache::Test - regression with handling of cgid?

2005-07-01 Thread Joshua Hoblitt
The issue was finally resolved by uninstalling mp2, mp1 and then reinstalling just mp2. I'm still scratching my head as to exactly what the problem was. My best guess is that there was a conflict between versions of mp2 installed by both CPAN.pm and Gentoo ebuild. Cheers, -J -- On Fri, Jul

RE: Eagle book RandPicture.pm, $r-internal_redirect, and IE 6.0 showing same image every time

2005-07-01 Thread David Christensen
Thank you everyone for your thoughts and help. :-) Geoffrey Young wrote: $r-no_cache(1) ... That's the kind of answer I was hoping for. RTFM perldoc Apache looks encouraging. Implement it (see CVS diff below). Nope -- IE still displays the same image every time. :-( Let's do some

Re: Apache::DBI and mod_perl 2.0.1

2005-07-01 Thread Vincent Moneymaker
Philip, I think I've spotted another small Apache/DBI issue that I thought I would run by you. In the 'connect' function inside the DBI.pm module (as opposed to the Apache/DBI.pm) there are somes lines about 12 lines down from the start of the 'connect' function that reads as follows

Lost my ?xml version=1.0 encoding=iso-8859-1?

2005-07-01 Thread Thomas Hilbig
Since updating to mp2.0.0 and httpd 2.0.54, my CGI scripts no longer include the heading at the top: ?xml version=1.0 encoding=iso-8859-1? This is causing grief to some browsers (IE6 and Firefox) in that some of the CSS layout properties aren't working (document.body.scrollTop is always 0).