Hi
I'm using RedHat6.2 + mod_perl 1.21 + perl 5.005_003 + Apache 1.3.12 (all
instaled with RH6.2) + X (gnome + kde). I instaled Oracle 8.1.6 + modles
Hires + DBI 1.14 + DBD-Oracle 1.06.
I write simple script :
#!/usr/bin/perl
use DBI;
my ( $inst, $user, $pass, $dbh);
print "Content-type:
Maybe I'm missing something here, but can't you just use
use strict;
use vars qw(%config %session);
or better yet, fully qualify your variables
%MyApp::Framework::config;
%MyApp::Framework::session;
The mod_perl guide has excellent sections on this:
Where I'm getting hosed is that %config and %session have data
I need visible to the Text::Template objects themselves. I've
RTFM'ed until my eyes are pink, and I see no options short of
copying variables wholesale into another Package, but then I
still can't get at them and "use strict"
Hi there,
On Fri, 26 Jan 2001, Irek wrote:
When I started this script in httpd in mod_perl like
http://_adres_/mod-perl/ora_test.cgi script writes only POINT1 !!
Have you looked in the error_log?
73,
Ged.
Are you thinking about httpd log ?
After restart httpd:
/var/log/httpd/access_log:
193.59.181.45 - - [26/Jan/2001:11:12:29 +0100] "GET /cgi-bin/ora_test.cgi
HTTP/1.1" 200 60
193.59.181.45 - - [26/Jan/2001:11:12:39 +0100] "GET /mod-perl/ora_test.cgi
HTTP/1.1" 200 28
/var/log/httpd/error_log:
/var/log/httpd/error_log:
[Fri Jan 26 11:12:16 2001] [notice] Apache/1.3.12 (Unix) (Red Hat/Linux)
PHP/3.0.15 mod_perl/1.21 configured -- resuming normal operations
empty
What else ???//
Regards
Irek Smaczny
If you have RaiseError = 1 in your DBI-connect() you will
get
Hello
It is my first install of perl and i have
problem
I have install APACHE 10.3.14 with APXS, PHP 4.0.3
pl1 with APXS, mysql and mod_perl-1.24_01 with apxs
apache, php and mysql are ok
perl is install but i can't use it
can you help me about
- configuration of httpd.conf for perl
-
-Original Message-
From: Irek [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 26, 2001 6:52 AM
To: mod_perl list
Subject: Re: Can't connect to Oracle in mod_perl
Use of inherited AUTOLOAD for non-method DBD::Oracle::ORA_OCI() is
deprecated at
Could you help me with this sollution ?
I understand, that I must change Makefile.PL line
$::opt_b = 1
to
$::opt_b = 0
It is correct ? (and install again)
Regards
Irek Smaczny
Hi there,
On Fri, 26 Jan 2001, initiative.fr : COUTEL Jean-Francois wrote:
It is my first install of perl and i have problem
I have install APACHE 10.3.14 with APXS, PHP 4.0.3 pl1 with APXS, mysql and
mod_perl-1.24_01 with apxs
apache, php and mysql are ok
perl is install but i can't
Yes, now it is OK
THANK YOU !!
THX :-)))
Regards
Irek Smaczny
All,
Having read the writing apaches module book, I have noted all the examples
for installing handlers use the Location directive. Are there any hidden
side affects from setting up a handler within an Apache Directory directive?
Thanks for any advice!
AS
I would suggest that you visit www.apachetoolbox.com and get the
toolbox. Use that to install. Since it uses sources that are known to
work with each other, it should be relatively painless. It should come
off without a hitch. Also, next time you post, you might want to
mention what your
On Thu, 4 Jan 2001, Vivek Khera wrote:
In answering another question today, I noticed that the variable
$Apache::Registry::NameWithVirtualHost is not documented in the
perldoc for Apache::Registry.
While scanning the Registry.pm file, I further noticed that there is a
call to
On Tue, 9 Jan 2001, Stas Bekman wrote:
I was rewriting the detecting 'STOP' button pressed section in the guide,
to notice that Apache::SIG kills the process under Apache::Registry.
httpd.conf:
PerlFixupHandler Apache::SIG
why are you using Apache::SIG at all? its no longer required
On Tue, 9 Jan 2001, Stas Bekman wrote:
I've lost the original email, but this is reply from Doug to my
email. I've asked to confirm that PERL5LIB is ignored with PerlTaintMode
is on. Apparently the Perl docs say a different thing...
Anybody has any insights about this situation? Does it
On Thu, 25 Jan 2001, Doug MacEachern wrote:
hmm, seems to be a couple of these.
there is no 'loadable object file' for Apache::Constants, its linked
static by default (changed only if you pass DYNAMIC=1 to
Makefile.PL). what does src/modules/perl/perlxsi.c look like in your
apache-x.xx
On Fri, 26 Jan 2001, Mark A. Downing wrote:
and it appears that there is NO perlxsi.c in /apache_1.3.14/src/modules/perl
hmm, i don't see how that's possible, mod_perl will not compile without
it.
i just tried with the same Makefile.PL options and Perl version, no
problems.
what does this
On Thu, 25 Jan 2001 [EMAIL PROTECTED] wrote:
I've been getting these occassional errors from libapreq, 1 every couple
days:
[Thu Jan 25 15:54:33 2001] [error] [client 64.12.102.22] [libapreq]
unknown content-type: `applicationontent-Type: application/x-www-form-urlencoded\'
It's always
I've been getting these occassional errors from libapreq, 1 every couple
days:
[Thu Jan 25 15:54:33 2001] [error] [client 64.12.102.22] [libapreq]
unknown content-type: `applicationontent-Type:
application/x-www-form-urlencoded\'
Alright, I'm gonna toss my $.02 into this:
This
Hello everyone, I was hoping someone could help me with this...
I'm running postgres 7.02 on redhat 6.2, apache 1.3.14 and mod_perl
1.24_01. I'm also using perl modules DBI 1.14 and DBD-Pg-0.95 to acces
the Postgres database.
Everytime my inventory file gets updated, I would like to have the
I've been trying to install mod_perl 1.24_01 the following way: (with perl
5.6.0)
perl Makefile.PL \
APACHE_PREFIX=/usr/local/apache \
APACHE_SRC=../apache_1.3.14/src \
DO_HTTPD=1 \
USE_APACI=1 \
EVERYTHING=1 \
APACI_ARGS='--enable-module=rewrite --enable-module=expires
Unfortunately the following line doesn't work:
eval "*{\$fullname}($p) = sub {}";
It probably should be:
eval "*{\$fullname} = sub ($p) {}";
The latter works on my Linux and Solaris tests.
Wenzhong Tang
[EMAIL PROTECTED]
-Original Message-
From: Doug MacEachern [mailto:[EMAIL
On Fri, 26 Jan 2001, Doug MacEachern wrote:
On Fri, 26 Jan 2001, Mark A. Downing wrote:
and it appears that there is NO perlxsi.c in /apache_1.3.14/src/modules/perl
hmm, i don't see how that's possible, mod_perl will not compile without
it.
UM... I just recompiled mod_perl and
Not sure if this is the right list, but.. I'm running mod_perl on RedHat 7.
I installed the new PHP updates and all of a sudden it broke mod_perl.. I
get this in my error_log
[Fri Jan 26 15:49:20 2001] [notice] child pid 7766 exit signal Segmentation
fault (11)
[Fri Jan 26 15:49:21 2001]
I am trying to build mod_perl with apache, but cant get through iunitial
make.
I got apache 1.3.14 src and mod_perl
untared them, and run
perl Makefile.PL APACHE_SRC=../apache/src DO_HTTPD=1 USE_APACI=1
EVERYTHING=1
i get this:
Will configure via APACI
Enter `q' to stop search
Please tell me
when I run make test I get this:
cc -c -fno-strict-aliasing -I/usr/local/include -O -DVERSION=\"1.31\"
-DXS_VERSION=\"1.31\" -DPIC -fpic -I/usr/local/lib/perl5/5.6.0/i386-freebsd
/CORE Symbol.c
Symbol.xs: In function `XS_Apache__Symbol_cv_const_sv':
Symbol.xs:106: `na' undeclared (first
when I run make test I get this:
cc -c -fno-strict-aliasing -I/usr/local/include -O -DVERSION=\"1.31\"
-DXS_VERSION=\"1.31\" -DPIC -fpic -I/usr/local/lib/perl5/5.6.0/i386-freebsd
/CORE Symbol.c
Symbol.xs: In function `XS_Apache__Symbol_cv_const_sv':
Symbol.xs:106: `na' undeclared (first
dougm 01/01/26 08:42:50
Modified:src/modules/perl Makefile
Log:
fix for the Config.pm overridding mechanism (used for stripping lfs flags, etc)
Revision ChangesPath
1.13 +3 -3 modperl/src/modules/perl/Makefile
Index: Makefile
dougm 01/01/26 10:37:50
Modified:t/net/perl api.pl
Log:
disabling this new test for now, worrried it might not work on all architectures
Revision ChangesPath
1.44 +1 -1 modperl/t/net/perl/api.pl
Index: api.pl
30 matches
Mail list logo