... All, I've combined this into the 0.97 on my site: http://p6m7g8.net/Apache-DBI you can also find 0.96 (previous version), and startup.pl, httpd.conf...
65713
Geoffrey Young
geoff@...
Jun 30, 2005 12:50 pm
... well, just because a thing is implemented as a filter doesn't necessarily mean the thing implemented is itself a filter :) ... the "should we" aside, I'm...
65714
Gokul P. Nair
gpnair78@...
Jun 30, 2005 2:54 pm
Hello, I read in the libapreq2 mail archives that using APR::* is recommended over the Apache2::Cookie modules and that there was debate over dumping the...
65715
Mark A. Downing
mdowning@...
Jun 30, 2005 3:06 pm
Hi, I made a couple of changes to Apache::DBI to allow connect_on_init to work with mod_perl2. Here's the diff if anyone is interested: diff DBI.pm DBI.pm.old ...
65716
Philip M. Gollucci
pgollucci@...
Jun 30, 2005 3:11 pm
... 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. Please see here: ...
65717
Philip M. Gollucci
pgollucci@...
Jun 30, 2005 3:26 pm
... Umm.... Talk to Ask B. H. He's been a bit sparse on the responses. Granted he's very busy. I've asked 3 times now. -- END ... What doesn't kill us can...
65718
Philip M. Gollucci
pgollucci@...
Jun 30, 2005 3:34 pm
... perldoc APR::Request::Cookie Its supposed to be available http://httpd.apache.org/APR/Request/Cookie.html but the doc generated had issues when 2.05-dev...
65719
Mark A. Downing
mdowning@...
Jun 30, 2005 3:51 pm
... Very nice. Thanks. Can we get that pushed up to CPAN?...
65720
Gokul P. Nair
gpnair78@...
Jun 30, 2005 4:06 pm
Thanks for the attachment. What i still don't understand though is that when i create the cookie using APR::Request::Cookie->new(...) how do i bake it or in...
65721
Philip M. Gollucci
pgollucci@...
Jun 30, 2005 4:28 pm
... I'm hoping you missed this line: my $cookie = APR::Request::Cookie->new($req, name => "foo", value => "bar", domain => "capricorn.com"); # print a response...
65722
Philip M. Gollucci
pgollucci@...
Jun 30, 2005 4:39 pm
... I'd have to look the the $r->send_headers_xxx API my memory is failing me at the moment. use Apache2::RequestRec (); use APR::Table (); use...
65723
Kevin A. McGrail
kmcgrail@...
Jun 30, 2005 4:40 pm
Hmmm, won't printing a response header directly when not in assbackwards mode and using $!++ cause also sorts of issues in Registry (or Perl Run)? KAM...
65724
Philip M. Gollucci
pgollucci@...
Jun 30, 2005 4:49 pm
... Probably, I just pasted the man page. See my most recent response. -- END ... What doesn't kill us can only make us stronger. Nothing is impossible. ...
65725
Gokul P. Nair
gpnair78@...
Jun 30, 2005 5:06 pm
... Yes, I do have that line. ... This line just prints the contents on to the browser. ... I hope you mean $r->headers_out, if yes then i do have that line...
65726
Kevin A. McGrail
kmcgrail@...
Jun 30, 2005 5:12 pm
You know that after you set a cookie you cannot check for it's existence in the same session. Set a cookie. Reload. Then check for cookie existence. How are...
65727
Gokul P. Nair
gpnair78@...
Jun 30, 2005 5:21 pm
As of now, to check to see if the cookie is set or not, i'm just doing something as simple as checking under 'Preferences39; and 'View Cookies' in my browser's ...
65728
Geoffrey Young
geoff@...
Jun 30, 2005 5:27 pm
... I think that's your only recourse at this point, using APR::Table::do(). if memory serves, the tables do not contain multiple entries per key like a ...
65729
Philip M. Gollucci
pgollucci@...
Jun 30, 2005 5:33 pm
... Here is a fully working exapmle: http://p6m7g8.net/cookie PerlModule TEST::Cookie <Location /cookie> SetHandler perl-script PerlResponseHandler...
65730
Geoffrey Young
geoff@...
Jun 30, 2005 5:39 pm
... I guess your modifications are the culprit, then :) ... hopefully you meant 401 and not 01 - get_basic_auth_pw should either return OK (0) or an HTTP...
65731
Gokul P. Nair
gpnair78@...
Jun 30, 2005 6:10 pm
It works and i'm able to set the cookie, but the "name" and "expires" tags are not set in the cookie? Did it work for you? Is this a bug? Thanks. ... ...
65732
Philip M. Gollucci
pgollucci@...
Jun 30, 2005 6:13 pm
... 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 ...
65733
Gokul P. Nair
gpnair78@...
Jun 30, 2005 8:44 pm
ok, I'll try and look at the code. Thanks Gokul P. Nair ... __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has...
65734
Philip M. Gollucci
pgollucci@...
Jun 30, 2005 9:59 pm
... 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. -- END ... What doesn't...
65735
Vincent Moneymaker
vbmonymaker@...
Jun 30, 2005 10:46 pm
... I have a question which I am not sure whether it is loopy or not. In the Apache::DBI module module the variable '$Apache::ServerStarting' is used but I...
65736
Philip M. Gollucci
pgollucci@...
Jun 30, 2005 11:19 pm
... Hi Vince, ... startup, read the docu !!\n" if $Apache::DBI::DEBUG > 1; ... This is something that was never updated for MP2 pre or post RC5 in Apache::DBI....
65737
Philip M. Gollucci
pgollucci@...
Jul 1, 2005 12:33 am
... PATCHED and AVAILABE as 0.98 http://p6m7g8.net/Apache-DBI Changes: 0.98 06/30/2005 - Fix MP2 issue with $Apache::Server::Starting Reported by Vincent...
65738
David Christensen
dpchrist@...
Jul 1, 2005 1:24 am
modperl: I'm a mod_perl newbie working my way through the Eagle book (http://www.modperl.com/), and have implemented RandPicture.pm per pp. 126-127. Everything...
65739
Philip M. Gollucci
pgollucci@...
Jul 1, 2005 1:44 am
... Just for kicks, can you try it in another browser like FireFox ? I looked up the original ...
65740
David Christensen
dpchrist@...
Jul 1, 2005 3:52 am
... A logical suggestion, but: 1. IE with default security and privacy settings is my target browser. If IE has an issue with internal_redirect(), I need to...
65741
Philip M. Gollucci
pgollucci@...
Jul 1, 2005 6:14 am
... I found the problem but I'm not sure where to implement the solution in the apreq-code base yet. Given this: my $cookie = APR::Request::Cookie->new($req,...