Apache::SessionManager pnotes index.html problem...

2003-01-22 Thread Joseph P. Crotty
Here is the simplest form of the problem I can produce. I have two handlers and want to pass some info between them visa vi pnotes. One is a PerlTransHandler for Apache::SessionManager and the other is a PerlHandler for a simple Hello.pm that dumps some html with the current _session_start value

Re: PerlSwitches -M and @INC

2003-01-22 Thread Stas Bekman
Helmut Zeilinger wrote: Hi, i am trying Apache 2.0.44 and mod_perl 1.99_08. httpd.conf :Bevor all virtual hosts PerlRequire /usr/local/apache2/conf/virtual/startup.pl The content of startup.pl is as in the mod_perl documentation including the "use Apache::compat()" directive. I one of my

Re: [mp2] Apache::RequestRec, IPC::Open[23] problem

2003-01-22 Thread Stas Bekman
Ville Skyttä wrote: On Wed, 2003-01-22 at 08:10, Stas Bekman wrote: Please try again with the latest cvs, I've just ported FILENO, OPEN and CLOSE interfaces from 1.0. Though I doubt that this will work, IPC::Open* have always had problems with mod_perl. IPC::Run should be used instead for now

Re: Configuration in module vs in apacheconfig...

2003-01-22 Thread Perrin Harkins
Marcin Kasperski wrote: After some initial consideration I found, that moving config from MyConfig.pm to myapp.conf does not seem to be reasonable. Imagine PerlSetVar'ing arrays and hashes which can refer one to another... If you can do it in a module, you can do it in myapp.conf. package MyCo

[JOB SEEKER]: Looking for consulting work

2003-01-22 Thread Dave Rolsky
Hello, mod_perl folks, I've recently decided it's time to go the consulting route and I'm looking for consulting gigs. I have quite a bit of experience with mod_perl, and Mason especially, plus database design, application design, and much more. I'm open to short or long term projects, including

Configuration in module vs in apacheconfig...

2003-01-22 Thread Marcin Kasperski
{ yes, I saw the chapter in Stas Bekman's book, that's not exactly what I discuss } So, there is some mod_perl application. It has a lot of configurable elements - from urls being used to constants predefining contents of different drop-down boxes. Currently the config information is spread bet

Re: server startup shutdown

2003-01-22 Thread Perrin Harkins
[EMAIL PROTECTED] wrote: I have XML file and don`t want parse/serialize on each request how implement this: 1) XML parsed on startup 2) All modules work whith same object It doesn't look to me like you can share objects across threads effectively at this time. You can share a hash ref, but th

Re: [mp2] Apache::RequestRec, IPC::Open[23] problem

2003-01-22 Thread Ville Skyttä
On Wed, 2003-01-22 at 08:10, Stas Bekman wrote: > Please try again with the latest cvs, I've just ported FILENO, OPEN and CLOSE > interfaces from 1.0. Though I doubt that this will work, IPC::Open* have > always had problems with mod_perl. IPC::Run should be used instead for now. > Hopefully wi

server startup shutdown

2003-01-22 Thread dima
I have XML file and don`t want parse/serialize on each request how implement this: 1) XML parsed on startup 2) All modules work whith same object 3) XML serialize on server shutdown P.S. Apache 2 mod_perl 2

Re: Re: [MP2] pb with startup.pl and LibXML

2003-01-22 Thread Randy Kobes
On Wed, 22 Jan 2003, [iso-8859-1] [EMAIL PROTECTED] wrote: > > Does adding a > > LoadFile "/Path/to/libxml2.dll" > > directive, before pulling in the startup script, help? > > (in the distribution from our site, libxml2.dll is in > > the Perl/bin/ directory). > I have no libxml2.dll file from t

Re: [MP2] pb with startup.pl and LibXML

2003-01-22 Thread [EMAIL PROTECTED]
Does adding a LoadFile "/Path/to/libxml2.dll" directive, before pulling in the startup script, help? (in the distribution from our site, libxml2.dll is in the Perl/bin/ directory). -- best regards, randy I have no libxml2.dll file from the all-in-one 30 or so MB archive donwl

Re: mysql password encryption

2003-01-22 Thread Cees Hek
Quoting Martin Moss <[EMAIL PROTECTED]>: > All, > > I wish to let a user use the same password for them to authenticate to a > multitude of mysql Databases AND to authenticate themselves on my modperl > site. > the problem I have is that I store the password in the database as a > Password field.

Re: mysql password encryption

2003-01-22 Thread Perrin Harkins
Martin Moss wrote: the problem I have is that I store the password in the database as a Password field. However when I wish to use DBI to connect to another mysql database I cannot use the Password stored in the database as it comes out encrypted. I really don't want to store the unencrypted pass

mysql password encryption

2003-01-22 Thread Martin Moss
All, I wish to let a user use the same password for them to authenticate to a multitude of mysql Databases AND to authenticate themselves on my modperl site. the problem I have is that I store the password in the database as a Password field. However when I wish to use DBI to connect to another my

Re: [MP2] pb with startup.pl and LibXML

2003-01-22 Thread Randy Kobes
On Wed, 22 Jan 2003, [iso-8859-1] [EMAIL PROTECTED] wrote: > Hi I have > > SERVER_SOFTWARE: Apache/2.0.43 (Win32) mod_perl/1.99_08-dev > Perl/v5.8.0 PHP/4.3.0 > > installed from theoryx5 all-in-one archive > > > here is the problem I have : > - > pack

[MP2] pb with startup.pl and LibXML

2003-01-22 Thread [EMAIL PROTECTED]
Hi I have SERVER_SOFTWARE: Apache/2.0.43 (Win32) mod_perl/1.99_08-dev Perl/v5.8.0 PHP/4.3.0 installed from theoryx5 all-in-one archive here is the problem I have : - package testxml; use strict; use warnings; use XML::LibXML(); use XML:

PerlSwitches -M and @INC

2003-01-22 Thread Helmut Zeilinger
Hi, i am trying Apache 2.0.44 and mod_perl 1.99_08. httpd.conf :Bevor all virtual hosts PerlRequire /usr/local/apache2/conf/virtual/startup.pl The content of startup.pl is as in the mod_perl documentation including the "use Apache::compat()" directive. I one of my V-hosts i say (as