Re: CGI.pm problem

2001-10-30 Thread Cees Hek
On Wed, 31 Oct 2001 02:31, you wrote: > Hello, > > When I try to make a CGI object in my Apache/mod_perl handler a la $q = > CGI->new(); The server just don't reply. Actually it works just fine > until I try to submit a form, then it just hangs and Apache doesn't send > anything back. If I remove

Re: PerlModule not updating %INC

2001-10-30 Thread David Pisoni
I'm still having this problem, and I've discovered that it is also happening on my darwin box. This is enough to lead me to believe the problem is bona fide. To recap: problem occurs on : Darwin (MacOS X) Perl 5.6.0 / Apache 1.3.20 / mod_perl 1.26 Red-Hat Linux (7.1) Perl 5.6.0

Re: Apache 1.3.22 and modperl 1.26.

2001-10-30 Thread Steve Piner
Brad Dameron wrote: > I installed mod perl and php 4 into along with apache 1.3.22. When I add the > following: > > > > AddHandler perl-script .cgi > PerlHandler HTML::Mason > > > require "/var/conf/apache/handler.pl"; > > > > and then try to start apache I get this error: > > Syntax

Re: Exporting C++ class to Perl?

2001-10-30 Thread Toni Andjelkovic
Vlad Safronov wrote on Tue, Oct 30 2001 (19:26:40 +0300): > How can I export C++ class and its interface to Perl? http://www.johnkeiser.com/perl-xs-c++.html cu, -- Toni Andjelkovic <[EMAIL PROTECTED]>

Re: Persistant Data shared with other applications

2001-10-30 Thread ryc
Yes that situation can occur when the two files are part of the same package... despite having different file names mod_perl treats them as the same since they have the same package name. This will give you the strange behavior that you just described. Could this be your problem? ryan - Orig

Persistant Data shared with other applications

2001-10-30 Thread Kenny Smith
Hi there, I'm seeing a strange bit of behavior and wanted to find out if anyone else is having this problem. I have two scripts, index.mod_perl and grapevine.mod_perl. They both use HTML::Template to generate their output. The template is not persistant between requests, but $main::tokens is pe

Re: Exporting C++ class to Perl?

2001-10-30 Thread Steven Lembark
-- Vlad Safronov <[EMAIL PROTECTED]> > Hi, > > How can I export C++ class and its interface to Perl? > Is it just like exporting simple C function to Perl (in perlxs doc. > example)? > Is there good (not big) CPAN examples for this problem? perl -MCPAN -e shell; get Inline -- Steven Lembark

Exporting C++ class to Perl?

2001-10-30 Thread Vlad Safronov
Hi, How can I export C++ class and its interface to Perl? Is it just like exporting simple C function to Perl (in perlxs doc. example)? Is there good (not big) CPAN examples for this problem? Vlad.

Re: Should i lock DB_File for read-only access?

2001-10-30 Thread Perrin Harkins
> If i run this code from command line or under mod_cgi, it work fine. > But if it run repeatedly under mod_perl, it occasionally give me a > "database access timeout" message (see code above), but error value $! > still empty. What return value are you getting from tie? Incidentally, since thi

Re: CGI.pm problem

2001-10-30 Thread Ken Y. Clark
On Tue, 30 Oct 2001, Viljo Marrandi wrote: > Date: Tue, 30 Oct 2001 17:31:15 +0200 > From: Viljo Marrandi <[EMAIL PROTECTED]> > To: modperl list <[EMAIL PROTECTED]> > Subject: CGI.pm problem > > Hello, > > When I try to make a CGI object in my Apache/mod_perl handler a la $q = > CGI->new(); The s

Apache::Compress - any caveats?

2001-10-30 Thread Igor Sysoev
I had developed Apache module mod_deflate that allow to gzip or deflate content: ftp://ftp.lexa.ru/pub/apache-rus/contrib/mod_deflate-1.0.7.tar.gz This module tested at one of the loaded Russian sites - www.rambler.ru and several other small Russian sites. Documentation in Russion only but ba

CGI.pm problem

2001-10-30 Thread Viljo Marrandi
Hello, When I try to make a CGI object in my Apache/mod_perl handler a la $q = CGI->new(); The server just don't reply. Actually it works just fine until I try to submit a form, then it just hangs and Apache doesn't send anything back. If I remove this object creation line, then I can submit my f

Re: Should i lock DB_File for read-only access?

2001-10-30 Thread Stas Bekman
Dmitry E. Dmitriev wrote: > Hi ALL! > > Should i still lock my dbm files accessed from cgi under mod_perl if i > need only read from them? Not my program nor any others never will write > to > this files. Nope, you don't have to. In any case the used lock (flock) is usually advisory, which m

Re: [OT] P3P policies and IE 6 (something to be aware of)

2001-10-30 Thread Robin Berjon
On Tuesday 30 October 2001 13:16, Geoffrey Young wrote: > someone ought to come up with Apache::P3P that can manage the P3P header > generation and has an API for creating the policy file and compact policy > offline or something. +1 on that ! If anyone feels like undertaking this task, imho the

Re: [OT] P3P policies and IE 6 (something to be aware of)

2001-10-30 Thread Tatsuhiko Miyagawa
On Tue, 30 Oct 2001 07:16:20 -0500 Geoffrey Young <[EMAIL PROTECTED]> wrote: > someone ought to come up with Apache::P3P that can manage the P3P header > generation and has an API for creating the policy file and compact policy > offline or something. Apache::P3P is not on CPAN, but is there! ht

Re: [OT] P3P policies and IE 6 (something to be aware of)

2001-10-30 Thread Tatsuhiko Miyagawa
On Tue, 30 Oct 2001 02:05:18 + Mark Maunder <[EMAIL PROTECTED]> wrote: > my $p3p_compact_policy = "CP=\"ALL DSP COR CURa ADMa DEVa TAIa PSAa PSDa > IVAa IVDa CONa TELa OUR STP UNI NAV STA PRE\""; > $r->err_header_out(P3P => $p3p_compact_policy); > $r->header_out(P3P => $p3p_compact_policy);

RE: [OT] P3P policies and IE 6 (something to be aware of)

2001-10-30 Thread Geoffrey Young
> Here's how you set up a compact P3P policy under mod_perl: > > #This policy will make IE6 accept your cookies as a third > party, but you > should generate > # your own policy using one of the apps at the W3C site. > my $p3p_compact_policy = "CP=\"ALL DSP COR CURa ADMa DEVa > TAIa PSAa PSDa >

Should i lock DB_File for read-only access?

2001-10-30 Thread Dmitry E. Dmitriev
Hi ALL! Should i still lock my dbm files accessed from cgi under mod_perl if i need only read from them? Not my program nor any others never will write to this files. I have a problem with code: use DB_File; use strict; my %fields; my $fieldsdb='/path/to/db_file'; some code there