Re: Problems with setting EMBPERL_SESSION_HANDLER_CLASS

2005-01-11 Thread Michael Stepanov
Ryan C. Spaulding wrote: Hi Derrick, I suspect you've forgotten to load Embperl.so. You should add LoadModule embperl_module /some-dirs/Embperl.so before using special Embperl directives like EMBPERL_SESSION_HANDLER_CLASS. ServerAdmin [EMAIL PROTECTED] DocumentRoot /web/testweb/ht

RE: Embperl::Object and query string

2005-01-11 Thread Andrew O'Brien
%fdat is a global for the life of that request, regardless of which file is currently executing. -- Andrew O'Brien > -Original Message- > From: Michael Stepanov [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 12 January 2005 6:50 PM > To: embperl@perl.apache.org > Subject: Embperl::Object

Embperl::Object and query string

2005-01-11 Thread Michael Stepanov
Hi, Recently I've configured Embperl::Object. So, now I'm trying to move an existing web site from Embperl to Embperl::Object. I have a question: how can I use query string? Imagine, I have a link: Test When I press that link script my_link.html will be called inside base.epl. But how about quer

Re: Does escmode param work in 1.3.3 HTML::Embperl::Execute ?

2005-01-11 Thread Pierre Etchemaite
Le mar 11 jan 2005 21:30:52 CET, Pierre Etchemaite <[EMAIL PROTECTED]> a écrit : > (page) > ... > [+ local $escmode=0; UserText($message) +] > ... > > (module) > ... > sub UserText($) { Funny, by googling some more, I've found that I posted that code 4 years ago (Dec' 2000) in this very mailin

Re: Problems with setting EMBPERL_SESSION_HANDLER_CLASS

2005-01-11 Thread Ryan C . Spaulding
Hi Derrick, ServerAdmin [EMAIL PROTECTED] DocumentRoot /web/testweb/htdocs/ ServerName testweb.nas.nasa.gov # # Dav on # RewriteEngine On #RewriteRule ^/iCal(/?.*) https://testweb.nas.nasa.gov/iCal$1 [R,L] #SetEnv EMBPERL_SESS

Re: Problems with setting EMBPERL_SESSION_HANDLER_CLASS

2005-01-11 Thread Derrick Spell
On Jan 11, 2005, at 3:48 PM, Ryan C. Spaulding wrote: Hi, I am currently running: Embperl-2.0rc2-1 httpd-2.0.46 on Redhat Enterprise AS 3.2-1 PerlSetEnv EMBPERL_SESSION_HANDLER_CLASS no With Embperl2, you no longer need the PerlSetEnv. Try taking this out and see if it takes care of the

Problems with setting EMBPERL_SESSION_HANDLER_CLASS

2005-01-11 Thread Ryan C . Spaulding
Hi, I am currently running: Embperl-2.0rc2-1 httpd-2.0.46 on Redhat Enterprise AS 3.2-1 My Apache configuration: ServerAdmin [EMAIL PROTECTED] DocumentRoot /web/testweb/htdocs/ ServerName testweb.nas.nasa.gov RewriteEngine On #SetEnv EMBPERL_SESSION_HANDLER_CLASS no

Does escmode param work in 1.3.3 HTML::Embperl::Execute ?

2005-01-11 Thread Pierre Etchemaite
Hi all, I'm running a forum that runs on Embperl 1.3.3, and I just found a security problem in it, it doesn't filter correctly HTML tags. Since I'm enriching users' texts (to use italics for lines starting with a '>', and to "vivify" urls), I'm not simply using Embperl automatic escaping

Form::Validate Different rules for different submit buttons

2005-01-11 Thread Derrick Spell
Is it possible to use a different set of rules for form validation depending on which of several submit buttons on the form were pressed? I'm guessing no. It seems I have to have Form::Validate do the least common denominator checking, then do any further processing server side after the subm

Re: Embperl::Object configure problems

2005-01-11 Thread Michael Stepanov
Gerald Richter wrote: Looks like you should use Thanks, Gerald, it resolved my problem. Gerald EMBPERL_APPNAME test EMBPERL_OBJECT_BASE base.html EMBPERL_URIMATCH "\.htm.?|\.epl$" SetHandler perl-script PerlHandler Embperl::Object Options ExecCGI

RE: problems when i upgrade my cgi.pm from version 3.00 to 3.05

2005-01-11 Thread Gerald Richter
> > I am having problems when i upgrade my cgi.pm from version > 3.00 to 3.05. (on linux) > > The upload file not function more. When I tried read > $fdat{'filename'}, the read return 0 size. > > Anybody know if exist any problem between embperl 1.3.6 X > mod_perl 1.3.28 X cgi.pm 3.05 ? > Y

problems when i upgrade my cgi.pm from version 3.00 to 3.05

2005-01-11 Thread Mauricio Amorim da Silva
Hi list, I am having problems when i upgrade my cgi.pm from version 3.00 to 3.05. (on linux) The upload file not function more. When I tried read $fdat{'filename'}, the read return 0 size. Anybody know if exist any problem between embperl 1.3.6 X mod_perl 1.3.28 X cgi.pm 3.05 ? Thank you. -

RE: Embperl::Object configure problems

2005-01-11 Thread Gerald Richter
> > Looks like you should use Gerald > EMBPERL_APPNAME test > EMBPERL_OBJECT_BASE base.html > EMBPERL_URIMATCH "\.htm.?|\.epl$" > SetHandler perl-script > PerlHandler Embperl::Object > Options ExecCGI > > > > > And in this case Embperl doesn't work at

Re: Embperl::Object configure problems

2005-01-11 Thread Michael Stepanov
Gerald Richter wrote: For every virtual host define a different name with Embperl_Appname Thanks, I understand that. But I don't understand whole picture. Let's see configuration of Embperl: 1) load mo_perl.so; 2) load Embperl.so; 3) Add new file type - text/html - *.epl; 4) load Embperl.pm; 3)

Re: Embperl::Object configure problems

2005-01-11 Thread Michael Stepanov
Gerald Richter wrote: Thanks, Gerald, for your answer. But I still have a problem with configuration of Embperl::Object. I see in the browser error: Internal Server Error and there are not any error messages into main http error log of virtual host error log. Any suggestions? Are you real

RE: Embperl::Object configure problems

2005-01-11 Thread Gerald Richter
> Sorry for that stupid question but I still have the problem > with configuration of Embperl::Object. Well, I'd like to have > the different configuration of Embper::Object but I couldn't > setup it into ... . Possibly, it > happend because it needs to define configuration directives > befor

RE: Embperl::Object configure problems

2005-01-11 Thread Gerald Richter
> Thanks, Gerald, for your answer. But I still have a problem > with configuration of Embperl::Object. I see in the browser error: > > > Internal Server Error > > > and there are not any error messages into main http error log > of virtual host error log. Any suggestions? > Are you really

Re: Embperl::Object configure problems

2005-01-11 Thread Michael Stepanov
Gerald Richter wrote: SetHandler perl-script PerlHandler Embperl Options ExecCGI Remove this block, or put it in a different block then the Embperl::Object stuff Sorry for that stupid question but I still have the problem with configuration of Embperl::Object. Well, I'd li