Re: Apache::src not available during Embperl install

2002-09-26 Thread Gerald Richter
Hi, > > The change you suggested (eval 'use Apache_*2*_::BuildConfig' ) wasn't > enough to find the BuildConfig.pm module. I would have needed to change > it to Apache2::Apache::BuildConfig, but then the change would be > necessary for every module accessed from the Apache:: reference in > Makef

Re: Apache::src not available during Embperl install

2002-09-26 Thread Paul Dyer
Hi, The change you suggested (eval 'use Apache_*2*_::BuildConfig' ) wasn't enough to find the BuildConfig.pm module. I would have needed to change it to Apache2::Apache::BuildConfig, but then the change would be necessary for every module accessed from the Apache:: reference in Makefile.PL.

Re: Apache::src not available during Embperl install

2002-09-26 Thread Gerald Richter
> Thanks, I have followed your lead and have a some progress. I needed to > add one library to the @INC array. I did this by using the following: > > export > PERL5LIB=/usr/local/lib/perl5/site_perl/5.8.0/i686-linux-thread-multi/Apache 2 > > This was done to find BuildConfig.pm, which is locat

Re: Session support

2002-09-26 Thread Gerald Richter
> > Not sure what is the best for serialization. Bas64, Dumper, ...?? > I haven't been able to find any discussion about pro / con for this. > As far as I know you should use Base64 for Postgres Gerald - Gerald Richterecos elect

Re: utf-8 in 1.3.x

2002-09-26 Thread Gerald Richter
> Is there anyway to get proper escaping of strings when I'm using > UTF-8 encoding? Right now I print them with my own subroutine which > sets $escmode to 0 and then escapes <>&. Compiling Embperl with epchar.c.min instead of epchar.c (copy epchar.c.min to epchar.c) should work with utf8 Ger

Re: Passing parameters to XSLT style sheet?

2002-09-26 Thread Gerald Richter
> Is there a way to pass parameters to a XSLT style sheet from Execute so > that it can be used with ? > Yes: Execute({inputfile => 'foo.xml', recipe => 'XSLT', xsltstylesheet => 'foo.xsl', xsltparam => {'foo' => 'bar'}}); If bar should be a string (and not a node set) it must be quoted e.g.

Re: cookie-less sessions

2002-09-26 Thread Gerald Richter
> > This didn't work, but > $r -> session_id(undef); > worked. > Yes, of course it a method > While the 'EMBPERL_UID=...' is not inserted any more, the '?' still is. > Setting it to undef should also avoid the '?'. Don't know why this happens. I have to look more deeply into that Gerald

Re: Buglet with img tags

2002-09-26 Thread Gerald Richter
> > If I insert more spaces it works correctly. But it is important for me that > there are no spaces, because I want to have the two images (one from base.epl, > one from index.html) right next to each other. Spaces do matter in HTML files > occasionally. > Could you try if working a comment in

Re: Apache::src not available during Embperl install

2002-09-26 Thread Paul Dyer
Thanks, I have followed your lead and have a some progress. I needed to add one library to the @INC array. I did this by using the following: export PERL5LIB=/usr/local/lib/perl5/site_perl/5.8.0/i686-linux-thread-multi/Apache2 This was done to find BuildConfig.pm, which is located in the Apa

Re: Re: Problem starting Apache w/ mod_perl2 + Embperl 2.0b8

2002-09-26 Thread Adrian Ghizaru
Hello! > Do you have a ClearModuleList directive in your httpd.conf? If yes, you need > to remove it > Maybe here is the problem? Use_E_nv instead of Use_e_nv? Without the > "_"'s of course Thanks for the input, but I don't have any ClearModuleList directive, and Apache config file is case ins

Re: Session support

2002-09-26 Thread Kaare Rasmussen
> in there somewhere will be the actual SQL statement being used, which > should give some clues as to whats going wrong. Thanks. I got it to work with Postgres Semaphore Base64 Not sure what is the best for serialization. Bas64, Dumper, ...?? I haven't been able to find any discussion about p

utf-8 in 1.3.x

2002-09-26 Thread Kee Hinckley
Is there anyway to get proper escaping of strings when I'm using UTF-8 encoding? Right now I print them with my own subroutine which sets $escmode to 0 and then escapes <>&. -- Kee Hinckley - Somewhere.Com, LLC http://consulting.somewhere.com/ I'm not sure which upsets me more: that people a

Passing parameters to XSLT style sheet?

2002-09-26 Thread Jochen Topf
Is there a way to pass parameters to a XSLT style sheet from Execute so that it can be used with ? Something like: Execute({inputfile => 'foo.xml', recipe => 'XSLT', xsltstylesheet => 'foo.xsl', param => ['foo' => 'bar']}); for setting Jochen -- Jochen Topf [EMAIL PROTECTED]

Re: cookie-less sessions

2002-09-26 Thread Jochen Topf
On Thu, Sep 26, 2002 at 10:24:25AM +0200, Gerald Richter wrote: > > I am using cookie-less-sessions with Embperl-2.0b8. This works ok, but I > > always have sessions, even if I didn't use %udat. I am trying to have a > web > > site that doesn't use sessions until you log in, then uses sessions and

Re: Buglet with img tags

2002-09-26 Thread Jochen Topf
On Thu, Sep 26, 2002 at 10:16:18AM +0200, Gerald Richter wrote: > It may also be a problem with tables, could you try to insert some spaces or > maybe some test tex between the img tag and and /td /tr tages: > > > > > base.epl: > > -

Re: Problem starting Apache w/ mod_perl2 + Embperl 2.0b8

2002-09-26 Thread Gerald Richter
>I have recently upgraded Apache from 2.0.39 to .40 (w/ the subsequent recompilation of >modperl 2 and Embperl 2.0b8) and, with the same configuration that previously worked >perfectly, I now receive an error from apache saying > >Invalid command 'Embperl_UseEnv', perhaps mis-spelled or defined b

Re: Apache::src not available during Embperl install

2002-09-26 Thread Gerald Richter
> > 3) mod_perl 2 -> "perl Makefile.PL MP_AP_PREFIX=/usr/local/apache2 >MP_INST_APACHE2=1" >make, make test, make install > the MP_INST_APACHE2 seems to be the problem. In Embperl Makefile.PL line 511, please change eval 'use Ap

Re: cookie-less sessions

2002-09-26 Thread Gerald Richter
> I am using cookie-less-sessions with Embperl-2.0b8. This works ok, but I > always have sessions, even if I didn't use %udat. I am trying to have a web > site that doesn't use sessions until you log in, then uses sessions and > if you logout it gets rid of the session again. This seems to work fi

Re: Buglet with img tags

2002-09-26 Thread Gerald Richter
It may also be a problem with tables, could you try to insert some spaces or maybe some test tex between the img tag and and /td /tr tages: > > base.epl: > - > > test > > [- Execute('*'); -] >

Re: Problem starting Apache w/ mod_perl2 + Embperl 2.0b8

2002-09-26 Thread Ulrike Schepp
Hi! On Wed, 2 Oct 2002, Adrian Ghizaru wrote: > Invalid command 'Embperl_UseEnv', perhaps mis-spelled or defined by --- [...] > Embperl_Useenv on --- Maybe here is the problem? Use_E_nv instead of Use_e_nv? Without the "_"'s of course Regards Ulrike