Apache::Util routines

2000-11-07 Thread Edwin Pratomo
Guys, mod_perl 1.24: perl -M'Apache::Util qw(:all)' -e '$a = parsedate("")' Undefined subroutine &Apache::Util::parsedate called at -e line 1. Looks like I've been missing something? Rgds, Edwin.

[Apache::ASP] vim Syntax-File

2000-11-07 Thread Brad Dick
Has anyone ever come across or created a vim syntax-file for Apache::ASP? I'm fairly sure there would have to be one or two out there... Brad --- B Eng Soft Eng Griffith University, Nathan QLD, Australia

Re: dynamic vs. mostly static data

2000-11-07 Thread Perrin Harkins
On Wed, 8 Nov 2000, Marinos J. Yannikos wrote: > > Only if you don't already have a proxy front-end. Most large sites will > > need one anyway. > > After playing around for a while with mod_proxy on a second server, I'm not > so convinced; we have been doing quite well without such a setup for

Problem reading from STDIN

2000-11-07 Thread Pramod Sokke
Hi all,   We've moved all our old perl cgi scripts to run under mod_perl(PerlRun) now. There's a peculiar problem I'm seeing with POST requests. Basically, I'm not able to read anything from stdin at all. For eg, if I just have a form that takes some data, that data is just not available at

running an expect script under mod_perl

2000-11-07 Thread Wim Kerkhoff
Hi Everyone, I've been bashing my head over this problems for the last couple of days, so I thought I'd post and see if anybody has experienced something similiar, and what they've done to solve it. Basically, I have an Apache::Registry script that creates an expect script, then executes it and

Re: problem installing multiple versions of modperl

2000-11-07 Thread Richard Chen
On Wed, Nov 08, 2000 at 01:58:41AM +, G.W. Haywood wrote: > Hi there, > > On Tue, 7 Nov 2000, Richard Chen wrote: > > > when I do 'make install', make detects that I already have an older > > version of modperl and tried to rm them: > > Don't use it then! Install the files where you want t

Re: problem installing multiple versions of modperl

2000-11-07 Thread G.W. Haywood
Hi there, On Tue, 7 Nov 2000, Richard Chen wrote: > when I do 'make install', make detects that I already have an older > version of modperl and tried to rm them: Don't use it then! Install the files where you want them manually. Make yourself familiar with an ordinary layout before you try to

Re: Memory Usage

2000-11-07 Thread Gunther Birznieks
One potential tip to offer is that if you want to rotate your logs but not do a hard restart on the server, use something else for the log generation. You may want to try out mod_log_spread from the mod_backhand site. If it's not too difficult to setup, then you might be able to use another ser

RE: Apache 1.3.14 and Apache::RegistryLoader

2000-11-07 Thread G.W. Haywood
Hi Paul, On Tue, 7 Nov 2000, Paul G. Weiss wrote: > I thought I'd let the list know that I resolved the problem, even > though the lack of response leads me to believe that it is a problem > that only I am experiencing. > It turns out that the installation of Solaris that I was on lacked > the

Clarification of PERL_STASH_POST_DATA

2000-11-07 Thread Paul J. Lucas
OK, so the documentation for PERL_STASH_POST_DATA reads: There is an experimental option for Makefile.PL called PERL_STASH_POST_DATA. If you turn it on, you can get at it again with $r->subprocess_env("POST_DATA"). This is no

Re: dynamic vs. mostly static data

2000-11-07 Thread Marinos J. Yannikos
> Only if you don't already have a proxy front-end. Most large sites will > need one anyway. After playing around for a while with mod_proxy on a second server, I'm not so convinced; we have been doing quite well without such a setup for some time now, despite up to 70-80 httpd processes (with m

RE: Memory Usage

2000-11-07 Thread Christian Gilmore
Find attached the rotatelogs.pl script. My experience is that killing off children after so much usage is a GoodThing (tm). So long as the parent remains at a stable size, things should go ok. Regards, Christian > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]O

Re: Apache::ASP/Solaris 2.7 - session locking issues

2000-11-07 Thread Joshua Chamas
Daniel Little wrote: > > Has anyone had any problems with failure to write locks on Apache:ASP > under Solaris or any other platform? Getting quite a number of the > following in the log files... > > [Tue Nov 7 10:23:11 2000] [error] [asp] [6708] [error] can't write > lock /usr/apache/asp.globa

Re: Retrieve OID from newly added record

2000-11-07 Thread Tim Tompkins
According to the DBD::Pg docs, $sth->pg_oid_status Returns the OID of the last INSERT command. See: http://theoryx5.uwinnipeg.ca/CPAN/data/DBD-Pg/dbd-pg.html Thanks, Tim Tompkins -- Programmer / Staff Engineer http://www.arttoday.com/

Apache::AutoIndex author

2000-11-07 Thread George Sanderson
I want to enhance Apache::AutoIndex. I have tried to contact Philippe M. Chiasson, but have not had any success. Can someone please tell me how to contact Philippe or whom ever is maintaining the module. Thanks,

Re: Memory Usage

2000-11-07 Thread Douglas Leonard
First off, the complaint about the lack of documentation for DSO being experimental is a bit offbase IMO. It isn't up to the mod_perl group to make sure RedHat includes complete documentation in their build of mod_perl. Also, this issue has been talked about many times on this mailing list. So

Re: Documentation patch for send_http_header()

2000-11-07 Thread Ask Bjoern Hansen
On Mon, 6 Nov 2000, Ken Williams wrote: > A patch to Apache.pm docs, to match what is actually going on already: committed. thanks. :) -- ask bjoern hansen -

digest authentication

2000-11-07 Thread rendhalver
hi guys this is probaly OT but does anyone know which browsers support digest auth ?? im just have written a mod_perl authentication module and was intending to convert it to use digest auth if anyone could point me at a url that could tell me that would be good thanks in advance ---

still: problem with modperl as module

2000-11-07 Thread Ulrich Böck
>> i have the modperl in /root/.cpan/build/mod_perl-1.2.24 > Funny place to put it. that's right :) but i must confess, i didn't find the "right" place yet... i changed that to /tools/CPAN/build/mod_perl-1.2.24 > Is that where you have Apache too? More > commonly things are in /usr/src/ or /

Re: SSL/encryption & mod_perl

2000-11-07 Thread Adi
"B. Burke" wrote: > > I've got a question related to encryption and mod_perl. I'm running > an apache mod_perl server (AIX and Linux platforms) to serve HTML > forms, query backend databases, and print formatted results. I currently > use .htaccess for authentication, although this will probabl

problem installing multiple versions of modperl

2000-11-07 Thread Richard Chen
Hi, I already have an older version of modperl installed in the standard location. I would like to try out the newer version of apache/modperl without disturbing those in production. So I did this: /export/home/chenri/mod_perl-1.24_01$ perl Makefile.PL PREFIX=/export/home/chenri EVERYTH

Re: Memory Usage

2000-11-07 Thread Buddy Lee Haystack
Thanks Christian! Scripts would be nice.;-) I take it you've used DSO much more than I have, so I'm interested in any information in addition to that provided by the kind "G.W. Haywood" to the following: "What concerns me even more is the fact that I have Apache restart child processes after

RE: Memory Usage

2000-11-07 Thread Christian Gilmore
> I'm leaning along the lines of just killing the > process, rotating the logs, and restarting it. It should take > no more than 5 seconds once a week a 4:00am. This is exactly what I do, except I have it scripted. The downside is that your service is unavailable for a few seconds (maybe more dep

RE: Memory Usage

2000-11-07 Thread Christian Gilmore
> I also never build mod_perl as a DSO. For the life of me I can't > understand why so many people do it, and then they act all surprised > when things go wrong. I do it out of a desire to not have multiple builds of apache lying around for the various needs I have of each service I run. For tho

RE: SSL/encryption & mod_perl

2000-11-07 Thread Paul G. Weiss
You can now build mod_ssl and mod_perl together. Instructions are in the guide http://perl.apache.org/guide. You have to build openssl first. OpenSSL: http://www.openssl.org mod_ssl: http://www.modssl.org I do this now on Solaris (all with DSO's) -Paul > -Original Message- > From: B.

conflicts between mod_perl and php4

2000-11-07 Thread Andreas Gietl
Hi, i also posted this on the mysql-list and on the phpdb-list! i've got the following configuration: apache_1.3.12 with php and mod_perl statically linked. Php has compiled-in mysql-support and mod_perl of course uses DBI. When i use a mod_perl-script that uses the DBI-Interface i get a segfau

Retrieve OID from newly added record

2000-11-07 Thread cbell
Hello everyone, does anyone know how to retrieve the Object Identifier (OID) from a record that was just inserted into a postgres database from within modperl? These are the commands I'm using to insert the record: $sth = $dbh->prepare("Insert into inventory Values ($id)"); $rc = $sth->execute;

Re: Apache::ASP/Solaris 2.7 - session locking issues

2000-11-07 Thread G.W. Haywood
Hi Daniel, On Tue, 7 Nov 2000, Daniel Little wrote: > we're on a Sparc - I presume yours is Intel? Yes. Er, well, AMD K6-2/450 in that case. > All I can say is 'use strict;' Like it says in the Guide :) > Anyway, thanks for the response. I think we're going to have to > build a load test pl

Re: Connection Pooling / TP Monitor

2000-11-07 Thread Jochen Wiedmann
What I really dislike on this discussion is, that it mixes two topics that are, IMO, really different: - Using a pool of database connections from an application, typically a threaded application. - Accessing a database connection which really lives on another machine via some sort o

Retrieve OID from newly added record

2000-11-07 Thread cbell
Hello everyone, does anyone know how to retrieve the Object Identifier (OID) from a record that was just inserted into a postgres database from within perl? These are the commands I'm using to insert the record: $sth = $dbh->prepare("Insert into inventory Values ($id)"); $rc = $sth->execute; $r

RE: Apache 1.3.14 and Apache::RegistryLoader

2000-11-07 Thread Paul G. Weiss
I thought I'd let the list know that I resolved the problem, even though the lack of response leads me to believe that it is a problem that only I am experiencing. It turns out that the installation of Solaris that I was on lacked the patch 106950-13, which among other things addressed problems

Re: Apache::ASP/Solaris 2.7 - session locking issues

2000-11-07 Thread Daniel Little
From: "G.W. Haywood" <[EMAIL PROTECTED]> > On Tue, 7 Nov 2000, Daniel Little wrote: > > > Has anyone had any problems with failure to write locks on > Apache:ASP > > under Solaris or any other platform? > > I just grepped one of my logfiles (a small one, about 70 megabytes:) > and there was n

Re: Apache::Registry() and strict

2000-11-07 Thread Paul DuBois
At 10:25 AM +0100 11/7/00, [EMAIL PROTECTED] wrote: >On Tue, 7 Nov 2000, Ron Rademaker wrote: > >Hi, > >> You would think so, however every doc I read (including the one you >> pointed out to me) told me that perl gives me a warning: >> >> Variable $foo will not stay shared at >> >> I do

Re: Memory Usage

2000-11-07 Thread Ričardas Čepas
On Tue Nov 7 11:57:44 2000 -0500 Buddy Lee Haystack wrote: > > I can always rotate my logs manually, or use the Apache rotatelogs program that >Ri?ardas ?epas recommended, although if the "rotatelogs" program restarts the server >I'll be back to square one - the program's man page just states

RE: modperl workaround for bug in netscape-4.7x with Expires: hea ders?

2000-11-07 Thread G.W. Haywood
Hi all, On Tue, 7 Nov 2000, Geoffrey Young wrote: > you may also want to search the archives concerning NS and MSIE caching Browsers drive me nuts. I've seen this work well for Apache::ASP. $Response->{Expires} = -86400 * 100; 73, Ged.

RE: Problem: Number after header

2000-11-07 Thread Rob Bloodgood
You are not setting your Content-Type correctly. The response contains: Content-Type: text/plain This needs to be Content-Type: text/html to be rendered as HTML. -Original Message- From: Guido Moonen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 07, 2000 3:06 AM To: Modperl; Mason

Re: dynamic vs. mostly static data

2000-11-07 Thread Perrin Harkins
On Tue, 7 Nov 2000, Marinos J. Yannikos wrote: > > If you have a caching proxy server running in front of your mod_perl > > server (like mod_proxy or Squid), you can just set Expires headers in your > > pages and this will be handled for you by the proxy. > > True, both methods have advantages a

SSL/encryption & mod_perl

2000-11-07 Thread B. Burke
I've got a question related to encryption and mod_perl. I'm running an apache mod_perl server (AIX and Linux platforms) to serve HTML forms, query backend databases, and print formatted results. I currently use .htaccess for authentication, although this will probably change. My problem is that

RE: database access

2000-11-07 Thread Jason Liu
Thank you for the help everyone. Jason

Re: Memory Usage

2000-11-07 Thread Jens-Uwe Mager
On Tue, Nov 07, 2000 at 12:38:09PM -0500, Buddy Lee Haystack wrote: > I may have missed that, but it dosen't mention the "experimental" > nature of DSO in the "DSO has the following disadvantages:" section of > the documentation located at "http://www.apache.org/docs/dso.html" Wait a sec, not _Ap

Re: Memory Usage

2000-11-07 Thread Buddy Lee Haystack
Thanks! I was under the mistaken impression that I was finally finished with the administration side of things... Oh well... "G.W. Haywood" wrote: > > Hi there, > > On Tue, 7 Nov 2000, Buddy Lee Haystack wrote: > > > The memory consumption increases by about 1 megabyte for each child > > p

Re: Memory Usage

2000-11-07 Thread Buddy Lee Haystack
Thanks, but as a RedHat [or other typical major distribution] user, I would never see the documentation you mentioned below. Since DSO is still experimental, would it not be an absolute necessity to include that information in the location where most users are directed to look for information

Problem: Number after header

2000-11-07 Thread Guido Moonen
> -Original Message- > From: Guido Moonen [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 07, 2000 10:20 AM > To: Mason > Subject: Problem: Number after header > > > Hi All, > > I have a little problem with my Mason site: > > IEplore doesn't have a problem accessing the site, B

Re: dynamic vs. mostly static data

2000-11-07 Thread Marinos J. Yannikos
> If you have a caching proxy server running in front of your mod_perl > server (like mod_proxy or Squid), you can just set Expires headers in your > pages and this will be handled for you by the proxy. True, both methods have advantages and disadvantages. The advantages of using mod_rewrite and

Re: Memory Usage

2000-11-07 Thread G.W. Haywood
Hi again, On Tue, 7 Nov 2000, Buddy Lee Haystack wrote: > I may have missed that, but it dosen't mention the "experimental" > nature of DSO in the "DSO has the following disadvantages:" section > of the documentation located at > "http://www.apache.org/docs/dso.html" Extract from my copy of the

RE: database access

2000-11-07 Thread Nigel Hamilton
HI Jason, Have a look at the source of Apache::DBI. An important part of the module is a ping method that ensures the connection handle (e.g., $dbh) doesn't go stale. You can write your own ping method by doing something like:

RE: modperl workaround for bug in netscape-4.7x with Expires: headers?

2000-11-07 Thread Geoffrey Young
> -Original Message- > From: Louis-David Mitterrand [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 07, 2000 11:09 AM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: modperl workaround for bug in netscape-4.7x with Expires: > headers? > > > Hello, > > When sending a POST re

Re: Apache::ASP/Solaris 2.7 - session locking issues

2000-11-07 Thread G.W. Haywood
Hi there, On Tue, 7 Nov 2000, Daniel Little wrote: > Has anyone had any problems with failure to write locks on Apache:ASP > under Solaris or any other platform? I just grepped one of my logfiles (a small one, about 70 megabytes:) and there was no occurrence of this message. Linux 2.2.16, Per

Re: Memory Usage

2000-11-07 Thread Buddy Lee Haystack
I may have missed that, but it dosen't mention the "experimental" nature of DSO in the "DSO has the following disadvantages:" section of the documentation located at "http://www.apache.org/docs/dso.html" "G.W. Haywood" wrote: > > Hi again, > > On Tue, 7 Nov 2000, Buddy Lee Haystack wrote: > >

Re: Memory Usage

2000-11-07 Thread G.W. Haywood
Hi there, On Tue, 7 Nov 2000, Buddy Lee Haystack wrote: > The memory consumption increases by about 1 megabyte for each child > process every time I issued the USR1 signal. Ugh. > I can always rotate my logs manually, I'm leaning along the lines of > just killing the process, rotating the log

Re: Memory Usage

2000-11-07 Thread G.W. Haywood
Hi again, On Tue, 7 Nov 2000, Buddy Lee Haystack wrote: > Maybe someone should include this information in the Apache > documentation covering the DSO issues. It would be very helpful to > people starting out, such as myself. It *does* say in the docs that DSO is experimental. 73, Ged.

Re: Memory Usage

2000-11-07 Thread Buddy Lee Haystack
Yes, I also believe that this is probably the cause of many "memory leak" issues people experience with mod_perl using DSO. Had I known of this issue, I would have budgeted the time to role my own version. I will do so as time permits, but not for a while. Maybe someone should include this inf

Re: Memory Usage

2000-11-07 Thread Buddy Lee Haystack
> What happens if you then do a graceful restart? The memory consumption increases by about 1 megabyte for each child process every time I issued the USR1 signal. Which is kind of what I expected given Jens-Uwe Mager's explanation of DSO's failings with mod_perl. I can always rotate my logs ma

Apache::ASP/Solaris 2.7 - session locking issues

2000-11-07 Thread Daniel Little
Has anyone had any problems with failure to write locks on Apache:ASP under Solaris or any other platform? Getting quite a number of the following in the log files... [Tue Nov 7 10:23:11 2000] [error] [asp] [6708] [error] can't write lock /usr/apache/asp.global/.state/57/57d8991eb40ed4d6e8863

RE: database access

2000-11-07 Thread Jason Liu
Is Apache::DBI absolutely necessary if you want to establish persistent database connection per child? Thanks, Jason > -Original Message- > From: David Hodgkinson [mailto:[EMAIL PROTECTED]] > Sent: Monday, November 06, 2000 5:10 AM > To: Jason Liu > Cc: [EMAIL PROTECTED] > Subject: Re

Re: Memory Usage

2000-11-07 Thread Jens-Uwe Mager
On Tue, Nov 07, 2000 at 03:59:34PM +, G.W. Haywood wrote: > I also never build mod_perl as a DSO. For the life of me I can't > understand why so many people do it, and then they act all surprised > when things go wrong. It is a matter of flexibility, especially if you are a distribution ven

Re: Installing Mod_perl

2000-11-07 Thread G.W. Haywood
Hi there, On Tue, 7 Nov 2000, Marco Marchi wrote: > Hi, > >I have compiled mod_perl version 1.24 with apache version > >1.3.9; The compilation completes without errors, but whenever I run the > >new httpd daemon, I get the following error message: > > > >Syntax error on line 207 of /usr/local/ap

[repost]garbled redirects

2000-11-07 Thread Paul
Hi all. A while back I posted a similar problem. My error logs have frequent entries showing erroneous redirect strings, like this: [Tue Nov 7 08:57:45 2000] [error] [client 90.14.50.41] Invalid error redirection directive: üØ@ Sometimes *most* of the redirect is fine; I found one where nothi

modperl workaround for bug in netscape-4.7x with Expires: headers?

2000-11-07 Thread Louis-David Mitterrand
Hello, When sending a POST request netscape-4.7 still caches the page and doesn't return the updated page with the POST results. In which mod_perl *handler would it be more appropriate to insert code to the effect that: if ($r->uri =~ /login/) { $r->no_cache(1) } This is to override th

Installing Mod_perl

2000-11-07 Thread Marco Marchi
Hi, >I have compiled mod_perl version 1.24 with apache version >1.3.9; The compilation completes without errors, but whenever I run the >new httpd daemon, I get the following error message: > >Syntax error on line 207 of /usr/local/apache/conf/httpd.conf: >Invalid command 'LoadModule', perhaps mis

Re: Memory Usage

2000-11-07 Thread G.W. Haywood
Hi there, On Tue, 7 Nov 2000, Buddy Lee Haystack wrote: > > What happens if you then do a graceful restart? > > The logrotate scripts use HUP to restart the server. I don't think > the USR1 would be appropriate for log rotation - according to the > Apache documentation... Yeah, I read that. I

Re: Memory Usage

2000-11-07 Thread Ričardas Čepas
On Tue Nov 7 09:37:02 2000 -0500 Buddy Lee Haystack wrote: > Thank you very much! Now I know why most of the people on this list don't use DSO. > > Is there any other work around for this situation other than rotating my logs less >frequently? Maybe a different method of rotating my logs like

RE: FW: Problem: Number after header

2000-11-07 Thread Guido Moonen
Hi, Sorry but i cannot find the e-mail you are describing, could you please point to me wich e-mail you referring to? Greetings, Guido Moonen > -Original Message- > From: G.W. Haywood [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 07, 2000 1:04 PM > To: Guido Moonen > Cc:

Re: Memory Usage

2000-11-07 Thread Buddy Lee Haystack
Thank you very much! Now I know why most of the people on this list don't use DSO. Is there any other work around for this situation other than rotating my logs less frequently? Maybe a different method of rotating my logs like using the TERM signal instead of the HUP signal? Thanks! Jens-U

Re: Memory Usage

2000-11-07 Thread Buddy Lee Haystack
"G.W. Haywood" wrote: > > Hi there, > > On Mon, 6 Nov 2000, Buddy Lee Haystack wrote: > > > The morning after "logrotate" runs on my system, the memory usage > > increases by about 30 megabytes, and continues to do so after each > > weekly run of the "logrotate" utility. > > What happens if yo

Re: Memory Usage

2000-11-07 Thread Jens-Uwe Mager
On Mon, Nov 06, 2000 at 05:49:05PM -0500, Buddy Lee Haystack wrote: > I'm using > > RedHat Linux v6.1 on an Intel PII SMP box > Apache v1.3.14 > mod_perl v 1.23 > Apache::DBI 0.87 > DBI v1.13 > DBD Pg v0.93 > PostgreSQL v6.5.3 > > The morning after "logrotate" runs on my system, the memory usage

RE: Apache::Registry() and strict

2000-11-07 Thread Ron Rademaker
Okay, thanks (everyone). On Tue, 7 Nov 2000, Geoffrey Young wrote: > > from the camel book: "Use of defined on aggregates (hashes and arrays) is > deprecated." > > so, change > > if (!defined @fields) > > to > > unless (@fields) > > and not only be idiomatic, but exhibit the behavior you w

RE: Apache::Registry() and strict

2000-11-07 Thread Geoffrey Young
from the camel book: "Use of defined on aggregates (hashes and arrays) is deprecated." so, change if (!defined @fields) to unless (@fields) and not only be idiomatic, but exhibit the behavior you want :) but seriously, it's a perl thing, not a mod_perl thing: #!/usr/bin/perl sub test { m

Re: Apache::Registry() and strict

2000-11-07 Thread lporcano
> I'm not quite looking for a workaround, I already got one, I'd like to > know why it's going wrong. >From the perlfunc page: defined - Returns a Boolean value telling whether EXPR has a value other than the undefined value undef. [...] On the other hand, use of defined() upon aggregates (ha

Re: Apache::Registry() and strict

2000-11-07 Thread Ron Rademaker
I'm not quite looking for a workaround, I already got one, I'd like to know why it's going wrong. Ron On Sun, 7 Nov 1999, lporcano wrote: > It looks like you are trying to determine if an array is empty, in that case > replace > if (!defined(@fields)) > with > if (!scalar(@fields)). > > -

Re: Apache::Registry() and strict

2000-11-07 Thread lporcano
It looks like you are trying to determine if an array is empty, in that case replace if (!defined(@fields)) with if (!scalar(@fields)). - Original Message - From: Ron Rademaker <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, November 07, 2000 5:26 AM Sub

Re: how do I really proof, that my script is running under apaches mod_perl?

2000-11-07 Thread Pierre-Yves BONNETAIN
Hello Alexander, > maybe this one is a rookie-question ;) Only unsaid questions are rookie-ones :-) Is your script doing some system() or `command` ? If so, this will explain the fork/exec-ing you see. Beware, some modules do make calls to system() or `command`, so check your modul

Re: FW: Problem: Number after header

2000-11-07 Thread G.W. Haywood
Hi there, On Tue, 7 Nov 2000, Guido Moonen wrote: > > I found that the problem is that Mason sends a Number of some > > sort at from of the html (after the response header) but i cannot > > find where the number gets printed to the output stream. Something very similar was mentioned on the Li

Re: input from external process

2000-11-07 Thread barries
Have you found a workable approach yet? Just curious :-). - Barrie

FW: Problem: Number after header

2000-11-07 Thread Guido Moonen
Sorry if you receive this message twice!!! > -Original Message- > From: Guido Moonen [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 07, 2000 10:20 AM > To: Mason > Subject: Problem: Number after header > > > Hi All, > > I have a little problem with my Mason site: > > IEplore do

Re: Apache::Registry() and strict

2000-11-07 Thread Ron Rademaker
Okay, here's the part where it's going wrong: my @fields; # The variable that's causing the trouble, should be undefined after this declaration my $printedfields = 0; foreach my $hash_ref (@$data_ref) { if (!defined(@fields)) # Passes the second time the child gets a

Re: Apache::Registry() and strict

2000-11-07 Thread Simon_Wilcox
Then it is definitely variable persistence ! If you really can't track down the bug, you might try posting your code to the list. Perhaps someone will spot something you've missed ? Simon. From Ron Rademaker <[EMAIL PROTECTED]> Date 7

Re: Apache::Registry() and strict

2000-11-07 Thread Ron Rademaker
I just read that part of the guide, for the third time today, but still I didn't see anything that could help, I don't get any warnings and I'm not using globals. The problem does occur when trying to use a child more then once. So when I tried running with httpd -X I got the wrong output the seco

Re: Chaining Perl and C handlers

2000-11-07 Thread G.W. Haywood
Hi there, On Mon, 6 Nov 2000, Andrew Chen wrote: > According to my trusty Eagle book, I can chain Perl handlers (by using > $r->pushhandlers(), but can I chain a C handler after a Perl handler?? Not until Apache 2.0, Eagle Book p175, "Chaining Content Handlers". A C handler either handles the

Re: Apache::Registry() and strict

2000-11-07 Thread G.W. Haywood
Hi there, On Tue, 7 Nov 2000, Ron Rademaker wrote: > Just tried, it didn't give me any useful information,... Try 'httpd -X'. 73, Ged.

Re: Apache::Registry() and strict

2000-11-07 Thread Simon_Wilcox
Are you running with httpd -X ? What you describe sounds like it "stops working" when it hits a child for the second time. As advised, all this is described in the guide. You might want to start here: http://perl.apache.org/guide/porting.html#Exposing_Apache_Registry_se

Re: Apache::Registry() and strict

2000-11-07 Thread Ron Rademaker
Just tried, it didn't give me any useful information, I always got any other warning without PerlWarn on, so I don't think it made any difference. Anyway, even with PerlWarn on, the error.log still shows exactly the same output, everything goes well for a while, but then suddenly my defined($foo)

Re: Apache::Registry() and strict

2000-11-07 Thread remco
On Tue, 7 Nov 2000, Ron Rademaker wrote: Hi, > You would think so, however every doc I read (including the one you > pointed out to me) told me that perl gives me a warning: > > Variable $foo will not stay shared at > > I do use -w so I should get that warning, but I don't. The variable s

Re: Apache::Registry() and strict

2000-11-07 Thread Ron Rademaker
You would think so, however every doc I read (including the one you pointed out to me) told me that perl gives me a warning: Variable $foo will not stay shared at I do use -w so I should get that warning, but I don't. The variable stays defined, but it doesn't have the value of the old vari

Re: Apache::Registry() and strict

2000-11-07 Thread ed phillips
Ron, This is a greivous FAQ. Please read the guide at http://perl.apache.org/guide You'll find much more than this question answered. Ed Ron Rademaker wrote: > Hello, > > I'm just starting with mod_perl and I'm using Apache::Registry(). The > second line after #!/usr/bin/perl -w is use str