Re: EMBPERL_VIRTLOG & EmbperlObject (was: DocumentRoot handled by EmbperlObject)

2001-08-07 Thread Akshay Arora
would it be better to use the directive? SetHandler perl-script PerlHandler HTML::Embperl Options ExecCGI I don't know if this would work or not, but I would have tried this first. Thoren Johne wrote: > > "Gerald Richter" <[EMAIL PROTECTED]> writes: > > > Could you c

Apache and/or Embperl Problem?

2001-08-07 Thread Rick McCloskey
Hi Ya, This query may be better suited for the Apache news group, but perhaps someone here can help me. When running the embperl tests and/or when trying to run an embperl application with Apache the following error message was outputted: httpd: module "" is not compatible with this version of

RE: 2.0b3 and processing "input" fields

2001-08-07 Thread Bill \"Elvis\" Gibbs
Thank you, I will try this. Any ideas on the weird display of the foreach loop I also sent along? Bill "Elvis" Gibbs goEbusiness.com - putting e-motion in your business email - [EMAIL PROTECTED] work - 301-668-5090 cell - 301-748-6938 -Original Message- From: Gerald Richter [mailto:[EMA

Re: EMBPERL_VIRTLOG & EmbperlObject (was: DocumentRoot handled by EmbperlObject)

2001-08-07 Thread Thoren Johne
"Gerald Richter" <[EMAIL PROTECTED]> writes: > Could you change this to > > SetEnv EMBPERL_VIRTLOG /embperl/log/embperl.log > > SetHandler perl-script > PerlHandler HTML::Embperl > Options ExecCGI > > > Does this ch

Re: EP under PWS-IIS 4 doesnt handle session cookies

2001-08-07 Thread Gerald Richter
> > Ah! I do not understand one thing: What should I return in the 3rd parameter > (modified flag) when I do not want to use Apache::Session (Embperl::Session > returns some Apache::Session constant)? > Return a non zero value if the data inside your session hash has been modified during the requ

Re: EP under PWS-IIS 4 doesnt handle session cookies

2001-08-07 Thread Gerald Richter
> I`m coding session handler and I noticed that EP under CGI on my PWS 4 > doesn`t call SetSessionCookie. Why? Is it a bug? > It's handled in the C code. SetSessionCookie is only there if you want to Set the SessionCookie from outside (e.g. from another handler). The C code call the getids fun

Re: Writing my own session handler

2001-08-07 Thread Gerald Richter
> I think it is set automatically to 2 when it passes all > tests around line 369. > Yes, that's what I meant Gerald - Gerald Richterecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Co

Re: Writing my own session handler

2001-08-07 Thread Lukas Zapletal
>Maybe it would be better to only write your own Storage class, while still >using the Apache::Session framework ? Apache::Session is too complicated... >Otherwise you have to provide a tied hash along with the methods setid, >getids and clear as described in HTML::Embperl::Session Done. But it

Fw: mod_perl-1.26 - apache_1.3.20 - mac osX

2001-08-07 Thread Gerald Richter
There were some quesitions about running Embperl on Mac OS X in the past. Maybe the following mail helps... - Original Message - From: "Kee Hinckley" <[EMAIL PROTECTED]> To: "Ken Williams" <[EMAIL PROTECTED]> Cc: "allan" <[EMAIL PROTECTED]>; "modperl" <[EMAIL PROTECTED]>; <[EMAIL PROTECT

Re: Restricting what files can be Executed

2001-08-07 Thread Gerald Richter
> > Is there a way I can set in the web server configuration, which files can be > run through HTML::Embperl::Execute (to stop a developer being able to give > away password files and so forth)? > > I imagine being able to give a list of acceptable directories would be the > answer. > At the mome

Re: Embperl 2.0b3 logging

2001-08-07 Thread Gerald Richter
> Thanks - would this be slowing Embperl 2 down? If anything is written to disk, then it will slow down. If it goes to /dev/null, I can't say how much it slows down. > The performance improvement > I'm seeing on more complicated parts of the site is about 10% which, while > significant, is a li

Re: EPO examples

2001-08-07 Thread Gerald Richter
> > If I need to have object`s methods in a separate file is this only one way > to do it? I mean using obj = Execute({object=>foo}); > If you want to have methods that mixes HTML and Perl, then the anwser is yes. For pure Perl methods you just use a normal Perl module Gerald -

Re: Writing my own session handler

2001-08-07 Thread Gerald Richter
> Hello, I need to write my own session handler class. How can I do it? I do > not want to use Apache::Session. > Maybe it would be better to only write your own Storage class, while still using the Apache::Session framework ? Otherwise you have to provide a tied hash along with the methods seti