Re: mod_perl on specific scripts

2000-11-01 Thread Christopher L. Everett
David Hodgkinson wrote: Paonia Ezrine [EMAIL PROTECTED] writes: I have a number of scripts in places other then /perl that I want to use mod_perl for. However, I can't turn it on for all scripts in a specific directory or even a certain extension. Is there any way to do this or am

Re: Apache::SSI problem

2000-11-01 Thread Thomas von Elling Skifter Eibner
On Wed, Nov 01, 2000 at 09:51:38AM +0200, Stanislav Grozev wrote: Hi, I am using Apache 1.3.14, mod_perl 1.24_01, perl 5.6 and Apache::SSI 2.13 in my httpd.conf i have the following: PerlRequire /usr/local/web/perllib/Apache/tSSI.pm Files ~ "\.bozo$" SetHandler

Re: Apache::SSI problem

2000-11-01 Thread Stanislav Grozev
On Wed, Nov 01, 2000 at 09:29:31AM +0100, Thomas von Elling Skifter Eibner wrote: SNIP^ The tag should be !--#bozo -- yeah, sorry... stupid me.;-) works like a charm now, thanks -tacho -- [i don't follow] | [http://daemonz.org/ || [EMAIL PROTECTED]] [everything

Re: mod_perl on specific scripts

2000-11-01 Thread David Hodgkinson
Matthew Byng-Maddick [EMAIL PROTECTED] writes: On 31 Oct 2000, David Hodgkinson wrote: Did I just condemn you to learning mod_rewrite? Ooops :-) You do, of course, know about all the latest patches for this, due to potential security problems ...moving to Apache 1.3.14, right? --

Re: Apache::SSI problem

2000-11-01 Thread David Hodgkinson
Stanislav Grozev [EMAIL PROTECTED] writes: *snip* the problem is, when I fetch the file, the above remains intact, ie. the SSI doesn't process it? I've tried also with plain Apache::SSI directives (ie. without subclassing it) and it still doesn't work.;-( any suggestions? (this setup

Re: mod_perl on specific scripts

2000-11-01 Thread Matthew Byng-Maddick
On 1 Nov 2000, David Hodgkinson wrote: Matthew Byng-Maddick [EMAIL PROTECTED] writes: On 31 Oct 2000, David Hodgkinson wrote: Did I just condemn you to learning mod_rewrite? Ooops :-) You do, of course, know about all the latest patches for this, due to potential security problems

(@INC contains: .) Error

2000-11-01 Thread Asaf Klibansky
I installed win32 apache+perl+ssl but upon trying to start the apache web server i get the following error: Can't locate Cwd.pm in @INC (@INC contains: .) at (eval 1) line 1. i tried the followin to get @INC variables: C:\perl for (@INC) { print "$_\n"; } ^D and got:

Page contains no data error

2000-11-01 Thread Stephen A. Cochran
I'm moving someone else's CGIs to run under mod_perl, and about 95% of the time they work. The other 5% of the time Netscape gets a "Document contains no data." error and the web page that should have been sent to the brower is written into the apache error log. No other error is given in the

Re: prototype mismatch in Socket.pm

2000-11-01 Thread G.W. Haywood
Hi there, On Wed, 1 Nov 2000, Jason Liu wrote: I got the following prototype mismatch error when starting up Apache. Has anyone seen this before? No, but I wonder if you built your Perl as well as your mod_perl? 73, Ged.

Re: Apache Modules in General

2000-11-01 Thread Vivek Khera
"JT" == Jimi Thompson [EMAIL PROTECTED] writes: JT working??? Why is it that no one has ever posted an actual working copy JT of an httpd.conf file for mod_perl in its various incarnations? Could it JT be because one doesn't exist? You haven't looked hard enough. I've posted complete

Putting together the TPC mod_perl track

2000-11-01 Thread Matt Sergeant
Stas et al, Since its getting towards the end of the year, should we be thinking of putting together a mod_perl track for TPC? Has anyone got any ideas on what they'd like to either a) talk about, or b) hear talks about ? -- Matt/ /||** Director and CTO ** //||** AxKit.com

RE: Putting together the TPC mod_perl track

2000-11-01 Thread G.W. Haywood
Hi Geoff, On Wed, 1 Nov 2000, Geoffrey Young wrote: pretty basic, stuff like that... I think that's what's needed. 73, Ged.

Re: Putting together the TPC mod_perl track

2000-11-01 Thread Nathan Torkington
Matt Sergeant writes: Since its getting towards the end of the year, should we be thinking of putting together a mod_perl track for TPC? I've got a room allocated to mod_perl for two days of conference at the next OScon. With this group's blessing I'd like to call it "the mod_perl

Re: Putting together the TPC mod_perl track

2000-11-01 Thread Dave Rolsky
On Wed, 1 Nov 2000, Matt Sergeant wrote: Has anyone got any ideas on what they'd like to either a) talk about, or b) hear talks about ? I was thinking of giving a talk on Mason unless Jon Swartz wants to (haven't asked him yet). I also have another planned but its not mod_perl specific

Re: ApacheCon report

2000-11-01 Thread Michael Blakeley
From: "Perrin Harkins" [EMAIL PROTECTED] To: "Ask Bjoern Hansen" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, October 31, 2000 8:47 PM Subject: Re: ApacheCon report Mr. Llima must do something I don't, because with real world requests I see a 15-20 to 1 ratio of

Re: Putting together the TPC mod_perl track

2000-11-01 Thread Nathan Torkington
I wrote: I've got a room allocated to mod_perl for two days of conference at the next OScon Man, that'll teach me to open my big mouth :-) OScon is O'Reilly's Open Source Convention. Next year it will be in San Diego. See http://conferences.ora.com/ for a link to this year's OScon. OScon

ASP error

2000-11-01 Thread Shortley, Rob
Hi, I'm getting an error of: Can't modify constant item in scalar assignment at (eval 70) line 4, at EOF , /usr/lib/perl5/site_perl/5.005/Apache/ASP.pm line 1740 Line 4 being: 4: ; $main::Response-WriteRef(\(' the .ASP file is for Sendmail and works fine on an NT server... any ideas?

Re: a web interface to visualize tables = DIGEST

2000-11-01 Thread G.W. Haywood
Hi Geoff, I hope you're getting all this down... On Wed, 1 Nov 2000, Andy Duncan wrote: = http://www.oracletool.com/ = http://phpwizard.net/projects/phpMyAdmin/index.html = http://kenny.itlab.musc.edu/phpSybaseAdmin/ = http://www.php.net/manual/ref.oracle.php 73, Ged.

Re: ASP error

2000-11-01 Thread G.W. Haywood
Hi there, On Wed, 1 Nov 2000, Shortley, Rob wrote: Can't modify constant item in scalar assignment at (eval 70) line 4, at EOF , /usr/lib/perl5/site_perl/5.005/Apache/ASP.pm line 1740 the .ASP file is for Sendmail and works fine on an NT server... any ideas? Sound like one of Perl 5.6.0's

Re: return from nested functions

2000-11-01 Thread Dave Rolsky
On Wed, 1 Nov 2000, Paul J. Lucas wrote: If I'm a few levels deep into function calls, I'd liek to be able to do something like "return SERVER_ERROR" and have the entire call stack unwind and the current request stopped. Is there any way to do that? Not that this

Re: maximum (practical) size of $r-notes

2000-11-01 Thread Todd Finney
In continuing my work on this template system, I've run into another problem. Any one or more of the components can be a script, and the problem with the existing system which I'm trying to solve is catching redirects by them. The order in which I'm doing things is now: ( 4 part handler )

Re: Putting together the TPC mod_perl track

2000-11-01 Thread Marc Spitzer
what is AO? thanks marc - Original Message - From: "Nathan Torkington" [EMAIL PROTECTED] To: "Matt Sergeant" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, November 01, 2000 12:14 PM Subject: Re: Putting together the TPC mod_perl track Matt Sergeant writes: Since its

Re: return from nested functions

2000-11-01 Thread Ben Cottrell
On Wed, 1 Nov 2000 11:37:00 -0800 (PST), "Paul J. Lucas" wrote: If I'm a few levels deep into function calls, I'd liek to be able to do something like "return SERVER_ERROR" and have the entire call stack unwind and the current request stopped. Will something like this do

Re: return from nested functions

2000-11-01 Thread G.W. Haywood
Hi there, On Wed, 1 Nov 2000, Paul J. Lucas wrote: If I'm a few levels deep into function calls, I'd liek to be able to do something like "return SERVER_ERROR" and have the entire call stack unwind and the current request stopped. Is there any way to do that? It's

Re: return from nested functions

2000-11-01 Thread Paul J. Lucas
On Wed, 1 Nov 2000, G.W. Haywood wrote: Or you could call a function which does the business and then calls mod_perl's exit() function, page 464 Eagle Book. I tried exit: the status code isn't preserved to downstream stacked handlers. - Paul

Re: return from nested functions

2000-11-01 Thread Paul J. Lucas
On Wed, 1 Nov 2000, Dave Rolsky wrote: On Wed, 1 Nov 2000, Paul J. Lucas wrote: If I'm a few levels deep into function calls, I'd liek to be able to do something like "return SERVER_ERROR" and have the entire call stack unwind and the current request stopped. Is

Re: return from nested functions

2000-11-01 Thread Matt Sergeant
On Wed, 1 Nov 2000, Paul J. Lucas wrote: If I'm a few levels deep into function calls, I'd liek to be able to do something like "return SERVER_ERROR" and have the entire call stack unwind and the current request stopped. Is there any way to do that? Definitely use

Re: Seg Fault Issues- mod_perl and XML::Parser

2000-11-01 Thread Matt Sergeant
On Wed, 1 Nov 2000, Tom Harper wrote: Hi-- Having a problem with modperl/xml-parser. Aren't we all :-) Try http://axkit.org/faq.xml Also, there is a patch for this (finally!) in http://axkit.org/download/ - the mod_dav-shared-expat patch. I've sent this to Greg Stein (but not heard any

Re: Putting together the TPC mod_perl track

2000-11-01 Thread Matt Sergeant
On Wed, 1 Nov 2000, Marc Spitzer wrote: what is AO? A port of the servlets architecture to mod_perl. -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org ** ** XSLT, XPathScript, XSP ** // \\| // **

Re: prototype mismatch in Socket.pm

2000-11-01 Thread Bill McCabe
At 6:22 AM -0800 11/1/00, Jason Liu wrote: Hi, I got the following prototype mismatch error when starting up Apache. Has anyone seen this before? Prototype mismatch: sub Socket::INADDR_ANY vs () at /usr/local/lib/perl5/5.6.0/sun4-solaris/Socket.pm line 328. Prototype mismatch: sub

Apache::Scoreboard returns incomplete information to Apache::Watchdog::RunAway.

2000-11-01 Thread Jayme Frye
I am setting up Apache::Watchdog::RunAway and have come across a problem with Apache::Scoreboard that breaks Watchdog. The broken thing is access_count which is always 0 (my $count = $process-my_access_count;). This causes process running time to continue to increase until the

Re: Putting together the TPC mod_perl track

2000-11-01 Thread Perrin Harkins
On Wed, 1 Nov 2000, Nathan Torkington wrote: * Case studies showing how big companies use mod_perl This latter is an important part of the Perl conference. Many companies who would never 'fess up to using Perl seem quite happy to send employees to speak at conferences. Their talks end up

Re: return from nested functions

2000-11-01 Thread Dave Rolsky
On Wed, 1 Nov 2000, Matt Sergeant wrote: Definitely use exceptions. I prefer Error.pm for this (sorry, Dave!), which allows your handler to simply be: That's no reason not to use Exception::Class. They are largely orthogonal. If you want to be able to declare your exception hierarchy at

RE: memory leak under WinNT - fixed

2000-11-01 Thread Harshy Wanigasekara
Hi again, We managed to fix the problem described below. The issue was the win32 porting code in perl. In the file perl-5.6.0/win32/win32.h commenting out the line: #define ENV_IS_CASELESS fixes the memory leak problem. -harshy -Original Message- From: Harshy Wanigasekara

Error during mod_perl installation

2000-11-01 Thread Fabio Albertin
After my recent problems with Apaxhe::ASP, I decided to re-install mod perl, just to see if it actually installed the last time around. Now, I've gotten through the 1st step (Makefile.PL), but the make process seems to fail with the following error: from regcomp.c:5:

Re: Seg Fault Issues- mod_perl and XML::Parser

2000-11-01 Thread Tom Harper
Matt-- I wish it were this easy to fix. I don't think i have a conflict with mod_dav (i never installed mod_dav)- never installed another conflicting expat- and I already compiled with Expat=no. Maybe i missed something, but I think there is some other problem here. Tom At 08:09 PM 11/1/00

Re: Putting together the TPC mod_perl track

2000-11-01 Thread brian moseley
On Wed, 1 Nov 2000, Matt Sergeant wrote: On Wed, 1 Nov 2000, Marc Spitzer wrote: what is AO? A port of the servlets architecture to mod_perl. from the original announcement i sent on 4 sept 2000: README snip-- AO is a servlet engine for Perl. It provides an application environment

Re: return from nested functions

2000-11-01 Thread Paul J. Lucas
On Wed, 1 Nov 2000, Matt Sergeant wrote: On Wed, 1 Nov 2000, Paul J. Lucas wrote: If I'm a few levels deep into function calls, I'd liek to be able to do something like "return SERVER_ERROR" and have the entire call stack unwind and the current request stopped. Is

Re: Putting together the TPC mod_perl track

2000-11-01 Thread Nathan Torkington
Perrin Harkins writes: I may be able to offer something on how we use mod_perl at eToys. We recently rewrote our codebase to take better advantage of mod_perl and are using some fun OO stuff, as well as a bunch of scalability tricks. I was also thinking about presenting a comparison of

Extreme Newbie Question

2000-11-01 Thread George A. Fitch III
Let me apologize in advance if this is covered on a FAQ somewhere, or if this is the wrong place for this question. I've looked on the Apache web sites and in "Administering Apache" by Arnold, Almeida, and Miller but no luck. I'm just trying to get started with Apache and Perl on WinNT. I've

Re: return from nested functions

2000-11-01 Thread Perrin Harkins
On Wed, 1 Nov 2000, Matt Sergeant wrote: Definitely use exceptions. I prefer Error.pm for this (sorry, Dave!), which allows your handler to simply be: sub handler { return try { ... } catch Exception::RetCode with { my $E = shift;

Extreme Newbie Question

2000-11-01 Thread George A. Fitch III
Nevermind, after searching on altavista for a couple hours I found a page that explained I had to use the #! notation (its not just for Unix anymore!) The test script works fine now. Gaf

Re: return from nested functions

2000-11-01 Thread Paul J. Lucas
On Wed, 1 Nov 2000, Paul J. Lucas wrote: Ideally, I want to be able to do: sub foo { if ( $serious_problem ) stop_now_dammit( SERVER_ERROR ); } anywhere in the code like: sub

Re: Putting together the TPC mod_perl track

2000-11-01 Thread Sander van Zoest
On Wed, 1 Nov 2000, Nathan Torkington wrote: * Case studies showing how big companies use mod_perl This latter is an important part of the Perl conference. Many companies who would never 'fess up to using Perl seem quite happy to send employees to speak at conferences. Their talks end up

Re: how to really bang on a script?

2000-11-01 Thread Christopher L. Everett
Perrin Harkins wrote: On Sat, 28 Oct 2000, Matthew Byng-Maddick wrote: On Sat, 28 Oct 2000, Matt Sergeant wrote: exactly the same thing (changing server logs into a benchmark tool) at ApacheCon, only I can't for the life of me remember who it was. Theo, during the mod_backhand

Re: ApacheCon report

2000-11-01 Thread Leslie Mikesell
According to Michael Blakeley: I'm not following. Everyone agrees that we don't want to have big mod_perl processes waiting on slow clients. The question is whether tuning your socket buffer can provide the same benefits as a proxy server and the conclusion so far is that it

Re: return from nested functions

2000-11-01 Thread John K. Sterling
even better: Apache-exit(SERVER_ERROR);. or die SERVER_ERROR;. this is documented in the eagle book: ch9 - The Apache::Constants Class "... While the HTTP constants are generally used as return codes from handler subroutines, it is also possible to use the builtin die() function to jump out

Re: ApacheCon report

2000-11-01 Thread Perrin Harkins
On Wed, 1 Nov 2000, Leslie Mikesell wrote: I still like the idea of having mod_rewrite in a lightweight front end, and if the request turns out to be static at that point there isn't much point in dealing with proxying. Or if the request is in the proxy cache... Has anyone tried putting

Re: status_line() empty

2000-11-01 Thread Paul J. Lucas
On Wed, 1 Nov 2000, Paul J. Lucas wrote: OK, so, from within a custom ErrorDocument handler, $r-status() is the status code as I expect; however, $r-status_line() is blank. Any ideas why? It turns out that status_line() isn't populated until after

Re: return from nested functions

2000-11-01 Thread John K. Sterling
On Wed, 1 Nov 2000, Paul J. Lucas wrote: On Wed, 1 Nov 2000, John K. Sterling wrote: even better: Apache-exit(SERVER_ERROR); The documentation for exit() deosnt' explicitly say you can do that. It mentions only "0" and "DONE" (see pp. 464-465). it works though,

Re: Seg Fault Issues- mod_perl and XML::Parser

2000-11-01 Thread G.W. Haywood
Hi there, On Wed, 1 Nov 2000, Tom Harper wrote: Having a problem with modperl/xml-parser. mod perl 1.23 linux 6.2 apache 1.39 XML::Parser 2.29 and evidently Perl 5.6.0! No idea what might be the trouble, but I'd say get the latest of everything *except* Perl. I'd use 5.005_03 and

Re: return from nested functions

2000-11-01 Thread Craig McLane
On Wed, 1 Nov 2000, Dave Rolsky wrote: On Wed, 1 Nov 2000, Paul J. Lucas wrote: If I'm a few levels deep into function calls, I'd liek to be able to do something like "return SERVER_ERROR" and have the entire call stack unwind and the current request stopped. Is

Re: Putting together the TPC mod_perl track

2000-11-01 Thread Gunther Birznieks
I'd be curious to know how this is working out as we already have something similar and have been working on it for a couple years in evolution where Java Servlet compatibility was a key (but I'll admit -- not a #1) component to our design process. The stuff we've done emulates servlet

RE: Apache 1.3.14 and Apache::RegistryLoader

2000-11-01 Thread Paul G. Weiss
More info on the problem for some kind soul: When I run the server under gdb in single server mode it produces the following output: [New LWP2] [New LWP3] Program received signal SIGSEGV, Segmentation fault. 0xff3b9c64 in ?? () (gdb) i thread 6 Thread 3

Re: a web interface to visualize tables

2000-11-01 Thread Dave Rolsky
On Wed, 1 Nov 2000, Louis-David Mitterrand wrote: I need a tool to interactively visualize DB tables from a web interface. Ideally this tool would let me: - rename column headers, - set cell alignments, widths, background colors, - reorder columns, - save all these visualisation settings

Re: a web interface to visualize tables

2000-11-01 Thread G.W. Haywood
Hi all, On Wed, 1 Nov 2000, Thomas von Elling Skifter Eibner wrote: I need a tool to interactively visualize DB tables from a web interface. Which Database are you thinking of? DBM files? SQL database? For SQL databases there is phpMyAdmin (for MySQL) and phpPgAdmin (Postgresql), but those

RE: a web interface to visualize tables

2000-11-01 Thread Tim Harsch
As a part of further research into this area I am going to seriously look into Oracle WebDB. Other users in my shop have had great success with it. And the output is *very* high quality. I would appreciate hearing more about it from any users here that have experience with it. Also there is a

Re: a web interface to visualize tables

2000-11-01 Thread Martin Charbonneau
I would try Data-Table-1.16.tar.gz from CPAN... I'm not sure it's the right thing but I remember reading something like you want to do about that package. Thanks, MC Louis-David Mitterrand wrote: Hello, I need a tool to interactively visualize DB tables from a web interface. Ideally this tool

Re: a web interface to visualize tables

2000-11-01 Thread Andy Duncan
Hi Louis-David, I need a tool to interactively visualize DB tables from a web interface. Ideally this tool would let me: - rename column headers, - set cell alignments, widths, background colors, - reorder columns, - save all these visualisation settings in a DB, - it would be written in

a web interface to visualize tables

2000-11-01 Thread Louis-David Mitterrand
Hello, I need a tool to interactively visualize DB tables from a web interface. Ideally this tool would let me: - rename column headers, - set cell alignments, widths, background colors, - reorder columns, - save all these visualisation settings in a DB, - it would be written in perl (even

Re: a web interface to visualize tables

2000-11-01 Thread Thomas von Elling Skifter Eibner
On Wed, Nov 01, 2000 at 04:57:59PM +0100, Louis-David Mitterrand wrote: Hello, I need a tool to interactively visualize DB tables from a web interface. Ideally this tool would let me: - rename column headers, - set cell alignments, widths, background colors, - reorder columns, - save

Re: a web interface to visualize tables

2000-11-01 Thread Steve Lloyd
Hi Guys, The technology called Datilink has just been bought out by a new company called Inshift Technologies. If you are interested I can get you a killer price on a copy right now since I have connections with both companies. We have been using it for several years now and really like its