RE: where to find info on the Apache request object

2000-05-01 Thread Geoffrey Young
> -Original Message- > From: Sam Carleton [mailto:[EMAIL PROTECTED]] > Sent: Sunday, April 30, 2000 2:08 PM > To: mod_perl > Subject: Re: where to find info on the Apache request object > > > Jeff Beard wrote: > > > > Or read chapter 9 in the Eagle book. > > > > --Jeff > > > > At 10

PerlAddVar ?

2000-05-01 Thread Matt Sergeant
It would be nice, in my opinion, to have some way of doing: PerlAddVar Fred "Value 1" PerlAddVar Fred "Value 2" And then in your script: my @values = $r->dir_config('Fred'); which gets ("Value 1","Value 2") in @values. Any thoughts on this? (I'm not set on the name PerlAddVar, if that's anyon

Re: PerlAddVar ?

2000-05-01 Thread Stas Bekman
> It would be nice, in my opinion, to have some way of doing: > > PerlAddVar Fred "Value 1" > PerlAddVar Fred "Value 2" > > And then in your script: > > my @values = $r->dir_config('Fred'); > > which gets ("Value 1","Value 2") in @values. > > Any thoughts on this? (I'm not set on the name Per

Re: PerlAddVar ?

2000-05-01 Thread Matt Sergeant
On Mon, 1 May 2000, Stas Bekman wrote: > > It would be nice, in my opinion, to have some way of doing: > > > > PerlAddVar Fred "Value 1" > > PerlAddVar Fred "Value 2" > > > > And then in your script: > > > > my @values = $r->dir_config('Fred'); > > > > which gets ("Value 1","Value 2") in @val

Re: PerlAddVar ?

2000-05-01 Thread Richard Dice
> > It would be nice, in my opinion, to have some way of doing: > > > > PerlAddVar Fred "Value 1" > > PerlAddVar Fred "Value 2" > > > > And then in your script: > > > > my @values = $r->dir_config('Fred'); > > > > which gets ("Value 1","Value 2") in @values. > > > > Any thoughts on this? (I'm not

Re: PerlAddVar ?

2000-05-01 Thread Stas Bekman
> > > It would be nice, in my opinion, to have some way of doing: > > > > > > PerlAddVar Fred "Value 1" > > > PerlAddVar Fred "Value 2" > > > > > > And then in your script: > > > > > > my @values = $r->dir_config('Fred'); > > > > > > which gets ("Value 1","Value 2") in @values. > > > > > > Any th

Re: PerlAddVar ?

2000-05-01 Thread Richard Dice
> blocks get evaluated in the Apache::ReadConfig namespace, which > knows nothing about it's placed in. What you can do is to set > FQDN variables from within section: Right... I didn't actually expect the block suggestion to be something that would work. I didn't know whether it would or no

Re: PerlAddVar ?

2000-05-01 Thread Matt Sergeant
On Mon, 1 May 2000, Stas Bekman wrote: > > Would it not be possible / preferable to handle this kind of thing from > > within blocks? (localized to , etc. blocks, > > even) At least, something along these lines would cut down on the amount > > of configuration syntax that would needed to be c

Re: PerlAddVar ?

2000-05-01 Thread Matt Sergeant
On Mon, 1 May 2000, Richard Dice wrote: > > blocks get evaluated in the Apache::ReadConfig namespace, which > > knows nothing about it's placed in. What you can do is to set > > FQDN variables from within section: > > Right... I didn't actually expect the block suggestion to be something > t

Strange mod_perl problem

2000-05-01 Thread Hughes, Ralph
I have several CGI scripts that I am in the process of moving to a new server using mod_perl and Apache. The scripts connect to an Oracle database using the Oraperl module wrapper for DBI and DBD::Oracle. Basically the scripts display a simple for for user input, this works fine. When the form is

Strange mod_perl output problem - Followup

2000-05-01 Thread Hughes, Ralph
OK, After further investigation, it seems that Oraperl/DBI/DBD, etc. are not at fault! I'm formatting the data for display using Perl formats and displaying it as pre-formatted output using tags. This works great for CGI, but mod_perl seems to be having trouble with the write() calls to dump th

Re: modproxy:modperl ratios...

2000-05-01 Thread Vivek Khera
> "GS" == Greg Stark <[EMAIL PROTECTED]> writes: GS> 3) mod_proxy is poorly designed and poorly implemented. The main GS>deficiency is that each process is responsible for opening and GS>maintaining its connection to the backend. This defeats GS>keep-alives completely and forces

RE: Strange mod_perl output problem - Followup

2000-05-01 Thread Geoffrey Young
> -Original Message- > From: Hughes, Ralph [mailto:[EMAIL PROTECTED]] > Sent: Monday, May 01, 2000 9:33 AM > To: ModPerl > Subject: Strange mod_perl output problem - Followup > > > OK, > After further investigation, it seems that Oraperl/DBI/DBD, eew... Oraperl is way outdated, and b

Is there are secret way to unsubscribe from this mailing list?

2000-05-01 Thread Lloyd Zusman
Could someone PLEASE remove me from this modperl mailing list? I've been sending email to `[EMAIL PROTECTED]' almost every day for the past week or two, but I still keep receiving email from this list. The mailing list documentation on http://perl.apache.org says to send email to the address abo

Re: Is there are secret way to unsubscribe from this mailing list?

2000-05-01 Thread Stas Bekman
> Could someone PLEASE remove me from this modperl mailing list? > > I've been sending email to `[EMAIL PROTECTED]' almost > every day for the past week or two, but I still keep receiving email > from this list. > > The mailing list documentation on http://perl.apache.org says to send > email to

Re: Is there are secret way to unsubscribe from this mailing list?

2000-05-01 Thread Frank D. Cringle
Lloyd Zusman <[EMAIL PROTECTED]> writes: > I've been sending email to `[EMAIL PROTECTED]' almost > every day for the past week or two, but I still keep receiving email > from this list. The list is run using ezmlm. Sending mail to modperl-unsubscribe is just the first step in the process. You s

Re: Is there are secret way to unsubscribe from this mailing list?

2000-05-01 Thread Lloyd Zusman
[EMAIL PROTECTED] (Frank D. Cringle) writes: > Lloyd Zusman <[EMAIL PROTECTED]> writes: > > I've been sending email to `[EMAIL PROTECTED]' almost > > every day for the past week or two, but I still keep receiving email > > from this list. > > The list is run using ezmlm. Sending mail to modperl

Re: Is there are secret way to unsubscribe from this mailing list?

2000-05-01 Thread Nick Tonkin
On 1 May 2000, Lloyd Zusman wrote: > [EMAIL PROTECTED] (Frank D. Cringle) writes: > > > Lloyd Zusman <[EMAIL PROTECTED]> writes: > > > I've been sending email to `[EMAIL PROTECTED]' almost > > > every day for the past week or two, but I still keep receiving email > > > from this list. > > > > T

Apache::Registry and clearing package name space

2000-05-01 Thread Richard Chen
Hello, I am having a problem clearing variables and aliases in a temporary package name space. The source of the problem is in making legend cgi scripts work under Apache::Registry. But the problem can be isolated and shown by the following demo program: $ cat foo.cgi #!/usr/bin/perl -w u

Re: Strange mod_perl output problem - Followup

2000-05-01 Thread Stas Bekman
On Mon, 1 May 2000, Hughes, Ralph wrote: > OK, > After further investigation, it seems that Oraperl/DBI/DBD, etc. are not at > fault! > I'm formatting the data for display using Perl formats and displaying it as > pre-formatted output using tags. http://perl.apache.org/guide/porting.html#Usin

2 server setup w/mod_proxy with a per-filename filter

2000-05-01 Thread Martin A. Langhoff
hi, I'm trying to implement a one light + one fat apache server setup and I'm stumbling with the lack of an option to proxy-pass based on filename. It seems that mod_proxy is designed to handle complete hostnames and directories, and I'm wanting it to proxy everything that looks ~ \.pl$

Re: 2 server setup w/mod_proxy with a per-filename filter

2000-05-01 Thread Vivek Khera
> "MAL" == Martin A Langhoff <[EMAIL PROTECTED]> writes: MAL> The only workaround I foresee might be using mod_rewrite, but I'd MAL> rather not :), does anyone have a better idea? Or maybe a few examples MAL> of mod_rewrite use that work in this case? Why not? It really is your only opt

Re: Strange mod_perl output problem - Followup

2000-05-01 Thread Matt Sergeant
On Mon, 1 May 2000, Stas Bekman wrote: > On Mon, 1 May 2000, Hughes, Ralph wrote: > > > OK, > > After further investigation, it seems that Oraperl/DBI/DBD, etc. are not at > > fault! > > I'm formatting the data for display using Perl formats and displaying it as > > pre-formatted output using t

Re: Is there are secret way to unsubscribe from this mailing list?

2000-05-01 Thread Ask Bjoern Hansen
On 1 May 2000, Lloyd Zusman wrote: [...] > Yep ... I understand all this, and I have sucessfully done it many > times before with other mailing lists to which I've been subscribed. >From the qmail log files I can't see any attempts from you. I only have logs from the last 2-3 days though. > Th

Bitten by -D_FILE_OFFSET_BITS=64

2000-05-01 Thread Ari Jolma
Hello, (This may be a general Perl question but since I have this problem only with mod_perl I'm asking it here.) Perl's (5.6.0) Configure script puts -D_FILE_OFFSET_BITS=64 into Config.pm's variable ccflags in my machine (redhat 6.1 with linux 2.2.12). This causes for some reason mod_perl.c to

Re: 2 server setup w/mod_proxy with a per-filename filter

2000-05-01 Thread Mads Toftum
On Mon, May 01, 2000 at 01:31:26PM -0300, Martin A. Langhoff wrote: > The only workaround I foresee might be using mod_rewrite, but I'd > rather not :), does anyone have a better idea? Or maybe a few examples > of mod_rewrite use that work in this case? mod_rewrite is quite nice for such a se

mod_perl httpd binary suddenly stops working

2000-05-01 Thread James Olsen
Hello, I have a mod_perl/apache binary and configuration file that I've been using successfully since October of last year. Last week I ran out of disk space (and might possibly have had the server flake out over the CPU overheating). Everything appears to be running smoothly now with a large

sticky variables...

2000-05-01 Thread Andrew Dubry
first time post here :) I'm having a problem with some varibles changing mid-way thru the code and then back again. I have a program called 'cr' in the mod_perl directory. It's not a module, it's just a straight cgi script. It uses strict. Here's a samepl of the code: my ($cookie_ref,$sid,$c

RE: sticky variables...

2000-05-01 Thread Geoffrey Young
see http://perl.apache.org/guide/porting.html#Exposing_Apache_Registry_secret and http://perl.apache.org/guide/porting.html#Sometimes_it_Works_Sometimes_it HTH --Geoff > -Original Message- > From: Andrew Dubry [mailto:[EMAIL PROTECTED]] > Sent: Monday, May 01, 2000 2:35 PM > To: [

Re: sticky variables...

2000-05-01 Thread Ken Y. Clark
On Mon, 1 May 2000, Andrew Dubry wrote: > first time post here :) > > I'm having a problem with some varibles changing mid-way thru the code and > then back again. I have a program called 'cr' in the mod_perl directory. > It's not a module, it's just a straight cgi script. It uses strict. He

environment

2000-05-01 Thread Thomas Glass
Hi everyone,I'm having a problem and I wonder if you guys couldhelp me out: I have a script whose behaviour depends on the main path environment variable (and a cookie). The problem is that after a couple of reloads, the environment variables seem to get cached and the result comes out -obviously-

Re: environment

2000-05-01 Thread Ken Y. Clark
On Mon, 1 May 2000, Thomas Glass wrote: > Hi everyone,I'm having a problem and I wonder if you > guys couldhelp me out: > I have a script whose behaviour depends on the main > path environment variable (and a cookie). The problem > is that after a couple of reloads, the environment > variables se

RE: Bitten by -D_FILE_OFFSET_BITS=64

2000-05-01 Thread Paul G. Weiss
-Original Message- From: Ari Jolma [mailto:[EMAIL PROTECTED]] Sent: Monday, May 01, 2000 1:36 PM To: [EMAIL PROTECTED] Subject: Bitten by -D_FILE_OFFSET_BITS=64 Hello, (This may be a general Perl question but since I have this problem only with mod_perl I'm asking it here.) Perl's (5.

pod and EmbPerl

2000-05-01 Thread Ed Park
Does anyone know whether it is possible to pod-ify an EmbPerl document? When embedding pod directives in my EmbPerl pages and then running pod2html on them, the pod2html interpreter returns a blank page. thanks, Ed

RE: $r->get_handlers bug/oversight?

2000-05-01 Thread Geoffrey Young
hi again... I'm having lots of problems with the get_handlers method... the following is reproducible for me under 1.22, 1.23 and the latest cvs using 1.3.12... --- #!/usr/bin/perl my $r = shift; my $list; my @array = qw('test' 'array'); $r->pnotes(TEST => \@array); $r->push

RE: Bitten by -D_FILE_OFFSET_BITS=64

2000-05-01 Thread Paul G. Weiss
Sorry about the previous blank reply. This has been fixed in a post 1.23 patch. Change the line $PERL_EXTRA_CFLAGS = ""; to $PERL_EXTRA_CFLAGS = $] >= 5.006 ? $Config{ccflags} : ""; and try again. -P -Original Message- From: Ari Jolma [mailto:[EMAIL PROTECTED]] Sent: Monday, May 0

Re: 2 server setup w/mod_proxy with a per-filename filter

2000-05-01 Thread morpheus
On Mon, 1 May 2000, Martin A. Langhoff wrote: > hi, > > I'm trying to implement a one light + one fat apache server setup > and I'm stumbling with the lack of an option to proxy-pass based on > filename. It seems that mod_proxy is designed to handle complete > hostnames and directories, an

my .htacces doesn't work

2000-05-01 Thread Javier Medina Bautista
Hi fellows. When i'm turning on a mod_perl based aapche server my .htaccess directories doesn't work anymore. Already revised the httpsd.conf file and I guess the directives are well for more information these are the lines of my configuration file : # for the document root directory O

Cookies and redirection

2000-05-01 Thread Bill Desjardins
Hi all, I checked the archives and the guide to no avail, so here goes. I am having trouble setting a cookie in the header and then doing a redirect. The cookies are working fine every where, but if I add a cookie to $r->headers_out->add(), set a location via $r->headers_out(Location => 'newrui')

Re: 2 server setup w/mod_proxy with a per-filename filter

2000-05-01 Thread Matt Carothers
On Mon, 1 May 2000, Martin A. Langhoff wrote: > hi, > > I'm trying to implement a one light + one fat apache server setup > and I'm .. > wanting it to proxy everything that looks ~ \.pl$ See [EMAIL PROTECTED]">http://forum.swarthmore.edu/epigone/modperl/mimzhingleh/[EMAIL PROTECTED] for