RE: Apache::Session and Postgres

2003-02-25 Thread Grant McLean
Perrin Harkins wrote: On Mon, 2003-02-24 at 07:09, Grant McLean wrote: I get this error: Can't locate object method get_lock_manager via package Apache::Session::Postgres And indeed, that method does not seem to be defined in any of the modules which Apache::Session::Postgres

Apache::Session and Postgres

2003-02-24 Thread Grant McLean
I'm trying to use Apache::Session::Postgres and not having much luck. When I try to create a new session like this: use Apache::Session::Postgres; tie %sess, 'Apache::Session::Postgres', undef, { Handle = $self-dbh, Commit = 1 }; I get this error: Can't locate object method

Redirects: relative vs absolute

2003-02-24 Thread Grant McLean
I've seen a number of code examples for redirects which output a root-relative URI in the Location header. Eg: Location: /images/item1.gif Although browsers seem to accept this and do 'the right thing', the HTTP RFC seems to be pretty clear that the Location header must be an absolute URI.

RE: Redirects: relative vs absolute

2003-02-24 Thread Grant McLean
Geoffrey Young wrote: Grant McLean wrote: Is there an easy way to get the absolute URI of the current request to use with Apache::URI-parse to translate a relative URI to absolute? to generate a URI that points to the same server as the current request it's best to use Apache::URI

RE: Perl Cookbook modperl chapter

2002-12-11 Thread Grant McLean
Nathan Torkington wrote: Current recipe list: [gnat:~] grep head1 Ora/pcb2/ch21.pod =head1 Introduction =head1 Authenticating in mod_perl =head1 Setting Cookies in mod_perl =head1 Accessing Cookie Values from mod_perl =head1 Redirecting the Browser from mod_perl =head1

RE: segmentation fault using a startup file

2002-11-27 Thread Grant McLean
Jan Theofel wrote: Am Mon, 2002-11-25 um 17.46 schrieb Jan Theofel: (Re)starting apache results in the following segmentation fault: The problem with this segmentation fault is XML::Simple which I use togeather with mod_perl. This seems to be a knowen problem but without a known

RE: Accessing configuration information

2002-11-21 Thread Grant McLean
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Hi All I know I can use $r-dir_config() to access parameter values set in the config file with PerlSetVar, but is it possible to access the value of generic Apache configuration directives? This is described in the [EagleBook] (worth

Accessing configuration information

2002-11-20 Thread Grant McLean
the same information more than once. Regards Grant === Grant McLeanBearingPoint Inc - formerly The Web Limited +64 4 495 9026 Level 6, 20 Customhouse Quay, Box 1195 [EMAIL PROTECTED]Wellington, New