[DIGEST] mod_perl digest 01/28/01

2001-02-05 Thread Geoffrey Young
-- mod_perl digest January 28, 2001 - February 3, 2001 -- Recent happenings in the mod_perl world... Features

Re: DBI + MSsql Server

2001-02-05 Thread Alexander Farber (EED)
[EMAIL PROTECTED] wrote: Does any body have an idea how to access MSsql server using DBI or other method. I've to build an application and I don't want to go to IIS so is there any way to work with Apache+Modperl in gnu-Linux and querying a NT box running MSsql.

Re: modperl + FrontPage Server Extensions

2001-02-05 Thread Rafael Caceres
Hi Jose: I don't use Apache-ASP, but we have Apache-Sandwich, SSL and FrontPage support in both a Linux and Alpha boxes, and have never seen a conflict. The only tough part was building it, as SSL and Frontpage try to patch the same source files. Hope this helps. Regards, Rafael Caceres At

Re: modperl + FrontPage Server Extensions

2001-02-05 Thread Matt Sergeant
On Mon, 5 Feb 2001, Rafael Caceres wrote: Hi Jose: I don't use Apache-ASP, but we have Apache-Sandwich, SSL and FrontPage support in both a Linux and Alpha boxes, and have never seen a conflict. The only tough part was building it, as SSL and Frontpage try to patch the same source files.

Re: [OT] Design Patterns in mod_perl apps?

2001-02-05 Thread Bakki Kudva
I would like to close this thread with LOTS of THANK YOUS to Gunther who gave me tons of very valuable information on the subject. I am still in the process of digging my way through design patterns, but still at the 'huh?' stage but am optimistic that very soon will have the 'Aha!' as the intro

Apache::Session::File

2001-02-05 Thread harilaos
Hello, I ma trying to use this module to store persident data on file on win32 environment. I use the code: use Apache; use Apache::Session::File; use CGI qw/:standard/; use CGI::Carp qw(fatalsToBrowser); print header(); print start_html; my %global_data; eval { tie %global_data,

RE: Doh; StatINC can't find files?

2001-02-05 Thread Harald Meier
Hi, do you have a startup.pl with something like $ENV{MOD_PERL} or die "not running under mod_perl!"; use lib qw( /your-path-to-your-libs ); which is registred in your httpd.conf with something like PerlRequire /etc/httpd/startup.pl PerlInitHandler Apache::StatINC

Environnement stability and maturity

2001-02-05 Thread Benoit Caron
Hello. I'm about to give the kick-off of a new project and we want to start with current and to-date version of software. Will it be ok for production use to go with all-fresh version of the mod_perl environnement : apache 1.3.17, mod_perl 1.25, perl 5.6 ? I'm going with the latest version

Re: Environnement stability and maturity

2001-02-05 Thread Matt Sergeant
On Mon, 5 Feb 2001, Benoit Caron wrote: Hello. I'm about to give the kick-off of a new project and we want to start with current and to-date version of software. Will it be ok for production use to go with all-fresh version of the mod_perl environnement : apache 1.3.17, mod_perl 1.25,

Extending the FancyIndexing description text ?

2001-02-05 Thread tim fulcher
Hi, Could somebody give me a pointer in the right direction for manipulating the contents of index pages. I need a way to insert an href under the description column for each file in a directory, which is a link to an RDF search facility I'm creating, e.g. FileDescription

Re: Environnement stability and maturity

2001-02-05 Thread Robin Berjon
At 11:04 05/02/2001 -0500, Benoit Caron wrote: I'm on the impression from my reading of the list that there was some problems with perl 5.6 : am I wrong? If not, what kind of problem should I expect? I've been quite happy with 5.6 in production for quite some time. I used the source provided

Re: Environnement stability and maturity

2001-02-05 Thread Robin Berjon
At 16:10 05/02/2001 +, Matt Sergeant wrote: There are some nasty bugs in 5.6 which tend to surface when you stretch perl a bit. One that AxKit brings rise to is the "Bizarre copy of ARRAY in aassign" (sic) bug. There are patches available to fix this though. Yup, that was a nasty one, and it

Repost with code: Newbie mysterious 500 error with PerlFixupHandlers

2001-02-05 Thread judy selen
Sorry I forgot to include these files with the earlier message. Does anyone have any clues with this problem. I have searched the archives for internal server errors and PerlFixupHandlers and found no similar problems. Perhaps this is a mod_dir issue. Judy judy selen wrote: We are using

server_root question...

2001-02-05 Thread Joseph Crotty
Hey all, Maybe its too early or whatever. How would you go about setting $ENV{SERVER_ROOT} without using Perl. I was trying PerlSetEnv SERVER_ROOT Apache::server_root_relative() in perl.conf, but no go. Any ideas? Joe Crotty

Re: Doh; StatINC can't find files?

2001-02-05 Thread Robert Landrum
wm looks like a home directory. The default perms on the home directory are usually 700. Try changing that to something like 755 or even 744 (it may not need execute). Robert Landrum Hi folks, Maybe I'm just rusty after 8 months off, but my StatINC can't find files that exist on the

Re: Error reporting mod_perl 1.25 + apache 1.3.17

2001-02-05 Thread Matisse Enzer
I compiled perl 5.6 and Apache 1.3.17 using gcc egcs-2.91.66 on a RH Linux 6.1 system. If I compile Apache without modperl it run OK. If i compile it with mod_perl 1.25 I also get the segmentation fault on startup. I looked in ../mod_perl/SUPPORT and didn't see anything obvious about this

RE: server_root question...

2001-02-05 Thread Stathy Touloumis
If you want to use a perl function ( Apache::server_root_relative() ) then you have to use a Perl block. This might work : PerlSetEnv SERVER_ROOT \ Perl Apache::server_root_relative() /Perl But this seems so much easier : Perl $ENV{'SERVER_ROOT'} = Apache::server_root_relative() /Perl Maybe

Re: Error reporting mod_perl 1.25 + apache 1.3.17

2001-02-05 Thread G.W. Haywood
Hi there, On Mon, 5 Feb 2001, Matisse Enzer wrote: I compiled perl 5.6 and Apache 1.3.17 using gcc egcs-2.91.66 on a RH Linux 6.1 system. If I compile Apache without modperl it run OK. If i compile it with mod_perl 1.25 I also get the segmentation fault on startup. I looked in

Re: Runaways

2001-02-05 Thread Perrin Harkins
Robert Landrum wrote: I have some very large httpd processes (35 MB) running our application software. Every so often, one of the processes will grow infinitly large, consuming all available system resources. After 300 seconds the process dies (as specified in the config file), and the

Re: Passing data among handlers

2001-02-05 Thread Perrin Harkins
Drew Taylor wrote: I have a slightly different twist on this question. We run Registry scripts on our site for debugging purposes. I would love to have a module for saving variables/data structures on a per-request basis (like the current Apache notes), but internally using pnotes under

Re: Rate limiting in Apache

2001-02-05 Thread Perrin Harkins
[EMAIL PROTECTED] wrote: I'm interested in doing rate-limiting with Apache. Basically, I want to give Apache a target bitrate to aim at. When writing to one user, it writes as close to bitrate as the user/network can suck it down. When writing to two users (two connections), it writes to

Re: Error reporting mod_perl 1.25 + apache 1.3.17

2001-02-05 Thread Paul Lindner
On Mon, Feb 05, 2001 at 06:41:00PM +, G.W. Haywood wrote: Hi there, On Mon, 5 Feb 2001, Matisse Enzer wrote: I compiled perl 5.6 and Apache 1.3.17 using gcc egcs-2.91.66 on a RH Linux 6.1 system. If I compile Apache without modperl it run OK. If i compile it with mod_perl

Re: [OT] Design Patterns in mod_perl apps?

2001-02-05 Thread Perrin Harkins
Gunther Birznieks wrote: GoF did not introduce Model-View-Controller architecture. But it is discussed in Wiley's "A System of Patterns: Pattern-Oriented Software Architecture". MVC is frequently used in mod_perl apps. For example, see Apache::PageKit. - Perrin

Re: Runaways

2001-02-05 Thread Dave Rolsky
On Mon, 5 Feb 2001, Perrin Harkins wrote: First, BSD::Resource can save you from these. It will do hard limits on memory and CPU consumption. Second, you may be bale to register a handler for a signal that will generate a stack trace. Look at Devel::StackTrace (I think) for how to do it.

Re: Runaways

2001-02-05 Thread Perrin Harkins
Dave Rolsky wrote: On Mon, 5 Feb 2001, Perrin Harkins wrote: First, BSD::Resource can save you from these. It will do hard limits on memory and CPU consumption. Second, you may be bale to register a handler for a signal that will generate a stack trace. Look at Devel::StackTrace

Re: Apache::SizeLimit MAX UNSHARED patch

2001-02-05 Thread Perrin Harkins
Joshua Chamas wrote: Hey, Per Perrin Harkin's advice, and my client's consent, I hacked up Apache::SizeLimit to support MAX_PROCESS_UNSHARED_SIZE config, where instead of limiting by the apparent process size, one limits by the amount of unshared memory being used. I actually did submit

Re: Runaways

2001-02-05 Thread Dave Rolsky
On Mon, 5 Feb 2001, Perrin Harkins wrote: Nope, that's not it. I wrote that one and it doesn't talk about that at all. I meant "for how to generate a stacktrace". Using it with a singal handler was demonstrated on this list about two weeks ago, but I can't recall who did it. It was

Re: Environnement stability and maturity

2001-02-05 Thread Andrew Ho
Hello, RBI've been quite happy with 5.6 in production for quite some time. I used RBthe source provided by activestate because it includes a number of RBpatches but now that 5.6.1rev2 is out it might be better. What is the "official" home of 5.6.1rev2? I can't seem to locate it on CPAN

mod_perl failing to interpret bytecode modules

2001-02-05 Thread mtwose
Arguments about open source aside, I have been asked to convert our commercial mod_perl modules into bytecode. I have tried to do this but have encountered various problems as described below. I have also browsed the previous discussion threads on this topic with interest, but they are quite

How Stable and The Perfect Combination

2001-02-05 Thread Stefan Arentz
Hi People! I have some questions about the usage of mod_perl in an almost embedded environment. We want to put Apache with mod_perl in a FreeBSD 4.2 powered server appliance that has almost no remote admin capabilities. Things need to keep running for months. Our concern is the stability of

Apache::ASP Best Language to use?

2001-02-05 Thread Matthew Schroeder
Currently the company I work for is using ASP code running on Windows servers. We'd like to run a web server that isn't microsoft based for obvious reasons. We don't have so much ASP code, so it would be possible to scrap it and start over. What would you guys suggest as the best option: 1.

Re: modperl + FrontPage Server Extensions

2001-02-05 Thread Riardas epas
On Mon Feb 5 14:47:22 2001 + Matt Sergeant wrote: On Mon, 5 Feb 2001, Rafael Caceres wrote: Hi Jose: I don't use Apache-ASP, but we have Apache-Sandwich, SSL and FrontPage support in both a Linux and Alpha boxes, and have never seen a conflict. The only tough part was building

[JOB SEEKER] Full Time Telecommuting

2001-02-05 Thread Geoffrey Young
Hi all... Well, I think the time has come for me to leave my current position. Most of my formal work stuff for the past year is covered my NDAs, but a brief resume can be seen at http://resumes.dice.com/gost_guru And, of course, there is always my CPAN stuff and list postings to

Re: Apache::ASP Best Language to use?

2001-02-05 Thread Silvia Bogarim
Please reply to the mailing list as well, because I'm also interested in the answers this post is likely to get. Matthew Schroeder wrote: Currently the company I work for is using ASP code running on Windows servers. We'd like to run a web server that isn't microsoft based for obvious

SQL log analyzer for Apache::DBILogger

2001-02-05 Thread chicks
Sometime in the next month I need to embark on a log analyzer for the logs we've been accumulating for many moons via Apache::DBILogger. Has anyone made any effort to do such a thing already? I've dug around the web for a while and come up with zilch. -- /chris Those who cannot remember the

RE: server_root question...

2001-02-05 Thread Joseph Crotty
Interesting, I tried the following in perl.conf: PerlRequire conf/startup.pl PerlFreshRestartOn PerlSetEnv MOD_PERL_TRACE all #Directory Handlers #-- Directory /perl AllowOverride None Options +ExecCGI SetHandler

Re: SQL log analyzer for Apache::DBILogger

2001-02-05 Thread G.W. Haywood
Hi there, On Mon, 5 Feb 2001 [EMAIL PROTECTED] wrote: Sometime in the next month I need to embark on a log analyzer for the logs we've been accumulating for many moons via Apache::DBILogger. Has anyone made any effort to do such a thing already? I've dug around the web for a while and

Re: SQL log analyzer for Apache::DBILogger

2001-02-05 Thread chicks
On Mon, 5 Feb 2001, G.W. Haywood wrote: On Mon, 5 Feb 2001 [EMAIL PROTECTED] wrote: Sometime in the next month I need to embark on a log analyzer for the logs we've been accumulating for many moons via Apache::DBILogger. Has anyone made any effort to do such a thing already? I've dug

Re: SQL log analyzer for Apache::DBILogger

2001-02-05 Thread Ask Bjoern Hansen
On Mon, 5 Feb 2001 [EMAIL PROTECTED] wrote: Sometime in the next month I need to embark on a log analyzer for the logs we've been accumulating for many moons via Apache::DBILogger. Has anyone made any effort to do such a thing already? I've dug around the web for a while and come up with

Re: Apache::Session::File

2001-02-05 Thread Gunther Birznieks
You need to change the locking mechanism on Win32 to not use IPC. I believe there are examples for using Flock based locking but am not sure. If you are using win32 mod_perl, locking is irrelevant anyway because all requests are serialized through one engine. At 03:43 PM 2/5/01 +,