DBD::Sybase

2005-02-22 Thread Graham Vickrage
Hi All, I'm having a problem getting DBD::Sybase to work with mod_perl. I have the following setup RH Fedora 3 Perl 5.8.6 mod_perl 2.0.0 Freetds 0.62 DBD::Sybase 1.05 All seems to install ok but when attempting to run I get the following error: [error] install_driver(Sybase) failed: Can't

Re: Apache 2 + mod_perl + virtual host problems

2005-02-22 Thread Stas Bekman
Bruno Lavoie wrote: hummm i tried to hack the code in RegistryCooker.pm and i saw that the files differ from FreeBSD to Debian [...] HUM that's not the same source, but i dont really understand, the mod_perl is the same version for the to systems..! mod_perl/1.999.20 why on one

Re: DBD::Sybase

2005-02-22 Thread Stas Bekman
Graham Vickrage wrote: Hi All, I'm having a problem getting DBD::Sybase to work with mod_perl. I have the following setup RH Fedora 3 Perl 5.8.6 mod_perl 2.0.0 Freetds 0.62 DBD::Sybase 1.05 All seems to install ok but when attempting to run I get the following error: [error] install_driver(Sybase)

Sharing variables across Apache threads with threads::shared

2005-02-22 Thread Matthew Westcott
Hi, I'm having trouble with the basics of sharing a variable across multiple Apache threads using threads::shared . The only code snippet I've been able to find on this subject is from the list archives from last month: http://gossamer-threads.com/lists/modperl/modperl/77651#77651 I'm stuck at

Re: Sharing variables across Apache threads with threads::shared

2005-02-22 Thread Richard F. Rebel
Hello Matt, Some obvious things... Are you running a threaded apache mpm such as worker? If not, no threads, only processes, thus no sharing. You'd have to use another sharing mechanism in this case such as sysv ipc shared memory, or mmaps. When you use the worker mpm, the maximum number of

Re: Sharing variables across Apache threads with threads::shared

2005-02-22 Thread Matthew Westcott
On 22 Feb 2005, at 15:22, Richard F. Rebel wrote: Hello Matt, Some obvious things... Are you running a threaded apache mpm such as worker? If not, no threads, only processes, thus no sharing. You'd have to use another sharing mechanism in this case such as sysv ipc shared memory, or mmaps.

RE: DBD::Sybase

2005-02-22 Thread Graham Vickrage
The file is present and owned by root with read execute permissions to all. I tried the system trace program but there was no entry in the output for this file. The error occurs when I make a request from a browser not when I start apache. Would this be why it doesn't appear in the trace? Any

Re: SEGFAULT on Mac OS X 10.2

2005-02-22 Thread Gerald Richter
Hi, Am Montag, 21. Februar 2005 20:35 schrieb Derrick Spell: I've got a Mac OS X 10.2 server loaded with Apache 2.0.52, mod_perl 2.0rc4, Perl 5.8.6, Embperl 2.0rc2 - All installed fresh by hand (no factory installations) At rather irregular intervals my apache children will segfault during a

Re: DBD::Sybase

2005-02-22 Thread Moon Lee
Quoting Graham Vickrage [EMAIL PROTECTED]: [error] install_driver(Sybase) failed: Can't load '/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBD/Sybase/ Sybase.so' for module DBD::Sybase: libct.so.2: cannot open shared object file: No such file or directory at

Re: SEGFAULT on Mac OS X 10.2

2005-02-22 Thread Jonathan Vanasco
Are you using Apache::Reload? I've found that I get similar issues when using that module when developing under osx 10.3 and the same specs as you (although no Embperl)-- turning off the module stops the irregular activity , as does periodic apache restarts. Am Montag, 21. Februar 2005 20:35

[JOB] mp2 senior engineer/architect - northeast US

2005-02-22 Thread Douglas Morgenthallier
Internet software startup seeks a senior-level mod_perl engineer/architect. Responsibilities include development, maintenance and expansion of a multitier mp2-based software product. Desired skills and responsibilities include: - 5+ years experience with Perl for Internet/web applications -

[mp2] Apache::Access: $r-auth_name()

2005-02-22 Thread Jie Gao
Hi Stas, mplookup auth_type 'auth_type' is not a part of the mod_perl 2.0 API use 'ap_auth_type' instead. now resides in the request object To use method 'ap_auth_type' add: use Apache::RequestRec (); But: perldoc -U Apache::Access ... # auth type $auth_type =

Re: Trouble Setting POST_MAX

2005-02-22 Thread Jonathan Vanasco
On Feb 21, 2005, at 10:45 PM, Ian Joyce wrote: Shouldn't you be using Apache::RequestRec? Should I? All the docs show Apache::Request for this sort of thing, and Apache::Request has the $r-param('fieldname') manner of reading GET/POST fields I'm oblivious to 99.1% of mod_perl though, so if i'm

Re: Trouble Setting POST_MAX

2005-02-22 Thread Joe Schaefer
Jonathan Vanasco [EMAIL PROTECTED] writes: On Feb 21, 2005, at 10:45 PM, Ian Joyce wrote: Shouldn't you be using Apache::RequestRec? Should I? No, it doesn't parse form data. All the docs show Apache::Request for this sort of thing, and Apache::Request has the $r-param('fieldname') manner

Re: [mp2] Apache::Access: $r-auth_name()

2005-02-22 Thread Geoffrey Young
Jie Gao wrote: Hi Stas, mplookup auth_type 'auth_type' is not a part of the mod_perl 2.0 API use 'ap_auth_type' instead. now resides in the request object To use method 'ap_auth_type' add: use Apache::RequestRec (); But: perldoc -U Apache::Access ... #

Re: [mp2] Apache::Access: $r-auth_name()

2005-02-22 Thread Stas Bekman
Geoffrey Young wrote: mplookup auth_type 'auth_type' is not a part of the mod_perl 2.0 API use 'ap_auth_type' instead. now resides in the request object To use method 'ap_auth_type' add: use Apache::RequestRec (); perldoc -U Apache::Access # auth type $auth_type =

Apache handlers post-DECLINED

2005-02-22 Thread Jason Kaskel
I've written a PerlHandler module that does some checking, then returns either DECLINED or FORBIDDEN. If it returns DECLINED the uri that was requested gets processed by the content handler and returned. This works as expected if the requested uri is a vanilla .html page. However if the uri is

Re: [mp1] PERL5LIB handled backwards (mod_perl 1.27+)

2005-02-22 Thread Stas Bekman
Stas Bekman wrote: Gordon Lack wrote: Gordon Lack wrote: While it now does unshift rather than push (so the entries end up at the front of @INC, not the back) it does so backwards! eg: PerlPassEnv PERL5LIB /dir1:/dir2:/dir3 I've added a reference to this suggestion into the STATUS file. So

%ENV and $r-subprocess_env

2005-02-22 Thread Jie Gao
Hi All, I have an odd situation, which I describe as follows: I have an authentication handler and an authorisation handler for a site, configured as: Location /test PerlOptions +SetupEnv Options +ExecCGI PerlAuthenHandler XXX::XXX-authen PerlAuthzHandler ::-authz PerlOptions

Re: Apache handlers post-DECLINED

2005-02-22 Thread Geoffrey Young
(In case it's suggested, I can't currently use PerlAuthenHandler or any handler other than PerlHandler. The module makes use of mod_ssl environment variables which are not accessible until the PerlHandler phase. I also can't make use of Geoff Young's module that works around this

Re: Apache handlers post-DECLINED

2005-02-22 Thread Geoffrey Young
Geoffrey Young wrote: (In case it's suggested, I can't currently use PerlAuthenHandler or any handler other than PerlHandler. The module makes use of mod_ssl environment variables which are not accessible until the PerlHandler phase. I also can't make use of Geoff Young's module that works

Re: Controlling licensed software?

2005-02-22 Thread Adi Fairbank
On Sun, 20 Feb 2005 20:26:07 -0500 Stas Bekman [EMAIL PROTECTED] wrote: Adi Fairbank wrote: Take a look at Crypt::License on CPAN. I used it a couple years back to do exactly what you are trying to do. It encrypts your Perl source code and then decrypts it on the fly. There is a slight

cvs commit: modperl STATUS

2005-02-22 Thread stas
stas2005/02/22 16:43:16 Modified:.STATUS Log: * Need to correct the order of PERL5LIB entries insert into @INC. and document that 'arch' is not automatically inserted Report: +Patch by Gordon Lack

svn commit: r154937 - perl/modperl/trunk/todo/api_status

2005-02-22 Thread stas
Author: stas Date: Tue Feb 22 18:39:50 2005 New Revision: 154937 URL: http://svn.apache.org/viewcvs?view=revrev=154937 Log: new manpage started and completed Modified: perl/modperl/trunk/todo/api_status Modified: perl/modperl/trunk/todo/api_status URL: