Re: Problems with custom config directives in user written modules

2000-02-01 Thread Dave Hayes
Eric Cholet <[EMAIL PROTECTED]> writes: >> >> require Apache::TestDirective; >> delete $INC{'Apache/TestDirective.pm'}; >> >> #PerlModule Apache::TestDirective > Why are you using 'require', and not the PerlModule line you commented > out? It appeared to work. =) In searching the mail archives

RE: Problems with custom config directives in user written modules

2000-02-01 Thread Eric Cholet
> I cannot seem to get custom configuration directives to work in > apache (1.3.11) modperl (1.21). I would presume the examples in the > book do not work either. I found someone having similar problems > in the list archives, to which Doug provided a workaround which also > does not work. > > A

Ahhh! Too many Cookie modules ...

2000-01-31 Thread Bruce W. Hoylman
There are three CPAN modules that seem to want to compete for my Cookie module attention: Apache-Cookie-0.1: installs: site_perl/5.005/Apache/Cookie.pm site_perl/5.005/CGI/Cookie.pm unlinks: perl5/5.00503/CGI/Cookie.pm

Re: Problems with custom config directives in user written modules

2000-01-31 Thread Dave Hayes
Following up to myself I am. Firstly, that was Directive3 (not Directive4). Directive3 returns OK. $ bin/apachectl configtest works just fine, no problems. $ bin/apachectl start is where it fails to find the command, looks like in some related child process. It seems to be that the comm

Problems with custom config directives in user written modules

2000-01-30 Thread Dave Hayes
ix=/usr/local/www" \ "--enable-module=most" \ "--enable-shared=max" \ "--activate-module=src/modules/extra/mod_macro.c" \ "--activate-module=src/modules/perl/libperl.a" \ $ bin/httpd -V Server version: Apache/1.3.11 (Unix) Server built

Re: Perl modules in apache configuration

2000-01-26 Thread Doug MacEachern
t; not enough for me), but the result is weird. > > The most weird thing is that Perl sections randomly doesn't execute! I > have no experience (yet) with Perl configuration modules, so I don't > understand where to start tracking. > > mod_perl devel

Re: Can't find modules with mod_perl install

2000-01-18 Thread Doug MacEachern
On Mon, 17 Jan 2000, gnielson wrote: > I am trying to figure out why I can not start up httpd now that I have > compiled Apache 1.3.6 Unix with mod_perl 1.21 with perl 5.004_01 > under Redhat Linux 5.0, and can not run my startup script, even though I have > added directories to my path in my st

Re: Perl modules in apache configuration

2000-01-18 Thread Doug MacEachern
On Sun, 9 Jan 2000 [EMAIL PROTECTED] wrote: > > "Eric" == Eric writes: > > Eric> On Sun, Jan 09, 2000 at 08:47:04PM +0300, [EMAIL PROTECTED] wrote: > >> I'm trying to configure httpd.conf using Perl sections (mod_macro is > >> not enough for me), but the result is weird. > > Eric> Do you

Can't find modules with mod_perl install

2000-01-17 Thread gnielson
cal/apache, I get numerous errors, even though I am pretty sure that with my additions to @INC I have the correct paths of all the modules listed. Any help much appreciated. Output from running httpd below: [root@localhost bin]# ./httpd -d /usr/local/apache [Mon Jan 17 21:38:33 2000] [error] [Mon J

Re: Perl modules in apache configuration

2000-01-09 Thread tarkhil
e_ they are used. # Please read the file README.DSO in the Apache 1.3 distribution for more # details about the DSO mechanism and run `httpd -l' for the list of already # built-in (statically linked and thus always available) modules in your httpd # binary. # # Note: The order is which mod

Re: Perl modules in apache configuration

2000-01-09 Thread Eric
cute! I > have no experience (yet) with Perl configuration modules, so I don't > understand where to start tracking. > > mod_perl developers' guide didn't help, as perldoc mod_perl :-( Do you have a specific example of your config, and what doesn't work, that you coul

Perl modules in apache configuration

2000-01-09 Thread tarkhil
Hello! I'm trying to configure httpd.conf using Perl sections (mod_macro is not enough for me), but the result is weird. The most weird thing is that Perl sections randomly doesn't execute! I have no experience (yet) with Perl configuration modules, so I don't understand

RE: Modules Lost in EMBPERL

2000-01-06 Thread Gerald Richter
$tabmode are "local" between and , that makes it possible to nest mulitple dynamic tables. No other variables are affected. > Obviously, modules have my scoped variable within them accessible only > through the > object. If we hit the tables or a loop, are the previous variables

Re: Modules Lost in EMBPERL

2000-01-06 Thread Ruben I Safir
hat scoping remains the > same. OK When the table loops come into play for the [$ WHILE $] come into the code, are they accefting the scoping in any way? I noticed, for example, thay $maxrow seems to have local scope to the tables. How is package level varriables affected. Obviously, modules have

Preloading Modules with mod_perl as a shared object doesn't work!

2000-01-06 Thread Brian Powell
Okay, I have finally tracked down the source of the problem I am having and would appreciate your suggestions and work-arounds. First, I am using mod_perl; however, like the docs say, I wanted to preload modules, so, I have in my httpd.conf: PerlRequire /startup.pl For a startup.pl I have

Re: Modules Lost in EMBPERL

2000-01-06 Thread Ruben I Safir
rked. If not you have seen an error message about "FINANCEMOD" > > > > I'm very confused about how the scoping works. It looks like a bug in > > EMBPERL. > > I don't think so > > > The documentation on the scoping is also confusing > > What

RE: links to modules and virtual domains

2000-01-06 Thread Etienne Pelaprat
> Put it inside a section, go to the Apache docs to read more... thank you, it helped very much. -etienne

RE: links to modules and virtual domains

2000-01-05 Thread Gerald Richter
> > I'm having a problem specifying which domain, on a box with several hosted > domains, a perl module is used. For example, in my perl.conf file I have: > > > SetHandler perl-script > PerlHandler Apache::SearchMod > > > if I have domainA.com and domainB.com, both of t

links to modules and virtual domains

2000-01-05 Thread Etienne Pelaprat
hi, I'm having a problem specifying which domain, on a box with several hosted domains, a perl module is used. For example, in my perl.conf file I have: SetHandler perl-script PerlHandler Apache::SearchMod if I have domainA.com and domainB.com, both of the following

RE: Modules Lost in EMBPERL

2000-01-04 Thread Gerald Richter
s, but this are the current implementation details, which may change in the future (e.g. in Embperl 2.0). Anyway I will make sure that scoping remains the same. > We call a CGI from modules from EMBPERL all under mod_perl. When we run > into > this bug, it seems to happen after [$ $] if or

RE: Modules Lost in EMBPERL

2000-01-03 Thread Gerald Richter
> I seem to randomly loose my objects from the EMBPERL pages. > > For example we have one page from the database called with the > following code: > > > 1 [- use FINANCEMOD; > 2 $obj = FINANCEMOD->new(\%fdat) -] > 3 > > 12 [- $head = $obj->page_head(); -] > > I g

Re: Modules Lost in EMBPERL

2000-01-03 Thread Ken Williams
The problem isn't 'use', that's working fine. If it weren't, line 2 would cause your code to die. The problem is that FINANCEMOD->new() isn't returning a properly blessed object. Since FINANCEMOD looks like a homegrown module, I suggest putting debug statements in it to find out why it's not re

Modules Lost in EMBPERL

2000-01-03 Thread Ruben Safir
Hello I have a rather complex mod_perl CGI which calls pages from a database which are intereted with EMBPERL. I seem to randomly loose my objects from the EMBPERL pages. For example we have one page from the database called with the following code: 1 [- use FINANCEMOD; 2 $obj

Re: Problems with dynamically-loaded perl modules under Solaris2.5.1

1999-12-22 Thread Eugene Miretskiy
Dan Rench wrote: > > On Tue, 21 Dec 1999, Doug MacEachern wrote: > > > this sounds an awful lot like the common solaris linker vs. gnu linker > > problem. what does 'perl -V:ld' say your linker is? make sure it's gnu > > (gcc) and that Apache is using the same. > > $ perl -V:ld > ld='gcc'; >

Re: Problems with dynamically-loaded perl modules under Solaris2.5.1

1999-12-22 Thread Dan Rench
On Tue, 21 Dec 1999, Doug MacEachern wrote: > this sounds an awful lot like the common solaris linker vs. gnu linker > problem. what does 'perl -V:ld' say your linker is? make sure it's gnu > (gcc) and that Apache is using the same. $ perl -V:ld ld='gcc'; What I don't understand is that when

Re: Problems with dynamically-loaded perl modules under Solaris2.5.1

1999-12-21 Thread Doug MacEachern
tcgi 2.2.2. > > Everything works fine EXCEPT when I try to "use" a dynamically loaded module > (Data::Dumper or Storable, for example) inside a mod_perl handler. I have no > trouble using these modules in regular perl scripts, mod_cgi scripts, or > mod_fastcgi scripts. thi

Re: Problems with dynamically-loaded perl modules under Solaris2.5.1

1999-12-20 Thread Dan Rench
oken CPAN.pm -- it keeps saying "Package comes without Makefile.PL" even though it does -- but this is off-topic -- forget I even mentioned it). "Compile statically" is like a mantra* on this list (at least when it comes to apache modules), so it never occurred to me that buil

(Fwd) Template-Plugin-DBI 0.09 (DBI and HTML modules)

1999-12-20 Thread Andy Wardley
Here's a message from SAM explaining where to find the module. A --- Forwarded mail from [EMAIL PROTECTED] From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Template-Plugin-DBI 0.09 Date: Mon, 20 Dec 1999 15:21:23 - I have release an updated ve

Re: DBI and HTML modules?

1999-12-20 Thread Andy Wardley
[% modlist = DBI.query("SELECT * FROM module WHERE author='$userid'") %] [% FOREACH mod = modlist %] [% IF modlist.first %] Modules [% END %] [% mod.name %] [% IF modlist.last %] [% END %] [% END %] [% INCLUDE fo

Re: DBI and HTML modules?

1999-12-17 Thread Randal L. Schwartz
> "Mark" == Mark D Landry <[EMAIL PROTECTED]> writes: Mark> # Schwartzstein-Bunce Transform Mark> print table({-border=>undef}, Mark> caption('TableName'), Mark> Tr(map(th($_), @{$sth->{NAME}})), Mark> map(Tr(td($_)), @{$sth->fetchall_arrayref()}), Mark> ); Th

Re: DBI and HTML modules?

1999-12-17 Thread Tim Bunce
On Fri, Dec 17, 1999 at 07:41:09AM -0500, Mark D. Landry wrote: > >Hi all. I'm considering developing a small set of routines to > > format the results of database queries done through DBI in HTML. > > If you want a simple but effective search/insert/update/delete engine, > take a look at www

Re: DBI and HTML modules?

1999-12-17 Thread Mark D. Landry
>Hi all. I'm considering developing a small set of routines to > format the results of database queries done through DBI in HTML. If you want a simple but effective search/insert/update/delete engine, take a look at www.wdbi.net. Otherwise, if all you want to do is format the output of a que

Re: Problems with dynamically-loaded perl modules under Solaris2.5.1

1999-12-16 Thread Eugene Miretskiy
) inside a mod_perl handler. I have no > trouble using these modules in regular perl scripts, mod_cgi scripts, or > mod_fastcgi scripts. > > > did you link mod_perl static or dso? if dso, try static. > > All of my Apache modules are compiled statically. > > > you can

Re: Problems with dynamically-loaded perl modules under Solaris2.5.1

1999-12-16 Thread Dan Rench
ically loaded module (Data::Dumper or Storable, for example) inside a mod_perl handler. I have no trouble using these modules in regular perl scripts, mod_cgi scripts, or mod_fastcgi scripts. > did you link mod_perl static or dso? if dso, try static. All of my Apache modules are compiled static

Re: Problems with dynamically-loaded perl modules under Solaris2.5.1

1999-12-13 Thread Doug MacEachern
are you still stuck on this? did you link mod_perl static or dso? if dso, try static. you can also try configuring Perl with -Dusemymalloc=n, but that comes with a large performance hit. I've never had a problem with solaris and any combo of mod_perl/Perl On Mon, 1 Nov 1999, Dan Rench wrote:

Re: How to (not) get help (was: make test fails (modules/src.t) with Error 29)

1999-11-27 Thread G.W. Haywood
upon that. I also think that people are too ready to fork new processes, because it is so easy. But that's all getting way off topic. How did it compile? Don't know. I tried a lot of things on the way to getting it to compile. I found that I collected a large suite of perl modu

Re: How to (not) get help (was: make test fails (modules/src.t) withError 29)

1999-11-26 Thread Ask Bjoern Hansen
On Fri, 26 Nov 1999, Ask Bjoern Hansen wrote: > Hi Greg, eh, make that Ged. I'm up too early. (7.something here, argh.) - ask -- ask bjoern hansen - more than 60M impressions per day,

How to (not) get help (was: make test fails (modules/src.t) withError 29)

1999-11-26 Thread Ask Bjoern Hansen
ay with the nice attitude or 2) Don't do you homework but find the checkbook and stay with the nice attidude. Nobody wants to work for or with someone who is rude. > modules/src.....Use of uninitialized value at modules/src.t line 19. > Use of uninitialized value at modules/src.t

make test fails (modules/src.t) with Error 29

1999-11-03 Thread G.W. Haywood
m using Apache 1.3.9 (for this exercise only - my operational server is v1.2, running on the machine at 195.224.76.136) and I had to download perl 5.00503 to get some of the modules to make. Apache seems to sort of compile (EVERYTHING=1), but then I get the `make test' failures below. Any id

Re: Problems with dynamically-loaded perl modules under Solaris2.5.1

1999-11-01 Thread Dan Rench
I did some experimenting with my Solaris2.5.1/mod_perl/Data::Dumper/Storable problem that I wrote about last week. A grid: | mod_perl 1.21 | 1.21-dev (19991101174047) -+---+-- perl5.004_05 | works fine| didn't try perl5.005_03 |

Re: Problems with dynamically-loaded perl modules under Solaris2.5.1

1999-10-27 Thread Dan Rench
On Wed, 27 Oct 1999, Francesc Guasch wrote: > what's the ld version you use ?, make sure you compiled perl using the > solaris hints you can find in the perl sources. I've got GNU ld 2.9.1, but the perl Configure said GNU ld won't build perl, so it used /usr/ccs/bin/ld (version 3.0). I compile

Re: Problems with dynamically-loaded perl modules under Solaris 2.5.1

1999-10-27 Thread Francesc Guasch
Dan Rench wrote: > > I'm having problems with modules that use DynaLoader (Data::Dumper and > Storable, specifically) under mod_perl on Solaris machines. > > These modules work fine in standalone scripts, or when run under mod_cgi > or mod_fastcgi, but as soon as I pu

Problems with dynamically-loaded perl modules under Solaris 2.5.1

1999-10-26 Thread Dan Rench
I'm having problems with modules that use DynaLoader (Data::Dumper and Storable, specifically) under mod_perl on Solaris machines. These modules work fine in standalone scripts, or when run under mod_cgi or mod_fastcgi, but as soon as I put a "use Storable" in a mod_perl handler

Re: modules to be left enabled in a mod_perl back-end server?

1999-10-06 Thread Doug MacEachern
On 1 Oct 1999, Stephen Zander wrote: > > "Stephen" == Stephen Zander <[EMAIL PROTECTED]> writes: > Stephen> Is the SetHandler functionaity of mod_mime available from > Stephen> within mod_perl somehow? This was the one ovbious > Stephen> problem I could see with removing everythi

Re: performance difference between apache/perl modules and registry scripts question

1999-10-06 Thread Joshua Chamas
Greg Cope wrote: > > Dear All > > I have been asked to code several apache / perl modules. > > these module accept a "post" consisting of a long string - do a few database > things and return a long string to the browser. > > What are the advantages of usi

Re: performance difference between apache/perl modules and registry scripts question

1999-10-06 Thread Perrin Harkins
This has been discussed on the list before. Please have a look at the archive and see if it answers your question. - Perrin On Wed, 6 Oct 1999, Greg Cope wrote: > Dear All > > I have been asked to code several apache / perl modules. > > these module accept a "post&q

performance difference between apache/perl modules and registry scripts question

1999-10-06 Thread Greg Cope
Dear All I have been asked to code several apache / perl modules. these module accept a "post" consisting of a long string - do a few database things and return a long string to the browser. What are the advantages of using apache / mod_perl modules vs using a registry / mod_perl

Re: modules to be left enabled in a mod_perl back-end server?

1999-10-01 Thread Stephen Zander
> "Stephen" == Stephen Zander <[EMAIL PROTECTED]> writes: Stephen> Is the SetHandler functionaity of mod_mime available from Stephen> within mod_perl somehow? This was the one ovbious Stephen> problem I could see with removing everything. Nevermind. The Eagle book, chapter 8 p40

Re: modules to be left enabled in a mod_perl back-end server?

1999-10-01 Thread Stephen Zander
> "Doug" == Doug MacEachern <[EMAIL PROTECTED]> writes: Doug> I do know that imdb (at one point at least) had nearly every Doug> standard module disabled, leaving just mod_perl, mod_mime Doug> and maybe a logging module. Is the SetHandler functionaity of mod_mime available from wi

<    1   2   3   4   5   6