modperl 2.0.0-rc4 statically linked with httpd-2.0.53

2005-03-01 Thread Gokul P. Nair
how do i find out if mod_perl is statically linked to apache or dynamically? the reason i need to know this is because in order to install HTML::Mason, it is strictly reccomended that mod_perl be statically linked to apache. thanks in advance. Gokul _

upgrade perl 5.6.1 to 5.8.5

2005-03-02 Thread Gokul P. Nair
I'm currently using perl v5.6.1 and would like to upgrade it to v5.8.5, also when i download and install modules from cpan.org it prints this at the end of installation: "Appending installation info to /usr/lib/perl/5.6.1/perllocal.pod" I have 2 questions: 1. How do i upgrade from 5.6.1 to 5.8.5 2

Re: Problem with apache and mysql

2005-03-09 Thread Gokul P. Nair
My suggestion would be to use Apache::DBI too if ur not already doing so. my guess is that the database handles open by DBI (not to be mistaken for Apache::DBI) might remain open eventually leading to inability to access mysql anymore. hope that helps. Gokul --- Alejandro Galue <[EMAIL PROTECTED

call to Apache::Cookie causes a segfault (11), please help!

2005-04-15 Thread Gokul P. Nair
A simple call to set_login_cookie.html from a browser causes a segmentation fault and generates the following message in my apache error log: [notice] child pid x exit signal Segmentation fault (11) set_login_cookie.html: hello <%init> my $cookie = Apache::Cookie->new ( $r, -n

Re: Apache::Session not updating (writing)

2005-05-10 Thread Gokul P. Nair
--- Bart Simpson <[EMAIL PROTECTED]> wrote: "Don't use mason though." I'm curious about your last statement about not using Mason, why do u say so? --- Bart Simpson <[EMAIL PROTECTED]> wrote: > > --- Rick <[EMAIL PROTECTED]> wrote: > > I'm having problems with > > MasonX::Request::WithApacheSes

mod_perl2 make test errors - Apache2::Const

2005-06-06 Thread Gokul P. Nair
I'm tyring to compile and install mod_perl 2.0 as a dso on Apache 2.0.52 but it complains about not being able to load Apache2::Const module. This is the error i get when i run make test: Can't load '/usr/local/src/mod_perl-2.0.0/blib/arch/auto/Apache2/Const/Const.so' for module Apache2::Const: /u

Re: mod_perl2 make test errors - Apache2::Const

2005-06-07 Thread Gokul P. Nair
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Built under linux Compiled at Mar 10 2005 13:29:19 @INC: /usr/local/lib/perl5/5.8.6/i686-linux /usr/local/lib/perl5/5

APR::* confusion in setting and retrieving cookies through libapreq2

2005-06-23 Thread Gokul P. Nair
hods/subs listed in the documentation, even in the base class i.e. APR::Request. Are these methods implemented as functions in C code that is then dynamically linked and bootstrapped through the dynaLoader module? Thanks, Gokul P. Nair __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

Re: APR::* confusion in setting and retrieving cookies through libapreq2

2005-06-23 Thread Gokul P. Nair
kie); After this when i check the cookie set on my bowser for this domain, the 'name' and 'expires' fields have not been set! I'm clueless, is $r-headers_out ... the right way of sending the cookie? Thanks, Gokul P. Nair --- Malcolm J Harwood <[EMAIL PROTECTED]> wrote:

Re: Apache2::Cookie confusing path and domain

2005-06-30 Thread Gokul P. Nair
&m=111695546005425&w=2 I'm confused as to which is the best way to go about setting and retrieving cookies. Any advice would be greatly appreciated. Thanks, Gokul P. Nair --- Jonathan Vanasco <[EMAIL PROTECTED]> wrote: > > On Jun 29, 2005, at 2:04 PM, Chris Jacobson

Re: Apache2::Cookie confusing path and domain

2005-06-30 Thread Gokul P. Nair
n use of Apache2::Cookie is not recommended right? Am i even approaching this in the right direction? Thanks again. Gokul P. Nair --- "Philip M. Gollucci" <[EMAIL PROTECTED]> wrote: > Gokul P. Nair wrote: > > >I'm confused as to which is the best way to go

Re: Apache2::Cookie confusing path and domain

2005-06-30 Thread Gokul P. Nair
name => "foo", value => "bar"); $cookie->path('/'); $cookie->domain('192.168.1.155'); $cookie->expires('+1d'); $r->headers_out->add('Set-Cookie'=>$cookie); This does not set the cookie whatsoever, i tried $r->er

Re: Apache2::Cookie confusing path and domain

2005-06-30 Thread Gokul P. Nair
As of now, to check to see if the cookie is set or not, i'm just doing something as simple as checking under 'Preferences' and 'View Cookies' in my browser's properties button. I've seen the cookies, that i set using Apache2::Cookie in the past, there. I don't see them now, reloading the page does

Re: Apache2::Cookie confusing path and domain

2005-06-30 Thread Gokul P. Nair
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. --- "Philip M. Gollucci" <[EMAIL PROTECTED]> wrote: > > >I hope you mean $r->headers_out, if yes then i do > have > >that line too, although it fail

Re: Apache2::Cookie confusing path and domain

2005-06-30 Thread Gokul P. Nair
ok, I'll try and look at the code. Thanks Gokul P. Nair --- "Philip M. Gollucci" <[EMAIL PROTECTED]> wrote: > Gokul P. Nair wrote: > > >It works and i'm able to set the cookie, but the > >"name" and "expires" tags are not set in

Re: Apache2::Cookie confusing path and domain

2005-07-01 Thread Gokul P. Nair
N: "The double-quote interpolation operator maps to APR::Request::Cookie::value()" So its supposed to be returning just the value and not the entire cookie string, but I'm not sure what this would have to do with the "name" or "expires" tag not being set under the cook

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: >

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" <

test message, please ignore

2005-09-12 Thread Gokul P. Nair
test message, please ignore __ Yahoo! for Good Donate to the Hurricane Katrina relief effort. http://store.yahoo.com/redcross-donate3/

Re: Apache::DB - What am I doing wrong?

2006-03-06 Thread Gokul P. Nair
Since we are on this topic, is there any way to get Apache::DB to start the perl debugger without having to restart Apache with a single worker thread (i.e. httpd -X ... option)?In other words, is there any way to attach the perl debugger with a specific httpd pid, without having to restart Apache

RE: Apache::DB - What am I doing wrong?

2006-03-06 Thread Gokul P. Nair
Well, here's the deal. I would like to view a stack trace of everything that's being called in my web application, starting from when the web page is loaded to browsing through the different pages. Starting with the -X is certainly not an option in my case since the Apache server I'm using is maint

RE: Apache::DB - What am I doing wrong?

2006-03-06 Thread Gokul P. Nair
Also, when I said "use Carp in every module", I meant 'call Carp::Cluck'. Sorry for that confusion. Gokul"Gokul P. Nair" <[EMAIL PROTECTED]> wrote: Well, here's the deal. I would like to view a stack trace of everything that's being called in my web a

Re: concurrent servers

2006-10-11 Thread Gokul P. Nair
Very cool indeed! A quick 'man 2 bind' yeilded this:EINVAL The  socket  is  already  bound  to  an  address.   This may change in the future: see  linux/unix/sock.c for details.I'd be curious to find out what nginx does to circumvent this, atleast on linux.- Gokul- Original Message