How to get VirtualHostUser abc/VirtualHost

2000-07-11 Thread Darko Krizic
I have a PerlTransHandler and I have a bunch of virtual hosts. Each virtual host looks like this VirtualHost abc.com User abc Group abcs /VirtualHost (How) can I access the User and Group definitions in the VirtualHost (which are intended for suexec)? Is this feature missing in

Re: How to get VirtualHostUser abc/VirtualHost

2000-07-11 Thread Eric Cholet
I have a PerlTransHandler and I have a bunch of virtual hosts. Each virtual host looks like this VirtualHost abc.com User abc Group abcs /VirtualHost (How) can I access the User and Group definitions in the VirtualHost (which are intended for suexec)? Is this feature missing in

The Eagle has landed!

2000-07-11 Thread Greg Leidreiter
I am trying to work my way through Stein and MacEachern but having a few teething troubles. I am following the example code in Chapter 2 faithfully, have build and installed mod_perl (which now appears under httpd -l) and modified the configuration files according to the suggestions in the book.

Re: Interfacing from Apache to Access

2000-07-11 Thread Eric Strovink
Lorenzo Gordon wrote: Hello, I am a software developer for The London School of Hygiene Tropical Medicine, UK. My query is the following: I have been able to successfully run a Perl script from MS-DOS that would pull out the necessary info. from an Access database I wrote last year

Re: Interfacing from Apache to Access

2000-07-11 Thread David Mitchell
From: Eric Strovink [EMAIL PROTECTED] wrote: Write a simple socket interface to connect Apache Perl to your existing Windoze Perl script (which you'll hack to set up as a simple server). Invent your own protocol. Locking issues will come up, but you can manage this yourself with a little

Re: Interfacing from Apache to Access

2000-07-11 Thread Fabrice Scemama
DBD::Proxy does work the way you describe it. I've used it with succes to address MSSQL DBs. So far, with Access I met a few difficulties with memos (Access' BLOBs), but maybe I didn't find the way to do it. Fabrice David Mitchell wrote: From: Eric Strovink [EMAIL PROTECTED] wrote: Write

Perl CGI/Mod_perl testing - HeLp!

2000-07-11 Thread Rich Lemanski
Hello all, I could use your assistance. I have been tasked to show the performance differences between Perl CGI scripts and mod_perl scripts running on an Apache web server on a small isolated network. I am assuming mod_perl will outperform CGI if the scripts are well written. I need

Re: Interfacing from Apache to Access

2000-07-11 Thread Mike Miller
On Tue, 11 Jul 2000 14:52:58 +0100 (BST), David Mitchell wrote: From: Eric Strovink [EMAIL PROTECTED] wrote: Write a simple socket interface to connect Apache Perl to your existing Windoze Perl script (which you'll hack to set up as a simple server). Invent your own protocol. Locking

Why mod_perl does not like File::Recurse module?

2000-07-11 Thread Alexei V. Barantsev
Could you explain the following I have a little script and run it from command line and in mod_perl #!/usr/bin/perl -w use CGI qw(:standard); use File::Tools; print header, start_html, p( "File::Copy::copydir ", defined File::Copy::copydir ? "ok" : "failed" ), p( "File::Recurse::recurse

Re: Is variable initialization necessary?

2000-07-11 Thread Drew Taylor
Barrie, Thanks for the interesting benchmarks. In my case, I am only initializing to '' or 0 to avoid warnings (I have PerlWarn On). What was most interesting is the hit when you initialize an empty array. I'll probably just continue on my current course, but the numbers are very intriguing.

Severe problem with $r-log_error

2000-07-11 Thread Axel Wagner
Hi, I have a serious problem with the logging facility of MOD_PERL. Something that once worked perfectly well suddenly turned quite. I have tried all the logging statements from the eagle book, but my error log file refuses to show any trace thereof. I have also set the LogLevel to debug, but

RE: Severe problem with $r-log_error

2000-07-11 Thread Geoffrey Young
did you compile mod_perl with EVERYTHING=1 or PERL_LOG_API=1 --Geoff -Original Message- From: Axel Wagner [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 11, 2000 11:30 AM To: [EMAIL PROTECTED] Subject: Severe problem with $r-log_error Hi, I have a serious problem with the

RE: RE: Severe problem with $r-log_error

2000-07-11 Thread Axel Wagner
Geoff wrote: did you compile mod_perl with EVERYTHING=1 or PERL_LOG_API=1 Yes! And with a lot of other options. Take a look: content of .makepl_args.mod_perl: EVERYTHING=1 APACHE_SRC=../../../Server/apache_1.3.12/src NO_HTTPD=1 USE_APACI=1 PREP_HTTPD=1 USE_DSO=1 PERL_DEBUG=1 PERL_TRACE=1

RE: RE: Severe problem with $r-log_error

2000-07-11 Thread Matt Sergeant
On Tue, 11 Jul 2000, Axel Wagner wrote: Geoff wrote: did you compile mod_perl with EVERYTHING=1 or PERL_LOG_API=1 Yes! And with a lot of other options. Take a look: content of .makepl_args.mod_perl: EVERYTHING=1 APACHE_SRC=../../../Server/apache_1.3.12/src NO_HTTPD=1

using a 3-tier mod_perl setup

2000-07-11 Thread Tim Bishop
I am running a 3-tier mod_perl setup as advised by the Guide: Lightweight apache - mod_perl apache - db server. One of the problems with this setup is that the mod_perl apache no longer knows some details about the client request, like the client IP. I used Ask Bjoern Hansen's

Best book

2000-07-11 Thread Pramod Sokke
Any ideas on which is the best book available out there for mod_perl?

RE: Session Cookies:cant retrieve value

2000-07-11 Thread G.W. Haywood
Hi all, On Fri, 30 Jun 2000, Geoffrey Young wrote: From: darren chamberlain Maybe I stole it unconsciously... Sorry Geoff... feel free Somebody once said "Imitation is the sincerest form of flattery". Blessed if I can remember who it was. 73, Ged.

Re: Newbie: make test failure!

2000-07-11 Thread G.W. Haywood
Hi there, On Fri, 7 Jul 2000, Michael Robinton wrote: On Sat, 8 Jul 2000, Greg Leidreiter wrote: but when I run 'make test' httpd listening on port 8529 letting apache warm up...\c still waiting for server to warm up.not ok I always get that error. I

Re: Best book

2000-07-11 Thread JoshNarins
The Eagle Book, "Writing Apache Modules in Perl and C" by Lincoln Stein (CGI.pm author) and Doug MacEachern (someone who despite his mere humanity, wrote mod_perl) Published by O'Reilly ISBN 1-565592-567-X The X is for Xtra good mod_perl book. :)

Re: basic setup of mod_perl

2000-07-11 Thread G.W. Haywood
Hi there, On Sat, 1 Jul 2000, Kristopher Lalletti wrote: I've been trying to get Apache::DBI working as soon as I mention PerlModule Apache::DBI or any other module in the httpd.conf the httpd starts-up and craps-out Read what to do in SUPPORT. 73, Ged.

mod_perl on Win32

2000-07-11 Thread Alexei V. Alexandrov
Hello modperl, I`m trying to get ApacheModulePerl.dll to work on a Windows 98 machine. I have compiled perl apache and tring to build the module but the linker says it can not link the module because of an unresolved symbol _ap_validate_password. Has anyone succeded to run the module

Re: Best book

2000-07-11 Thread Scott Alexander
I used the eagle book. I have done very well with it. Are there really any other books out there on the subject? Scott On 11 Jul 2000, at 10:22, Pramod Sokke wrote: Any ideas on which is the best book available out there for mod_perl?

[JOB] mod_perl developer (prefer telecommute)

2000-07-11 Thread Matt Sergeant
I'm looking for a mod_perl developer to work directly with me on a very high profile mod_perl project. This work is on a contract basis, though very likely to lead to either full time or long term contract work. Skills involved are: Perl - good perl skills required, especially knowledge of OO.

Re: Best book

2000-07-11 Thread Matt Sergeant
On Tue, 11 Jul 2000, Scott Alexander wrote: I used the eagle book. I have done very well with it. Are there really any other books out there on the subject? Not on mod_perl, but I wouldn't develop a big system until you've read Damian Conway's "Object Oriented Perl". Scott On 11 Jul

Re: Best book

2000-07-11 Thread Drew Taylor
Matt Sergeant wrote: On Tue, 11 Jul 2000, Scott Alexander wrote: I used the eagle book. I have done very well with it. Are there really any other books out there on the subject? Not on mod_perl, but I wouldn't develop a big system until you've read Damian Conway's "Object Oriented

Re: Why mod_perl does not like File::Recurse module?

2000-07-11 Thread Perrin Harkins
On 11 Jul 2000, Alexei V. Barantsev wrote: From command line all is ok HTML LANG="en-US"HEADTITLEUntitled Document/TITLE /HEADBODYPFile::Copy::copydir ok/P PFile::Recurse::recurse ok/P/BODY/HTML In mod_perl I have the the different result HTML LANG="en-US"HEADTITLEUntitled

RE: Why mod_perl does not like File::Recurse module?

2000-07-11 Thread Jerrad Pierce
But nobody is typically a rather priveleged account... -Original Message- From: Perrin Harkins [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 11, 2000 2:45 PM To: Alexei V. Barantsev Cc: [EMAIL PROTECTED] Subject: Re: Why mod_perl does not like File::Recurse module? On 11 Jul

Re: Best book

2000-07-11 Thread David Hodgkinson
"Scott Alexander" [EMAIL PROTECTED] writes: I used the eagle book. I have done very well with it. Are there really any other books out there on the subject? perl.apache.org/guide of course! -- Dave Hodgkinson, http://www.hodgkinson.org Editor-in-chief, The

Why can't I use a package name under Apache::Registry

2000-07-11 Thread bill chmura
Hello, I have a problem with using apache::Registry and have not been able find an answer in the eagle book or the mod_perl site, so i am missing something here. If I take the following script and run it under apache::registry it runs fine: #!/opt/perl5/bin/perl print "Content-type:

Stop the script when the user leaves

2000-07-11 Thread Dimas Kotvan
Hi all. I'm from Braz I'm writing a simple web chat and trying to do that in mod_perl. Thescript is very simple, it reads a text file with the messages and print the messages in a frame. It enters in a loop that only ends when the user send a lougout to the script. The problem that i'm

RE: Stop the script when the user leaves

2000-07-11 Thread Abraham, Thomas (M.)
Dimas, An automatic logoutafter a certain amount of idle time is one method. Most chat servers automatically logout and disconnect idle connections, so emulating this may not be a bad idea. There may be a way to detect that a user left the page, but if there is, I don't know about it.

Why can't I use a package name under Apache::Registry (Continued)

2000-07-11 Thread bill chmura
Thats another weird thing. When it was happening I took that Win32::Internet() module and wrote a script to display the headers for a page I entered. It would show the headers for every page except this one! Its like it is not sending anything back. Just as a sanity check, I followed the

Re: Best book

2000-07-11 Thread mehryar
Yes! The Eagle Book!!! Im afraid this is a "me too" email, but I am __compelled__ to write it. As a mostly self-educated programmer, I have devoured many technical books, but the Eagle book ranks as one of the best written techincal book I have ever read. Very coherent and builds up and sweeps

RE: Why mod_perl does not like File::Recurse module?

2000-07-11 Thread Perrin Harkins
On Tue, 11 Jul 2000, Jerrad Pierce wrote: But nobody is typically a rather priveleged account... Permissions are permissions. If you want the nobody user to read the files and directories, they have to be accessible by that user. Why mod_perl does not like File::Recurse module???

Re: Interfacing from Apache to Access

2000-07-11 Thread rise
On Tue, 11 Jul 2000, Mike Miller wrote: Not good for heavy use, but for the 3-4 times a month it gets used in production, it works perfectly okay. There is one significant issue with using DBD::Proxy / DBI::ProxyServer on Windows: lack of fork. If you're going to be using it you probably want

Re: mod_perl on Win32

2000-07-11 Thread Randy Kobes
On Tue, 11 Jul 2000, Alexei V. Alexandrov wrote: Hello modperl, I`m trying to get ApacheModulePerl.dll to work on a Windows 98 machine. I have compiled perl apache and tring to build the module but the linker says it can not link the module because of an unresolved symbol

Re: Interfacing from Apache to Access

2000-07-11 Thread Mike Miller
On Tue, 11 Jul 2000 15:10:25 -0600 (MDT), rise wrote: On Tue, 11 Jul 2000, Mike Miller wrote: Not good for heavy use, but for the 3-4 times a month it gets used in production, it works perfectly okay. There is one significant issue with using DBD::Proxy / DBI::ProxyServer on Windows: lack of

Apache::session and Apache::DBI::Oracle headaches

2000-07-11 Thread Chad Billigmeier
Having a bit of trouble getting apache::session to run with apache::DBI. Is this due to the fact that Oracle wants AutoCommit on and Apache::DBI has it off or is there some other magic that I am missing out on? Is anyone using Apache::Session with Apache::DBI??? The error_log reports

[ ANNOUNCE ] Apache::PerlVINC v0.02

2000-07-11 Thread Dave Moore
All, ok. after much twiddling and tweaking, I have finished a version of Apache::PerlVINC that I feel comfortable with. I changed _alot_ of things in it. maybe too much. i thought it would be nice if _everybody_ had a chance to flame me, so I am including a link so you can download it and try

Yet more on set_handlers() and new-found problems with lookup_uri()

2000-07-11 Thread Christian Gilmore
Hello, again. We're making progress; I think I've decided what the actual bugs are. :) Please let me know if you disagree. On certain requests, such as requests which ask for directories and require the aid of DirectoryIndex, lookup_uri() is called. This call creates a subrequest that appears as

Newbie: make test failure FIXED!

2000-07-11 Thread Greg Leidreiter
From: G.W. Haywood [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 12 July 2000 3:45 AM To: mod_perl Mailing List Subject: Re: Newbie: make test failure! Hi there, On Fri, 7 Jul 2000, Michael Robinton wrote: On Sat, 8 Jul 2000, Greg Leidreiter wrote: but when I run 'make test' httpd

RE: The Eagle has landed!

2000-07-11 Thread Greg Leidreiter
-Original Message- From: Darko Krizic [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 11 July 2000 10:56 PM To: 'Greg Leidreiter' Subject: RE: The Eagle has landed! ServerRoot is /usr/local/apache underneath which I have created the lib/perl/Apache tree for holding mod_perl modules, and

Re: Apache::session and Apache::DBI::Oracle headaches

2000-07-11 Thread Jeffrey W. Baker
On Tue, 11 Jul 2000, Chad Billigmeier wrote: Having a bit of trouble getting apache::session to run with apache::DBI. Is this due to the fact that Oracle wants AutoCommit on and Apache::DBI has it off or is there some other magic that I am missing out on? Is anyone using Apache::Session with

Re: [ ANNOUNCE ] Apache::PerlVINC v0.02

2000-07-11 Thread Stas Bekman
On Tue, 11 Jul 2000, Dave Moore wrote: All, ok. after much twiddling and tweaking, I have finished a version of Apache::PerlVINC that I feel comfortable with. I changed _alot_ of things in it. maybe too much. i thought it would be nice if _everybody_ had a chance to flame me, so I am