RE: Invoke PHP scripts?

2002-05-30 Thread Jim Helm
How about using php in cgi mode and using `php scriptname` from within perl to capture the output? Not the best performance-wise, but it would do what you want, I think. Jim -- James Helm - Solaris System Administrator [EMAIL PROTECTED] WNS National Operations - Core Services [EMAIL

Re: Persistent Net::Telnet Objects

2002-05-30 Thread Medi Montaseri
Perhaps you can put a System V message Queue in front of both Telnet connections, this way producers can place their messages in the queue asynchronously , and the backend (consumer) can pick them up in a FIFO. Also, try using Net::SSH::Perl. The Net::Telnet does not give your things like

RE: Invoke PHP scripts?

2002-05-30 Thread Gabriel C Millerd
On Wed, 29 May 2002, Jim Helm wrote: How about using php in cgi mode and using `php scriptname` from within perl to capture the output? Not the best performance-wise, but it would do what you want, I think. will the cgi environment be preserved? --- Gabriel Millerd | When I

RE: Persistent Net::Telnet Objects

2002-05-30 Thread French, Shawn
I just found this: http://www.devshed.com/Talk/Books/ProApache/page2.html On Windows platforms, Apache does not fork; consequently, the directives for controlling the number of processes or their lifetime have no effect. Instead, Apache runs as a multi-threaded process Recall that I am using:

Getting AuthCookie to work on W2K

2002-05-30 Thread Hill, Ronald
Hello All, I am trying to setup the Apache-AuthCookie module and have run into a problem. Every time I try to login it just returns my back to the login screen. I can't get past the login screen!! (I have tried with Netscape and IE). Next I wrote a perl script to check things out. (same thing!!)

RE: Persistent Net::Telnet Objects

2002-05-30 Thread Jim Helm
It it possible that KeepAlives are what's making this work? If the user is active enough, in theory, they would always be connected to the same httpd process... Jim -- James Helm - Solaris System Administrator [EMAIL PROTECTED] WNS National Operations - Core Services [EMAIL PROTECTED]

Re: Persistant references [was] Persistent Net::Telnet Objects

2002-05-30 Thread Ryan Parr
I have thought about this, and it's something I'm willing to do if I have to. I would much rather be able to store an actual code ref and avoid the overhead of many string-form eval's. Is there no way to do this? -- Ryan - Original Message - From: Garth Winter Webb [EMAIL PROTECTED]

Re: AuthzHandler, index.html not being accessed

2002-05-30 Thread mod_perl
A note: since cookie is involved, why not to implement all the access/authentication/authurization functions at the access control phase using cookie ? Peter I've got an interesting problem, related to my development of some Authen/Authz handlers. I have a directory on which I've

Re: AuthzHandler, index.html not being accessed

2002-05-30 Thread Ken Miller
I should also mention this: Apache/1.3.23 (Unix) mod_perl/1.26 - Original Message - From: Ken Miller [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 30, 2002 11:12 AM Subject: AuthzHandler, index.html not being accessed I've got an interesting problem, related to my

Best compile options for perl 5.8 for mod_perl 1.x and 2.x

2002-05-30 Thread Chip Turner
Subject pretty much says it all. What are the requisite 5.8 compile options, besudes ithreads, for proper functioning with either mod_perl branch? Or ones that should be avoided? Chip -- Chip Turner [EMAIL PROTECTED] Red Hat, Inc.

RE: separating C from V in MVC

2002-05-30 Thread Jesse Erlbaum
Hi Ray -- I'm looking for some pointers on MVC in this context. Specifically, M is easy ... use Perl objects, but how are others implementing the Controllers and Views in order to keep them separate? [...snip...] What's the right way to do it? (None of this TMTOWTDO stuff now, I want

DBI error_log Logging

2002-05-30 Thread Jayce^
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've been researching the different modules for pushing your access log to a dbi storage vs. local file and have one question which I'm not sure any of them are able to do yet. Perhaps somebody has already thought of this and I'm just not seeing

Re: DBI error_log Logging

2002-05-30 Thread Geoffrey Young
Jayce^ wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've been researching the different modules for pushing your access log to a dbi storage vs. local file and have one question which I'm not sure any of them are able to do yet. Perhaps somebody has already thought of this

IE login script woes

2002-05-30 Thread Jim Helm
(I'm cc'ing the list in hopes that maybe this will help others when deailing with custom error documents that aren't working under IE - there have been a few people having problems with login pages and some of the Apache::Auth* modules, and maybe this will help. If it's old news to everyone, I

Confusion: Perl/mod_perl ????

2002-05-30 Thread Jeff McLean
Hi, I have been programming in Perl for about 3 weeks now, and I just started doing some Perl CGI. I have Apache 2 installed on my linux system, but and my perl scripts work fine, but I don't knwo whether or not I'm using Perl (as in /usr/bin/perl) or mod_perl. I thought up untill recently

Re: Confusion: Perl/mod_perl ????

2002-05-30 Thread Doug Silver
On Thu, 30 May 2002, Jeff McLean wrote: Hi, I have been programming in Perl for about 3 weeks now, and I just started doing some Perl CGI. I have Apache 2 installed on my linux system, but and my perl scripts work fine, but I don't knwo whether or not I'm using Perl (as in /usr/bin/perl)

Re: Best compile options for perl 5.8 for mod_perl 1.x and 2.x

2002-05-30 Thread Stas Bekman
Chip Turner wrote: Subject pretty much says it all. What are the requisite 5.8 compile options, besudes ithreads, for proper functioning with either mod_perl branch? Or ones that should be avoided? it may be different on your OS (read the INSTALL doc), but on linux 2.4 I compile with all

Re: Confusion: Perl/mod_perl ????

2002-05-30 Thread Stas Bekman
Doug Silver wrote: On Thu, 30 May 2002, Jeff McLean wrote: I have been programming in Perl for about 3 weeks now, and I just started doing some Perl CGI. I have Apache 2 installed on my linux system, but and my perl scripts work fine, but I don't knwo whether or not I'm using Perl (as in

Re: DBI error_log Logging

2002-05-30 Thread Cees Hek
Quoting Jayce^ [EMAIL PROTECTED]: I've been researching the different modules for pushing your access log to a dbi storage vs. local file and have one question which I'm not sure any of them are able to do yet. Perhaps somebody has already thought of this and I'm just not seeing the

Re: Best compile options for perl 5.8 for mod_perl 1.x and 2.x

2002-05-30 Thread Steven Lembark
./Configure -des -Dprefix=/home/stas/perl/ithread \ -Dusethreads -Duseshrplib Also worth using large file support if you habitually munge 2GB files. -- Steven Lembark 2930 W. Palmer Workhorse Computing Chicago, IL 60647

RFC: Apache::DefaultCharset

2002-05-30 Thread Tatsuhiko Miyagawa
Here's a tiny XS mod_perl module to configure AddDefaultCharset stuff from mod_perl. This is my first XS hack, thanks to mod_perl developer's cookbook. Any suggestions are welcome. http://bulknews.net/lib/archives/Apache-DefaultCharset-0.01.tar.gz =head1 NAME Apache::DefaultCharset -

Re: RFC: Apache::DefaultCharset

2002-05-30 Thread Tatsuhiko Miyagawa
At Fri, 31 May 2002 13:58:52 +0900, Tatsuhiko Miyagawa wrote: =head1 SEE ALSO LApache::GuessCharset mod_perl cookbook at http://www.modperlcookbook.com/ s/com/org/ -- Tatsuhiko Miyagawa [EMAIL PROTECTED]