>
> @HTML::Embperl::DOC::_3::ISA = ();
>
> Any suggestions as to where to go looking to track this down?
I guess one/some of your pages causes the @ISA (unintentionaly) to be
cleared. Maybe you use a module inside one of your pages that does it. Maybe
something in EmbperlObject went wrong and c
>
> sub f( $ )
> {
> Apache::Include->virtual( shift );
> }
>
The problem with sub-request (as long as they don't refer to Embperl pages),
is that the output is always directly send to the browser, you can't
intercept it (expection: when the subrequest runs a perl script, then set
optRedirect
> I include a module X.pm in Apache's startup.pl, which has a public
> function f. I share this public function with Embperl by calling
>
> my $cp = HTML::Embperl::AddCompartment( 'SafeCompartment' );
> $cp->share_from( 'X', [ 'f' ] );
>
> after HTML::Embperl has been loaded. When I define optSa
Hi Gerald,
On Wed, Jan 10, 2001 at 06:42:43AM +0100, Gerald Richter wrote:
> > checking out the affected package with Apache::Status, shows it still
> > has all the variables, etc i'd expect to see. none of my pages touch
> > @ISA, and Apache::Status doesn't list it as defined for any embperl
> >
I separated my Perl code into a global file HtmlTools.pm which I include
in startup.pl, and per-page code. HtmlTools contains a function f which
executes
sub f( $ )
{
Apache::Include->virtual( shift );
}
If f is called from within the per-page code, two sets of headers are sent
if optEarlyHt
I include a module X.pm in Apache's startup.pl, which has a public
function f. I share this public function with Embperl by calling
my $cp = HTML::Embperl::AddCompartment( 'SafeCompartment' );
$cp->share_from( 'X', [ 'f' ] );
after HTML::Embperl has been loaded. When I define optSafeNameSpace an
> > > My question is... how can I get the same behaviour in my intranet
portal
> > > code below?
> >
> > You can try to reset the http status, just before the end of the request
> > (after executeing the footer)
> >
> > $req_rec -> status (200) ;
> >
> > but I am not sure if this works.
>
> Nope,
> I made it work finally. I had to add -export-dynamic to the linker flags
> for httpd so that its symbols are visible.
Great to know. This goes imediately to the FAQ!
> Now I am puzzled as to how it
> works for anyone else.
>
Most Unix linkers have this flag on by default, so it works, but s
>
> Is there a better way of writing the following line?
>
> [+ `/var/www/intranet/parts/foo.pl` +]
>
> I want to make sure that I'm still taking advantage of mod_perl, and not
> loading up the perl intepreter for each call of foo.pl.
>
[-
# instead of setting STDOUT to OUT (via select), you can
Gerald Richter wrote:
>
> >
> > My question is... how can I get the same behaviour in my intranet portal
> > code below?
>
> You can try to reset the http status, just before the end of the request
> (after executeing the footer)
>
> $req_rec -> status (200) ;
>
> but I am not sure if this wor
Yep, I've got it working with no problems, just not on production yet; did you compile
from source?
Ilia Lobsanov.
Nurey Networks Inc.
http://www.nurey.net/
Original Message:
-
From: Michael Dean [EMAIL PROTECTED]
Date: Sun, 14 Jan 2001 09:41:48 +1000 (EST)
Subject: mod_gzip an
Hi Everyone,
I've been wanting to include the output of pure perl scripts in my
Embperl pages.
Is there a better way of writing the following line?
[+ `/var/www/intranet/parts/foo.pl` +]
I want to make sure that I'm still taking advantage of mod_perl, and not
loading up the perl intepreter fo
I made it work finally. I had to add -export-dynamic to the linker flags
for httpd so that its symbols are visible. Now I am puzzled as to how it
works for anyone else.
-mike
On Mon, 15 Jan 2001, Gerald Richter wrote:
>
>
> > Using FreeBSD 4.1, Apache 1.3.14, mod_ssl 0.9.6, mod_perl 1.24, Perl
> > ld: 0711-317 ERROR: Undefined symbol: .ap_palloc
These are symbols from the Apache core, there is an export file missing
on the linker line. I believe using this export file was added in later
mod_perl versions.
> > aix-4.3.3
> > apache-1.3.12
> > mod_perl-1.24
Use at least mod_perl-1.24_1,
hi,
>
> I've been looking the man pages, and I couldn't find a way to make
> those magic %udat cookies expire. I can empty them server-side, but, as
> usual, it's better if the client does it for me ;)
>
> Just in case it's a new feature, I'm running a faily old
> version:
>
> perl -MHTML:
hi,
I've been looking the man pages, and I couldn't find a way to make
those magic %udat cookies expire. I can empty them server-side, but, as
usual, it's better if the client does it for me ;)
Just in case it's a new feature, I'm running a faily old
version:
perl -MHTML::Embpe
>
> mod_gzip lives here
>
> http://www.remotecommunications.com/apache/mod_gzip/
>
I didn't have tried it out, but form the docs it looks like adding
mod_gzip_item_include !perl-script
should work.
Let me know if it really works or not
Gerald
-
17 matches
Mail list logo