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
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
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
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
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
>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
> > 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
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
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
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
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
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
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
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]>
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'
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
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
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,
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
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
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
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
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
[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
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
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
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
[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. :)
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
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
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
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
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
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
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
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
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
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
38 matches
Mail list logo