Re: apache2, DBD/Oracle problem

2002-08-15 Thread Atsushi Fujita
Hi Stas, > Can you please try to convert the script into a mod_perl handler and > test again? OK, I just checked it. The result was everything fine using by mod_perl handler! There was no problem in my new code. ...But I want to use ModPerl::Registry, because this is easy to migrate from normal

Re: apache2, DBD/Oracle problem

2002-08-15 Thread Stas Bekman
Mike P. Mikhailov wrote: > Hello Fredo Sartori, > > Thursday, August 15, 2002, 1:44:34 PM, you wrote: > > I mabe wrong, but what about to move code to setup ENV out from BEGIN > block ? I wrote simple test below: > > # Test.pm > package Test; > > use Apache::Constants qw ( :common ); > > BE

Re: DBI make apache fail in perl58.dll

2002-08-15 Thread Randy Kobes
On Thu, 15 Aug 2002, pascal barbedor wrote: > Hi > > the following startup.pl > makes apache segfault in perl58.dll on windows XP(or 2000) > > version are : > apache 2.0.40-dev > perl 5.8.0 > modperl 1.99 > mysqld-nt 3.23.49 > > DBI 1.30 > DBD::Mysql 2.1017 > > from perl 5.8-win32-bin.tar.g

Re: SOLVED: How to access base environment from sections

2002-08-15 Thread Tom Mornini
On Thursday, August 15, 2002, at 07:47 PM, Stas Bekman wrote: > Tom Mornini wrote: >> Perhaps it's obvious but after years of mod_perl, I was blocked, >> probably because using this basic Perl ability is frowned upon in >> mod_perl due to performance issues. Of course, during startup, >> perfo

Re: apache2, DBD/Oracle problem

2002-08-15 Thread Mike P. Mikhailov
Hello Fredo Sartori, Thursday, August 15, 2002, 1:44:34 PM, you wrote: I mabe wrong, but what about to move code to setup ENV out from BEGIN block ? I wrote simple test below: # Test.pm package Test; use Apache::Constants qw ( :common ); BEGIN { $ENV{FOO1} = 'BAR1'; $ENV{FOO

Re: NTLM module

2002-08-15 Thread Gerald Richter
>when i have Authtype ntlm,basic in httpd.conf and I attempt to use a >username/password that is in htpasswd file I will not be able to be >authenticated & I receive the following error message in >/var/log/http/error.log > >[Thu Aug 15 15:28:53 2002] [crit] [client 131.242.91.200] configuration

Re: What is NTLM? (was: NTLM module)

2002-08-15 Thread Gerald Richter
> > Am I totally wrong, or the plain and painful answer is > > that "NTLM is only supported on Win32 boxes"? I think > > I read somewhere that, because the module relies the > > Win32 API, it doesn't run on other systems. It even > > said something like "...whoever wants to grab some > > Samba cod

Re: mod_perl-1.99_04 compile failure

2002-08-15 Thread Stas Bekman
J. W. Ballantine wrote: > Thanks, that solved the problem. which has been already solved in cvs. __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org

Re: Another mod_perl-1.99_04 compile failure

2002-08-15 Thread Stas Bekman
J. W. Ballantine wrote: > After applying the patch Kyoichi sent, mod_perl.c compiled fine and the make > continued until: > > cd "src/modules/perl" && make -f Makefile.modperl > cc -c -I/a4/WWW/APACHE2/mod_perl-1.99_04/src/modules/perl > -I/a4/WWW/APACHE2/mod_perl-1.99_04/xs -I/a3/APACHE/Apa

Re: SOLVED: How to access base environment from sections

2002-08-15 Thread Stas Bekman
Tom Mornini wrote: > Perhaps it's obvious but after years of mod_perl, I was blocked, > probably because using this basic Perl ability is frowned upon in > mod_perl due to performance issues. Of course, during startup, > performance isn't an issue. :-) > > In my case, I wanted to PerlPassEnv a

Re: apache2, DBD/Oracle problem

2002-08-15 Thread Stas Bekman
Atsushi Fujita wrote: > Hi Lyle, > > >>I does seem to be an ORACLE environment issue. Can you please try to convert the script into a mod_perl handler and test again? I doubt this is registry problem, but probably something that about setting up the env for mod_perl in general. What would he

Re: apache2, DBD/Oracle problem

2002-08-15 Thread Atsushi Fujita
Hi Lyle, > I does seem to be an ORACLE environment issue. Yes, I added printing out ORACLE ENV script in Oracle.pm as following. [perl5.6.1normal/lib/site_perl/5.6.1/i686-linux/DBD/Oracle.pm] line 259 print "DEBUG DBD[3] : dbh=[$dbh], dbname=[$dbname], user=[$user], auth=[$auth], attr=[$at

Re: regenerating source for 2.0 fails

2002-08-15 Thread Stas Bekman
Alexy Khrabrov wrote: > I've followed Doug's instructions for regenerating the source > tables with perl 5.8.0 and Apache 2.0.40-dev, but it fails parsing: > > alexy@angle:/src/apache/modperl-2.0 > perl build/source_scan.pl >/usr/local/apache2/bin/apxs > Expecting parenth after identifier in `a

Re: Another mod_perl-1.99_04 compile failure

2002-08-15 Thread Kyoichi Ozaki
hi j.w., using mod_perl-1.99_05-dev might help. > After applying the patch Kyoichi sent, mod_perl.c compiled fine and the make > continued until: -- Kyoichi Ozaki <[EMAIL PROTECTED]>

regenerating source for 2.0 fails

2002-08-15 Thread Alexy Khrabrov
I've followed Doug's instructions for regenerating the source tables with perl 5.8.0 and Apache 2.0.40-dev, but it fails parsing: alexy@angle:/src/apache/modperl-2.0 > perl build/source_scan.pl /usr/local/apache2/bin/apxs Expecting parenth after identifier in `apr_table_do_callback_fn_t *comp'

Re: NTLM module

2002-08-15 Thread ew0psceg
Am I totally wrong, or the plain and painful answer is that "NTLM is only supported on Win32 boxes"? I think I read somewhere that, because the module relies the Win32 API, it doesn't run on other systems. It even said something like "...whoever wants to grab some Samba code and port the modu

mod_perl-1.99_04 compile failure

2002-08-15 Thread J. W. Ballantine
Hi, I have apache 2.0.40, built and working and I'm trying to add the mod_perl 2 module, but when I try to install it I'm failing on the compile of mod_perl.c. The makefile command is: perl Makefile.PL MP_AP_PREFIX=/a3/APACHE/Apache2 MP_INST_APACHE2=1 MP_USE_STATIC=1 This ru

-Wl,-E

2002-08-15 Thread Ihor Bilyy
Hello! I can't build apache 1.3.26 with mod_perl 1.27 on Solaris 2.8 I use: perl Makefile.pl APACHE_SRC=../apache1/src \ NO_HTTPD=1 USE_APACI=1 PREP_HTTPD \ EVERYTHING=1 and in apache directory: ./configure --activate-module=src/modules/perl/libperl.a here is the output: Configuring for Apache,

[JOB] Senior mod_perl programmer in Oslo, Norway

2002-08-15 Thread Salve J. Nilsen
Hi! We're looking for a senior mod_perl programmer to bolster up the technical department at our workplace (Tinde ASA, http://www.tinde.no/>). Regretfully, we can only hire people that are fluent in Norwegian and living in Oslo, Norway - so the rest of this mail will be in Norwegian... (Apologie

regenerating code for modperl-2.0

2002-08-15 Thread Alexy Khrabrov
Greetings -- I've followed Doug's instructions for regenerating the source tables with perl 5.8.0 and Apache 2.0.40-dev, but it fails parsing: alexy@angle:/src/apache/modperl-2.0 > perl build/source_scan.pl /usr/local/apache2/bin/apxs Expecting parenth after identifier in `apr_table_do_callba

SOLVED: How to access base environment from sections

2002-08-15 Thread Tom Mornini
Perhaps it's obvious but after years of mod_perl, I was blocked, probably because using this basic Perl ability is frowned upon in mod_perl due to performance issues. Of course, during startup, performance isn't an issue. :-) In my case, I wanted to PerlPassEnv all environment variables that b

Re: Possible naming error when extracting mod_perl 2 tarball

2002-08-15 Thread Stas Bekman
Tom Hibbert wrote: > Hi, > > I downloaded the mod-perl 2.0 tarball today from: > > http://perl.apache.org/dist/mod_perl-2.0-current.tar.gz > > When I untar'd it: > > bash-2.03$ tar xf mod_perl-2.0-current.tar > > It extracted to the following directory: > > drwxr-x--- 13 software software

Re: PerlResponseHandler ?

2002-08-15 Thread Stas Bekman
Paul Simon wrote: > Hi All > > Can somebody answer this for me? Here are two directives for separate > directories(1 and 2) to run under ModPerl::Registry (ModPerl::Registry > is being called in via a perl startup.pl): > > > SetHandler perl-script > PerlResponseHandler ModPerl::Regis

Re: regional mod_perl mailing lists?

2002-08-15 Thread Stas Bekman
[First mentioned on the dev list, I'm moving it to the users list] I've started "International mod_perl mailing lists" page http://perl.apache.org/maillist/i18n.html Now it includes only one Japanese list, courtesy Tatsuhiko Miyagawa If you know about any other mod_perl mailing lists please let

RE: can't fine ModuleConfig.c.

2002-08-15 Thread Goehring, Chuck Mr., RCI - San Diego
Thanks. You are the hero of us lonely Windows Apache users. Chuck -Original Message- From: Randy Kobes [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 14, 2002 11:10 PM To: Goehring, Chuck Mr., RCI - San Diego Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: can't fine ModuleC

Possible naming error when extracting mod_perl 2 tarball

2002-08-15 Thread Tom Hibbert
Hi, I downloaded the mod-perl 2.0 tarball today from: http://perl.apache.org/dist/mod_perl-2.0-current.tar.gz When I untar'd it: bash-2.03$ tar xf mod_perl-2.0-current.tar It extracted to the following directory: drwxr-x--- 13 software software 512 Jun 21 23:40 mod_perl-1.99_04 I was j

Re: apache2, DBD/Oracle problem

2002-08-15 Thread Lyle Brooks
I does seem to be an ORACLE environment issue. IIRC, the original post had the Oracle environment variables set in a BEGIN block. I ran into a similar issue, where I changed ORACLE_HOME and TNS_ADMIN to point to a new location. I set these in a BEGIN block in my startup.pl file. But the mod_pe

Re: __floatdisf: error Compling mod_perl 1.27,apache 1.3.26 on Solaris 8 with gcc 2.95.2

2002-08-15 Thread David McCabe
[EMAIL PROTECTED] wrote: > > Hello, > > I'm not having a great day here! :-( For me, it was a few weeks ago, when I posted the same question. :) > Trying to install mod_perl 1.27 with apache 1.3.26 and perl 5.8.0 on > Solaris 8 using gcc 2.95.2. Same versions as me, except gcc is 2.95.3. :)

Re: apache2, DBD/Oracle problem

2002-08-15 Thread Atsushi Fujita
Hi Fredo, I had a similar problem in similar environment. My simple DBD program worked fine on normal shell and normal apache, but it didn't work under the mod_perl2. It showed error as following in apache error_log. [error_log] DBI->connect(ynt0) failed: (UNKNOWN OCI STATUS 1804) OCIIni

Re: [OT] Re[2]: apache2, DBD/Oracle problem

2002-08-15 Thread Fredo Sartori
Hello Mike, of course: the error message of the listener is correct: theres is no SID sent to the DB server. But, if the same script is run from the command line, the SID is transmitted. Fredo Am Don, 2002-08-15 um 11.34 schrieb Mike P. Mikhailov: > Hello Fredo Sartori, > > Hmm... It looks li

PerlResponseHandler ?

2002-08-15 Thread Paul Simon
Hi All Can somebody answer this for me?  Here are two directives for separate directories(1 and 2) to run under ModPerl::Registry (ModPerl::Registry is being called in via a perl startup.pl):     SetHandler perl-script    PerlResponseHandler ModPerl::Registry    PerlOptions +ParseHeaders    Options

[OT] Re[2]: apache2, DBD/Oracle problem

2002-08-15 Thread Mike P. Mikhailov
Hello Fredo Sartori, Hmm... It looks like a TNS error. TNS-12505 TNS:listener could not resolve SID given in connect descriptor I think it has nothing to do with mod_perl :( Thursday, August 15, 2002, 3:10:59 PM, you wrote: FS> Hello Mike, FS> the code works from the shell as a regular perl

Re: apache2, DBD/Oracle problem

2002-08-15 Thread Fredo Sartori
Hello Mike, the code works from the shell as a regular perl script. The service is correctly resolved with tnsping. Fredo Am Don, 2002-08-15 um 10.05 schrieb Mike P. Mikhailov: > Hello Fredo Sartori, > > You are connecting to Oracle with service specified in connect > string. Does this service

__floatdisf: error Compling mod_perl 1.27, apache 1.3.26 on Solaris 8 with gcc 2.95.2

2002-08-15 Thread tom . robinson
Hello, I'm not having a great day here! :-( Trying to install mod_perl 1.27 with apache 1.3.26 and perl 5.8.0 on Solaris 8 using gcc 2.95.2. I keep getting the following error when I run make test in the mod_perl source tree: letting apache warm up...Syntax error on line 7 of /opt/src/mod_perl

Re: apache2, DBD/Oracle problem

2002-08-15 Thread Mike P. Mikhailov
Hello Fredo Sartori, You are connecting to Oracle with service specified in connect string. Does this service resolves correctly with tnsping ? Does this code work correctly as regular perl script ? Thursday, August 15, 2002, 1:44:34 PM, you wrote: FS> Hi, FS> I have problems connecting to a

Re: mod_perl + Apache::PageKit on Win32 problems

2002-08-15 Thread Randy Kobes
On Thu, 15 Aug 2002, Anton Permyakov wrote: > Randy, thank you, > now it looks like it will work... but my project also uses following > packages i could not install with PPM: > > Class::DBI > Class::DBI::Extension > Ima::DBI > > There are ppd for Class::DBI and Ima::DBI, but PPM says they are

apache2, DBD/Oracle problem

2002-08-15 Thread Fredo Sartori
Hi, I have problems connecting to an Oracle-DB through apache2. A test script, that works fine when run directly from the shell, fails to connect to the Orcacle DB, when run through apache. As far as I can see, the SID is not passed to the DB server. . The

Re: mod_perl + Apache::PageKit on Win32 problems

2002-08-15 Thread Anton Permyakov
Randy, thank you, now it looks like it will work... but my project also uses following packages i could not install with PPM: Class::DBI Class::DBI::Extension Ima::DBI There are ppd for Class::DBI and Ima::DBI, but PPM says they are not for this build of Perl (MSWin32-x86-multi-thread). Is it di