Re: Fwd: [speedycgi] Speedycgi scales better than mod_perl withscriptsthat contain un-shared memory

2000-12-22 Thread Jeremy Howard
Perrin Harkins wrote: What I was saying is that it doesn't make sense for one to need fewer interpreters than the other to handle the same concurrency. If you have 10 requests at the same time, you need 10 interpreters. There's no way speedycgi can do it with fewer, unless it actually makes

Re: Proposals for ApacheCon 2001 in; help us choose! (fwd)

2000-12-22 Thread Matt Sergeant
On Fri, 22 Dec 2000, Stas Bekman wrote: Well, this is new. You choose what sessions at ApacheCon you want. I don't think it's a fair approach by ApacheCon committee, as by applying this approach they are going to make the big player even bigger and kill the emerging technologies, who will

Re: Why double requests?

2000-12-22 Thread Doug MacEachern
On Wed, 11 Oct 2000, Bill Moseley wrote: ... Here's the request: --- GET /test/abc/123 http/1.0 HTTP/1.1 200 OK Date: Wed, 11 Oct 2000 17:17:16 GMT Server: Apache/1.3.12 (Unix) mod_perl/1.24 Connection: close Content-Type: text/plain hello Here's the error_log

Re: Fwd: [speedycgi] Speedycgi scales better than mod_perl withscriptsthat contain un-shared memory

2000-12-22 Thread Matt Sergeant
On Thu, 21 Dec 2000, Sam Horrocks wrote: Folks, your discussion is not short of wrong statements that can be easily proved, but I don't find it useful. I don't follow. Are you saying that my conclusions are wrong, but you don't want to bother explaining why? Would you agree with

ANNOUNCE: Embperl 2.0b1

2000-12-22 Thread Gerald Richter
After long time of talking, designing, developing, codeing and testing I am now happy to announce the first beta of Embperl 2.0. It has a totaly rewritten core and makes the way free for a lot of new possibilities... At the moment it's mainly a speed improvement and introduces caching of the

Re: ANNOUNCE: Embperl 2.0b1

2000-12-22 Thread Jens-Uwe Mager
On Fri, Dec 22, 2000 at 07:51:36AM +0100, Gerald Richter wrote: Since it's not yet ready for production use, it's only available from my ftp server at Hmm, with unstable software I prefer to use cvs upd more often, isn't there a cvs repository anywhere? A stable version can also be fetched

Re: ANNOUNCE: Embperl 2.0b1

2000-12-22 Thread Gerald Richter
Since it's not yet ready for production use, it's only available from my ftp server at Hmm, with unstable software I prefer to use cvs upd more often, isn't there a cvs repository anywhere? A stable version can also be fetched from an FTP archive, but for development versions this is a

[OT] Komodo

2000-12-22 Thread Robin Berjon
This is OT but there was talk here about Komodo and Perl IDEs. Well, there's an alpha now available for Linux (and a beta for Windows) for those that are interested: http://www.ActiveState.com/Products/Komodo/ -- robin b. By the time they had diminished from 50 to 8, the other dwarves began to

RE: Transfering Headers... w/ miltiple 'Set_Cookie'

2000-12-22 Thread Chris Strom
You might try: $headers-scan(sub { $r-headers_out-add(@_); print STDERR join("=", @_), "\n" }); The STDERR will output the seen headers to your logs. the problem is that there are many Set-Cookie instructions in $headers but mod_perl seems to use a tied hash to

RE: help with custom Error documents/redirection

2000-12-22 Thread Geoffrey Young
-Original Message- From: Doug MacEachern [mailto:[EMAIL PROTECTED]] Sent: Friday, December 22, 2000 1:14 AM To: Geoffrey Young Cc: '[EMAIL PROTECTED]'; [EMAIL PROTECTED] Subject: RE: help with custom Error documents/redirection On Wed, 13 Dec 2000, Geoffrey Young wrote:

[JOB] [CV] Job wanted

2000-12-22 Thread Matthew Byng-Maddick
I'd like to leave my current job. Is anyone here offering mod_perl or apache programming jobs in and around London? I'd be interested in any job involving: + apache (mod_perl and C module programming) + Perl + XS + C My current CV is available at http://colondot.net/mbm/cv.shtml, and details

Measure of performance !!!

2000-12-22 Thread Edmar Edilton da Silva
Hi all, Some days ago I sent a question about performance of Oracle and MS SQL Server databases, but I don't got any answer that help me. I have installed on my machine: Linux Red Hat 6.2 Apache 1.3.14 (installed on machine 1 ) mod_perl 1.24-1 DBD::Oracle DBD::Sybase ( to access the MS SQL

Apache::DBI and altered packages

2000-12-22 Thread Geoffrey Young
hi all... I was wondering if anyone has found a good way around persistent connections and package recompiles. With Apache::DBI, on occasion when someone recompiles a package and doesn't tell me, I see ORA-04061: existing state of package body "FOO.BAR" has been invalidated ORA-04065: not

Re: slight mod_perl problem

2000-12-22 Thread Vivek Khera
"DM" == Doug MacEachern [EMAIL PROTECTED] writes: DM On Thu, 21 Dec 2000, Vivek Khera wrote: I just tested it also, and the startup script is run exactly once. DM could be he has PerlFreshRestart On, in which case it would be DM called twice. I have it on as well, and it was only called

Re: Apache::DBI and altered packages

2000-12-22 Thread Perrin Harkins
my Oracle gurus here tell me that whenever a package changes any open connections will get this error. Since the connection itself ok (just not the stuff I need to use) the only solution currently available seems to be $r-child_terminate() so that at least that child doesn't barf every time.

Re: [repost]garbled redirects

2000-12-22 Thread Doug MacEachern
On Tue, 7 Nov 2000, Paul wrote: 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

Re: Fwd: [speedycgi] Speedycgi scales better than mod_perl withscriptsthat contain un-shared memory

2000-12-22 Thread Keith G. Murphy
Perrin Harkins wrote: Keith Murphy pointed out that I was seeing the result of persistent HTTP connections from my browser. Duh. I must mention that, having seen your postings here over a long period, anytime I can make you say "duh", my week is made. Maybe the whole month. That issue

Re: Measure of performance !!!

2000-12-22 Thread Buddy Lee Haystack
Didn't someone already mention that it takes longer to connect to an Oracle database? If you don't use the Apache::DBI module, the Oracle database will be slower because it takes longer to connect to it for each request. By using the Apache::DBI module you effectively negate the time it takes

[OT] Anyone good with IPC?

2000-12-22 Thread Bill Moseley
Sorry for the way OT post, but this list seems to have the smartest, most experienced, most friendly perl programmers around -- and this question on other perl lists failed to get any bites. Would someone be willing to offer a bit of help off list? I'm trying to get two programs talking in an

[RFC] New Apache Module, comments and name suggestions requested

2000-12-22 Thread darren chamberlain
I am looking for some feedback, and possibly an idea for a name for this module. In my experience, one of the problems with template modules like HTML::Template, TemplateToolkit, HTML::Mason, and the others, is that they are *toolkits* -- there is no fast way to go from Perl module to output.

RE: Apache::DBI and altered packages

2000-12-22 Thread Geoffrey Young
-Original Message- From: jared still [mailto:[EMAIL PROTECTED]] Sent: Friday, December 22, 2000 11:52 AM To: Geoffrey Young Cc: '[EMAIL PROTECTED]'; [EMAIL PROTECTED] Subject: Re: Apache::DBI and altered packages Geoff, I'm going to make a non-technical suggestion:

RE: Apache::DBI and altered packages

2000-12-22 Thread Geoffrey Young
-Original Message- From: Perrin Harkins [mailto:[EMAIL PROTECTED]] Sent: Friday, December 22, 2000 11:55 AM To: Geoffrey Young; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Apache::DBI and altered packages If you change the ping() method to check whether or not your

Re: [OT] Anyone good with IPC?

2000-12-22 Thread Matt Sergeant
On Fri, 22 Dec 2000, Bill Moseley wrote: The goal is to add a "filter" feature to the C program, where you register some external program (called a server, in this example, since it will be answering requests) and the C program starts the server, and then feeds requests over and over leaving

Re: [RFC] New Apache Module, comments and name suggestions requested

2000-12-22 Thread Matt Sergeant
On Fri, 22 Dec 2000, darren chamberlain wrote: I am looking for some feedback, and possibly an idea for a name for this module. In my experience, one of the problems with template modules like HTML::Template, TemplateToolkit, HTML::Mason, and the others, is that they are *toolkits* --

Re: Apache::DBI and altered packages

2000-12-22 Thread jared still
Geoff, I'm going to make a non-technical suggestion: You need to have change control implemented so that packages in your database are not changing during business hours. If you are 24x7, then you need to schedule an outage, and notify your customers of scheduled downtime. This is more of

Re: Microperl

2000-12-22 Thread Doug MacEachern
On Wed, 15 Nov 2000, Bill Moseley wrote: This is probably more of a Friday topic: Simon Cozens discusses "Microperl" in the current The Perl Journal. I don't build mod_rewrite into a mod_perl Apache as I like rewriting with mod_perl much better. But it doesn't make much sense to go that

Localizing Perl sections to VHosts

2000-12-22 Thread Todd Finney
I'm trying to move my VHost-specific libraries into more logical directories (for me). I have a number of them, and I'd rather not just use them all in my startup.pl - mostly because of concern over name collisions (Site1::connect_to_db(), Site2::connect_to_db()). If I use this in a

Re: Localizing Perl sections to VHosts

2000-12-22 Thread Stas Bekman
On Fri, 22 Dec 2000, Todd Finney wrote: I'm trying to move my VHost-specific libraries into more logical directories (for me). I have a number of them, and I'd rather not just use them all in my startup.pl - mostly because of concern over name collisions (Site1::connect_to_db(),

Dynamic content that is static

2000-12-22 Thread Philip Mak
Hi everyone, I have been going over the modperl tuning guide and the suggestions that people on this list sent me earlier. I've reduced MaxClients to 33 (each httpd process takes up 3-4% of my memory, so that's how much I can fit without swapping) so if the web server overloads again, at least

[Solved]: Apache::Compress + mod_proxy problem

2000-12-22 Thread Edward Moon
Here's a patch for Apache::Compress that passes off proxied requests to mod_proxy. Without this patch Apache::Compress will return an internal server error since it can't find the proxied URI on the local filesystem. Much of the patch was lifted from chapter 7 of the Eagle book. Right now the

Re: Dynamic content that is static

2000-12-22 Thread G.W. Haywood
Hi there, On Fri, 22 Dec 2000, Philip Mak wrote: I realized something, though: Although the pages on my site are dynamically generated, they are really static. You're not alone. Does anyone have any suggestions on how to implement this? Is there an existing tool for doing this? How can I

Re: Dynamic content that is static

2000-12-22 Thread Edward Moon
Not necessarily. You can use mod_proxy to cache the dynamically generated pages on the lightweight apache. Check out http://perl.apache.org/guide/strategy.html#Apache_s_mod_proxy for details on what headers you'll need to set for caching to work. On Fri, 22 Dec 2000, Philip Mak wrote: Hi

Re: Dynamic content that is static

2000-12-22 Thread Philip Mak
On Fri, 22 Dec 2000, Edward Moon wrote: Running a non-modperl apache that proxies to a modperl apache doesn't seem like it would help much because the vast majority of pages served require modperl. Not necessarily. You can use mod_proxy to cache the dynamically generated pages on the

mod_perl and chrooting question

2000-12-22 Thread Gunther Birznieks
OK, I think a few weeks ago we had agreed that the front-end proxy should be chrooted away from the back-end mod_perl server (each in its own chroot jail). So we are working on getting a sample setup (for our own site). However, the resources that were posted strongly warn against doing any

Re: Dynamic content that is static

2000-12-22 Thread brian d foy
On Fri, 22 Dec 2000, Philip Mak wrote: So, it would probably be more efficient if I had a /src directory and a /html directory. The /src directory could contain my modperl files and a Makefile that knows the dependencies; when I type "make", it will evaluate the modperl files and parse them

Re: Fwd: [speedycgi] Speedycgi scales better than mod_perl withscriptsthat contain un-shared memory

2000-12-22 Thread Joe Schaefer
"Jeremy Howard" [EMAIL PROTECTED] writes: Perrin Harkins wrote: What I was saying is that it doesn't make sense for one to need fewer interpreters than the other to handle the same concurrency. If you have 10 requests at the same time, you need 10 interpreters. There's no way

Re: Dynamic content that is static

2000-12-22 Thread Dave Seidel
I realized something, though: Although the pages on my site are dynamically generated, they are really static. Their content doesn't change unless I change the files on the website. (For example, http://www.animewallpapers.com/wallpapers/ccs.htm depends on header.asp, footer.asp,

Re: Fwd: [speedycgi] Speedycgi scales better than mod_perl withscriptsthat contain un-shared memory

2000-12-22 Thread Gunther Birznieks
At 10:17 PM 12/22/2000 -0500, Joe Schaefer wrote: "Jeremy Howard" [EMAIL PROTECTED] writes: [snipped] I posted a patch to modproxy a few months ago that specifically addresses this issue. It has a ProxyPostMax directive that changes it's behavior to a store-and-forward proxy for POST data (it

Re: Dynamic content that is static

2000-12-22 Thread Dave Rolsky
On 22 Dec 2000, Dave Seidel wrote: I don't know if either Mason or Embperl offer static compilation, but Mason has caching and I believe that Embperl is getting caching.AxKit is also very cool, and caches. Using Mason to generate a set of HTML pages would not be too terribly

libapreq-0.31_03

2000-12-22 Thread Jim Winstead
The uploaded file libapreq-0.31_03.tar.gz has entered CPAN as file: $CPAN/authors/id/J/JI/JIMW/libapreq-0.31_03.tar.gz size: 151839 bytes md5: c23cb069e42643e505d4043f0eef4b9f it is also available at: http://httpd.apache.org/dist/libapreq-0.31_03.tar.gz more

Re: Fwd: [speedycgi] Speedycgi scales better than mod_perl withscriptsthat contain un-shared memory

2000-12-22 Thread Jeremy Howard
Joe Schaefer wrote: "Jeremy Howard" [EMAIL PROTECTED] writes: I don't know if Speedy fixes this, but one problem with mod_perl v1 is that if, for instance, a large POST request is being uploaded, this takes a whole perl interpreter while the transaction is occurring. This is at least one

Re: Dynamic content that is static

2000-12-22 Thread John Michael
I may be out of my realm here. I use mostly perl for everything and have done similar things. Create a directory tree with the source files. In the source files use something like %%INCLUDE_HEADER%% for each part of the page that changes and have the script use flat text files for the build.

Re: Dynamic content that is static

2000-12-22 Thread Edward Moon
You should check out the documentation on mod_proxy to see what it's capable of: http://httpd.apache.org/docs/mod/mod_proxy.html You can specify expiration values and be assured that cached files older than expiry will be deleted. So, for example, if you know that your content gets updated

Re: Dynamic content that is static

2000-12-22 Thread Bill Moseley
At 09:08 PM 12/22/00 -0500, Philip Mak wrote: I realized something, though: Although the pages on my site are dynamically generated, they are really static. Their content doesn't change unless I change the files on the website. This doesn't really help with your ASP files, but have you looked at

Re: Dynamic content that is static

2000-12-22 Thread Ask Bjoern Hansen
On Fri, 22 Dec 2000, Philip Mak wrote: Running a non-modperl apache that proxies to a modperl apache doesn't seem like it would help much because the vast majority of pages served require modperl. Not necessarily. You can use mod_proxy to cache the dynamically generated pages

Re: Fwd: [speedycgi] Speedycgi scales better than mod_perl withscriptsthat contain un-shared memory

2000-12-22 Thread Ask Bjoern Hansen
On Thu, 21 Dec 2000, Sam Horrocks wrote: Folks, your discussion is not short of wrong statements that can be easily proved, but I don't find it useful. I don't follow. Are you saying that my conclusions are wrong, but you don't want to bother explaining why? Would you agree

cvs commit: modperl MANIFEST

2000-12-22 Thread dougm
dougm 00/12/22 12:55:56 Modified:.MANIFEST Log: missed part of another commit Revision ChangesPath 1.66 +0 -1 modperl/MANIFEST Index: MANIFEST === RCS file:

cvs commit: modperl/t/net/perl/io perlio.pl

2000-12-22 Thread dougm
dougm 00/12/22 15:59:39 Modified:t/net/perl/io perlio.pl Log: fix variable will not stay shared Revision ChangesPath 1.7 +5 -4 modperl/t/net/perl/io/perlio.pl Index: perlio.pl === RCS

cvs commit: modperl/t/net/perl constants.pl

2000-12-22 Thread dougm
dougm 00/12/22 16:04:37 Modified:.Changes t/modules cgi.t t/net/perl constants.pl Log: adjust test output (modules/{cgi,constants}) to make 5.7.0-dev Test::Harness happy Revision ChangesPath 1.563 +3 -0 modperl/Changes

cvs commit: modperl/t/docs startup.pl

2000-12-22 Thread dougm
dougm 00/12/22 16:32:21 Modified:t/docs startup.pl Log: another fix for Test::Harness Revision ChangesPath 1.40 +1 -1 modperl/t/docs/startup.pl Index: startup.pl === RCS file:

cvs commit: modperl/src/modules/perl Makefile

2000-12-22 Thread dougm
dougm 00/12/22 18:23:10 Modified:.Changes Makefile.PL apacimod_perl.config.sh lib/Apache ExtUtils.pm src/modules/perl Makefile Log: if Perl is linked with -lpthread, then httpd needs to be linked with -lpthread, make sure