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
_
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
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
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
--- 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
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
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
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
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:
&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
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
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
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
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
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
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
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:
>
> $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
__
Yahoo! for Good
Donate to the Hurricane Katrina relief effort.
http://store.yahoo.com/redcross-donate3/
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
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
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
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
23 matches
Mail list logo