Re: Apache::Registry() and strict

2000-11-13 Thread remco
On Sun, 12 Nov 2000, Stas Bekman wrote: Hi, Please explain, the guide appears to recommend -w as a useful diagnostic technique (and the "Command Line Switches (-w, -T, etc)" section says -w works). The guide is correct. -w in the shebang line is equal to 'local $^W=1' for the file

Apache::DBI

2000-11-13 Thread Jon Molin
I'm considering using Apache::DBI but before I'd want to benchmark to see if I gain anything. To do this I just made a script that connects/disconnects 10 times. Then I tried running ab with -n 1. The output confused me a bit there where only 0.9 secs difference, and it was good old DBI who

PerlAuth DB configuration.

2000-11-13 Thread Tamas
Hi again, Having not really found viable solution to my sleeping processes, I thought it best to try and cut down on the number of DB connections that I make during the Auth steps. I have a database for each site, so that I can handle Authorization based on different user information. Currently

Re: PerlAuth DB configuration.

2000-11-13 Thread remco
On Mon, 13 Nov 2000, Tamas wrote: Hi again, Hi, Having not really found viable solution to my sleeping processes, I thought it best to try and cut down on the number of DB connections that I make during the Auth steps. I have a database for each site, so that I can handle Authorization

Templates - what choose ?

2000-11-13 Thread BeerBong
Hello all! For most projects we use Apache::ASP and it is sufficient and cool. But now we develop regional WEB portal with many features including publishing several magazines online on site, weather forecasts with archiving them, forums, chats and many others services. All materials can be

Re: Apache::DBI

2000-11-13 Thread G.W. Haywood
Hi there, On Mon, 13 Nov 2000, Jon Molin wrote: I'm considering using Apache::DBI but before I'd want to benchmark to see if I gain anything. To do this I just made a script that connects/disconnects 10 times. You'd better read the Guide. http://perl.apache.org/guide The whole point is

Re: Templates - what choose ?

2000-11-13 Thread G.W. Haywood
Hi there, On Mon, 13 Nov 2000, BeerBong wrote: I think about implementaion of this project with Perl Apache handlers and template system. There are HTML::Template, HTML::DynamicTemplate and I saw others. There was an extensive discussion of this topic on this List a few weeks ago. Scan

Re: Filter and directories

2000-11-13 Thread Struan Donald
* at 09/11 14:22 -0500 Geoffrey Young said: I was wondering why Apache::Filter won't deal with directories. man Apache::Filter - it's right there ;) ah, in the bugs section. note to self: read _all_ the man page. I assume it's as it makes little sense trying to do things do

RE: database access

2000-11-13 Thread Geoffrey Young
I haven't followed this thread too closely, so forgive me if I'm not quite with it... It would be very useful to be able to specify at connect time that you don't want a particular connection to be persistent. If you have a lot of small databases or some with different user/password

Re: question on DBIx::Recordset PrevNextForm

2000-11-13 Thread Gerald Richter
Is there any way to hide the form data that the DBIx::Recordset PrevNextForm function generates? i just noticed that if someone does a "view source," the user can view your db connection, username, password, etc. That doesn't seem very secure even though this is a pretty cool subroutine to

Re: Putting together the TPC mod_perl track

2000-11-13 Thread Randal L. Schwartz
"Stas" == Stas Bekman [EMAIL PROTECTED] writes: Stas I know that people pay a lot of money to attend TPC, compared to Stas YAPC, but I doubt that people would complain about a few laughs. They've never complained at any of my seminars, and I bill myself as a "technical comedian". Humor helps

RE: Filter and directories

2000-11-13 Thread Geoffrey Young
-Original Message- From: Struan Donald [mailto:[EMAIL PROTECTED]] Sent: Monday, November 13, 2000 8:06 AM To: Geoffrey Young Cc: [EMAIL PROTECTED] Subject: Re: Filter and directories * at 09/11 14:22 -0500 Geoffrey Young said: I was wondering why Apache::Filter won't

RE: database access

2000-11-13 Thread George Sanderson
At 08:04 AM 11/13/00 -0500, you wrote: I haven't followed this thread too closely, so forgive me if I'm not quite with it... you can already do this with Apache::DBI... change DBI-connect() to the (undocumented) 6 parameter call: Don't get me wrong here, "but", it would be nice if the

RE: ApacheDBI persistant connections

2000-11-13 Thread Geoffrey Young
-Original Message- From: Tamas [mailto:[EMAIL PROTECTED]] Sent: Monday, November 13, 2000 4:46 AM To: Geoffrey Young Subject: RE: ApacheDBI persistant connections I have a problem with persistant connections from my PerlAuthHandler. If you request a page, then I get

[DIGEST] mod_perl digest 11/5/2000

2000-11-13 Thread Geoffrey Young
-- mod_perl digest November 5, 2000 - November 11, 2000 -- Recent happenings in the mod_perl world... Features

Modperl conflicting with other modules

2000-11-13 Thread Yu Di
Hi, I have a problem. I have downloaded Apache 1.3.14, Mod_perl 1.24_01, PHP 4.0.3pl1, mod_fastcgi 2.2.8, and untarred all of them. I configured Apache with mod_so enabled, installed it, then installed all the three modules as DSO with apxs. Then I found that I cannot access any Mod_perl, PHP,

Re: Templates - what choose ?

2000-11-13 Thread David Hodgkinson
"G.W. Haywood" [EMAIL PROTECTED] writes: Hi there, On Mon, 13 Nov 2000, BeerBong wrote: I think about implementaion of this project with Perl Apache handlers and template system. There are HTML::Template, HTML::DynamicTemplate and I saw others. There was an extensive discussion of

RE: database access

2000-11-13 Thread G.W. Haywood
Hi there, On Mon, 13 Nov 2000, George Sanderson wrote: Don't get me wrong here, "but", it would be nice if the undocumented somehow made it to the documented status. Well don't get me wrong either, but when I thought the Guide could do with a re-write, I re-wrote it. :) 73, Ged.

Re: Modperl conflicting with other modules

2000-11-13 Thread Daniel Chetlin
On Mon, Nov 13, 2000 at 08:20:53AM -0600, Yu Di wrote: [snip] Then I found that I cannot access any Mod_perl, PHP, or FastCGI programs, if I try, I will get an error, and the error.log of Apache will have a line like: "[...][notice] child pid x exit signal Segmentation Fault(11)"

Re: premature TCP termination

2000-11-13 Thread Aaron Ross
at a time earlier than now, [EMAIL PROTECTED] wrote: Hi, I wonder if there is some sort of notification my module can receive if the user has terminated HTTP transaction(ie dowloading of a search result), by closing TCP link, or the Apache's connection has timed out... URLs, pointers would

Re: problems with HTML::Embperl on macos x (darwin)

2000-11-13 Thread Gustav Kristoffer Ek
On Mon, 13 Nov 2000, Gerald Richter wrote: loading...dyld: /usr/bin/perl Undefined symbols: _ap_get_client_block ... Mostly this is because the symbols have been striped from the Apache binary after build. You can see the public symbols of the httpd binary with nm

Re: problems with HTML::Embperl on macos x (darwin)

2000-11-13 Thread Gerald Richter
nm httpd are missing ones listed ? No one of them are listed. Think I have to figure out how the linker/compiler works on macos x in details. Any other suggestions? Sorry, I don't even know what "macos x" is... Does mod_perl build and run correctly ? If yes, we can maybe look at it's

Re: Modperl conflicting with other modules

2000-11-13 Thread Yu Di
Hi, the problem is, when I compile Mod_perl and PHP both as static with Apache, none of them can work. And what's worse, when they are both static, I can't access any HTML pages either, the error log is just the same as described in my former mail. What is the problem here? I forgot to mention

Re: database access

2000-11-13 Thread Aaron
Don't get me wrong here, "but", it would be nice if the undocumented somehow made it to the documented status. yeah... but Apache::DBI and DBI are in cahoots! it's a secret love that no documentation can break apart! no, really it would be nice if the DBI connection "hook" was

Re: problems with HTML::Embperl on macos x (darwin)

2000-11-13 Thread Ruben I Safir
Is that the new Machintosh BSD OS?

better ping functions for mod_perl question

2000-11-13 Thread conark
My company has been experiencing quite a bit of zombie process creation when we created our own ping function to work under mod_perl (for persistent dbh's). It seems like there's one zombie process per httpd process being created. I have provided the code that we're using to create the ping

Re: problems with HTML::Embperl on macos x (darwin)

2000-11-13 Thread Ray Zimmerman
At 1:17 PM -0500 11/13/00, Ruben I Safir wrote: Is that the new Machintosh BSD OS? Yes. Darwin refers to the open source BSD layers, and Mac OS X refers to the whole thing including the new Aqua UI on top and the Classic compatibility environment for running previous Mac OS apps. Mac OS X is

Win32 Proxy question

2000-11-13 Thread siberian
I know I get a lot when I use a lightweight proxy in front of my modperl servers under UNIX but how about under Win32? Since it uses a different model does a reverse proxy really give you that warm and fuzzy feeling or does it just become another layer between the system and the user? I am

Trying to use startup.pl to reduce the size of httpd child processes....

2000-11-13 Thread kevinr
Hello all, I am trying to reduce the size of my child httpd processes. We are using modperl, Embperl, DBI and DBD:Oracle. Our current httpd processes quickly grow to 22M or so after a database connection. I read in the modperl docs that modules can be preloaded into the parent httpd process

Re: Trying to use startup.pl to reduce the size of httpd child proces ses....

2000-11-13 Thread David Hodgkinson
[EMAIL PROTECTED] writes: Hello all, I am trying to reduce the size of my child httpd processes. We are using modperl, Embperl, DBI and DBD:Oracle. Our current httpd processes quickly grow to 22M or so after a database connection. I read in the modperl docs that modules can be

Re: Trying to use startup.pl to reduce the size of httpd child processes....

2000-11-13 Thread Gerald Richter
I am trying to reduce the size of my child httpd processes. We are using modperl, Embperl, DBI and DBD:Oracle. Our current httpd processes quickly grow to 22M or so after a database connection. I read in the modperl docs that modules can be preloaded into the parent httpd process and the

new module

2000-11-13 Thread Thomas Klausner
Hi! I am currently developing a perl module that is somewhat simmilar to CGI::PathInfo, and somewhat not. (IMO more not). The module would be used in a CGI- or mod_perl-environment. It takes the path-info (or the whole URL) and performs some regular expressions (defined via some

Re: Win32 Proxy question

2000-11-13 Thread Ian Struble
You can still get alot out of a proxy if you have a win32 box doing heavyweight mod_perl stuff. The only thing is that you need to have it on a different machine because mod_proxy doesn't hack it on a win32 machine. I'm sure that you could do it with something other that apache+mod_proxy if

Re: Win32 Proxy question

2000-11-13 Thread Ian Struble
How hard are you pounding it in the 'lab'? I don't remember how hard I had to pound to break my win32 proxy(NT4,SP4 and Apache 1.3.9 or 11) but it wasn't all that hard. You should be able to pound pretty hard with an LWP based pounder. Ian On Mon, 13 Nov 2000, siberian wrote: Under Win

Re: Modperl conflicting with other modules

2000-11-13 Thread spam
On Mon, 13 Nov 2000, Yu Di wrote: Hi, the problem is, when I compile Mod_perl and PHP both as static with Apache, none of them can work. And what's worse, when they are both static, I can't access any HTML pages either, the error log is just the same as described in my former mail. What is

Re: problems with HTML::Embperl on macos x (darwin)

2000-11-13 Thread Gustav Kristoffer Ek
On Mon, 13 Nov 2000, Gerald Richter wrote: [...] Does mod_perl build and run correctly ? Yes, it does. But I have a similar problem with Apache::Request though If yes, we can maybe look at it's Makefile, to see what's different. you meen modperls' Makefile right? I think it has something

Re: Win32 Proxy question

2000-11-13 Thread Gunther Birznieks
At 02:05 PM 11/13/00 -0800, Ian Struble wrote: You can still get alot out of a proxy if you have a win32 box doing heavyweight mod_perl stuff. The only thing is that you need to have it on a different machine because mod_proxy doesn't hack it on a win32 machine. I'm sure that you could do it

Re: Templates - what choose ?

2000-11-13 Thread Gunther Birznieks
At 01:44 PM 11/13/00 +, David Hodgkinson wrote: "G.W. Haywood" [EMAIL PROTECTED] writes: Hi there, On Mon, 13 Nov 2000, BeerBong wrote: I think about implementaion of this project with Perl Apache handlers and template system. There are HTML::Template, HTML::DynamicTemplate and

Re: Chaining Perl and C handlers

2000-11-13 Thread Andrew Chen
Thanks for the reply! Is there any way to maybe sneak into the handler cycle before the BEA-Apache handler and alter the GET/POST data, thus accomplishing the same thing? Let me know if you need any clarification. (any replies should go to my e-mail address, as I'm not subscribed to the

make fails on perlio.c

2000-11-13 Thread Bob Foster
Hello Folks, I'm trying to compile mod_perl-1.24_01with apache_1.3.14 on Solaris 2.6. Everything works OK until it hits src/modules/perl/perlio.c and then it fails with the following: gcc -O -I/usr/local/lib/perl5/5.00502/sun4-solaris/CORE -I/usr/local/include -I/opt/gnu/include

Re: make fails on perlio.c

2000-11-13 Thread G.W. Haywood
Hi there, On Mon, 13 Nov 2000, Bob Foster wrote: gcc -O -I/usr/local/lib/perl5/5.00502/sun4-solaris/CORE\ -I/usr/local/include -I/opt/gnu/include -DMOD_PERL_VERSION=\"1.24_01\"\ -DMOD_PERL_STRING_VERSION=\"mod_perl/1.24_01\"\ -I../.. -I/usr/local/lib/perl5/5.00502/sun4-solaris/CORE\

Re: Templates - what choose ?

2000-11-13 Thread Perrin Harkins
On Tue, 14 Nov 2000, Gunther Birznieks wrote: I think that was the thread where a couple of really nice people said they were going to summarize the long thread for everyone to benefit from in the future because it's such a common topic. But I guess time has gotten the best of them as

Please Help : Problem at ASP

2000-11-13 Thread Jacky
Dear Sir, I have the error output as follows. Please help me! Errors Output Can't call method "finish" without a package or object reference at (eval 14) line 134. , /usr/lib/perl5/site_perl/Apache/ASP.pm line 1083 Debug Output STARTING ASP HANDLER (v0.15) for file

Re: Please Help : Problem at ASP

2000-11-13 Thread Ruben I Safir
Why are you sending this to the modperl mailing list.

Re: Please Help : Problem at ASP

2000-11-13 Thread Joshua Chamas
First, upgrade to the latest Apache::ASP 2.03, which has better error messaging... while developing, set Debug to 2, so you won't get all this system level debugging, just developer errors to the browser. Then look at line 134, or thereabouts, of the offending scripts ... you are calling

Child Process Expiration ( Was RE: Memory Usage)

2000-11-13 Thread Tom Harper
Hi Folks-- This may be slightly off topic, but I suppose adds to the prior discussion-- G.W. Haywood (i think?) said that he set child process expiration at 100 hits-- this seems small to me, mostly because the 1.3.9 apache distribution notes (which claims that 10,000 is high), and partly

off topic: CGI related problem

2000-11-13 Thread Kader Ben
Hey listers, Which the right syntax to tell the web server to execute script situated into another machine? My problem: I have html page located in IIS server, in this page I have cgi action to execute script located on another machine (unix with HTTP server). When I give the absolute path

Re: Win32 Proxy question

2000-11-13 Thread Chris Winters
* Gunther Birznieks ([EMAIL PROTECTED]) [001114 00:42]: I believe that you are until the model completely changes under Apache 2.0... Until Unix Apache supports multi-threading, supporting it in windows pre-2.0 is not quite such a high priority I suspect. You should consider using

Apache::AuthenDBI NOTICE message

2000-11-13 Thread George Sanderson
It turns out that I am learning about DBI and Apache::DBI. So far, using Apache::AuthenDBI, I get an error_log message: NOTICE: Unrecognized variable client_encoding Every time the DBI ping is called. I have not been able to tack down the origin of this message. Any ideas or suggestions?

Re: Child Process Expiration ( Was RE: Memory Usage)

2000-11-13 Thread Perrin Harkins
On Mon, 13 Nov 2000, Tom Harper wrote: was wondering what other folks set their child process expiration at for best performance with mod-perl (and why) ? I set it to 0 and use Apache::SizeLimit. No point in killing a process that isn't too large just because it served x number of

VB scripts w/ Apache::ASP - Ime?

2000-11-13 Thread Fabio Albertin
Hello, Incidentally, I'm very interested in that add-on that'll allow Apache::ASP to process VB scripts. Since I'm not too familiar with the field, I was just wondering who or what Ime is? If it is an institute of mechanical engineering, which university's is it? Thanks. Bye, Fabio Albertin

Re: Win32 Proxy question

2000-11-13 Thread siberian
Under Win 2k Advanced Server using mod perl and mod proxy we get ok results in 'laboratory settings'. How that will translate in the real world is anyones guess, most likely poorly. Thanks John- On Mon, 13 Nov 2000, Ian Struble wrote: You can still get alot out of a proxy if you have a win32