Re: Embperl Wishes and comments

2003-08-03 Thread Cameron McBride
On Sun, Aug 03, 2003 at 03:23:57PM -0400, Kee Hinckley wrote: > Yes. Imports and library loads in general are not inherited. That's > also true in EmbperlObject and I find it somewhat of a pain there as > well. I'd like to keep those components as simple as possible, which > means not having

Re: Single Form - Multiple Destinations

2003-07-24 Thread Cameron McBride
On Thu, Jul 24, 2003 at 08:55:47AM -0700, Sean Howard wrote: > My first instinct on this would be to a javascript onClick() > event on the button, which triggers a function that changes the form's > action attribute based on which button they clicked, then submit the > form. The function wou

Re: incompatible epapinit.c file error

2003-07-24 Thread Cameron McBride
On Tue, Jul 22, 2003 at 08:54:53PM -0700, Richard Schilling wrote: > httpd-2.0.47 you mentioned building HTML::Embperl. You don't mean a 1.x version of Embperl, do you? If you do - I do not think they work with any of the 2.x versions of apache. Cameron

Re: incompatible epapinit.c file error

2003-07-22 Thread Cameron McBride
On Tue, Jul 22, 2003 at 04:20:58PM -0700, Richard Schilling wrote: > # ../bin/apachectl start > httpd: module "epapinit.c" is not compatible with this version of > Apache (found 19990320, need 20020903). > Please contact the vendor for the correct version. what version of apache? Cameron --

Re: Execute without __PACKAGE__

2003-06-17 Thread Cameron McBride
> I have an additional question: > What is the "isa" parameter and how can i use it?, i did not see it in the > embperl documentation in the site http://perl.apache.org/embperl I'm not sure where it is on the site, but its documented as part of the Execute command. Usage would be something like t

Re: How to execute an epl as if url parms were passed?

2003-01-23 Thread Cameron McBride
> This is not right, Kee. The URL parameters are NOT part of $fdat when you > POST data so passing the URL parameters to the Execute'd page in $fdat is not > right. perhaps this is an ignorant statement (mine that I am about to make), but why are you trying to use both POST and GET parameters?

Re: Update ...

2002-12-17 Thread Cameron McBride
> I am using Embperl 1.3.4 > > and its pumping 1000s of those lines every minute > into /tmp/embperl.log will any one please help well, if everything seems to be working - just turn off the logging until you figure out why. (I assume you have enough sampling of the error message). ;-) PerlSetEn

Re: embperl hosting

2002-12-08 Thread Cameron McBride
I haven't started an account yet, so I can't speak of them personally - but from the reports I've heard this is nice. They have HTML::Embperl in the list, but perhaps they have a newer version as well. http://rootr.net Cameron

Re: I admit....

2002-11-24 Thread Cameron McBride
On Sun, Nov 24, 2002 at 11:01:15PM -0500, David Williams wrote: > I admit that my legacy embperl code really sucks. Unfortunately there's > thousands of lines of it and I have angry customers who are waiting for the > upgrade to be complete, so I am asking for something more than criticism of > old

Re: Prblems with apache, modperl and embperl

2002-11-18 Thread Cameron McBride
I think you just need to load the Embperl module. > Here a snipped of httpd.conf: > > ... > LoadModule perl_module modules/mod_perl.so > PerModule Apache2 > LoadModule embperl_module modules/Embperl.so PerlModule Embperl > ... > > EMBPERL_OPTIONS 16 > EMBPERL_APPNAME application [snip] For a

Re: Embperl::Object 2.0b9 offline

2002-11-14 Thread Cameron McBride
> > Using 2.0b8, I get the same error. Unless I messed up the syntax > > somewhere, it appears that the 'object_addpath' is the culprit and > > is not functioning correctly. > > > > Try to pass a array ref to object_addpath Nope, still doesn't work for 2.0b8, with the error remaining and a

Re: Embperl::Object 2.0b9 offline

2002-11-14 Thread Cameron McBride
> that doesn't help. > > > this is what i get when i run the code snippet in question: > > > > > > ERR: 404: : Not found '_base.epl', searched: > > try to add the parameter > > > > app_name => 'foo' Using 2.0b8, I get the same error. Unless I messed up the syntax somewhere, it appears that

Re: request object in imported subroutines

2002-09-19 Thread Cameron McBride
On Thu, Sep 19, 2002 at 03:15:12PM +0200, Andre Landwehr wrote: > [- $req = shift; -] > [- Execute ({inputfile => 'functions.epo', import => 1}); -] > [- > logprint ("bla bla bla"); # <- this is the function > print OUT "my log: $req->{log}"; # here it works > -] > > functions.epo: > [$ sub

Re: Question about preserving whitespace...

2002-09-10 Thread Cameron McBride
> I even tried tossing in a [- print "\n" -] statement, to no avail! did you try to print to the 'OUT' filehandle? [- print OUT "\n" -] I also do not understand why your whitespace is being removed, but perhaps the above will help (sorry - untested). Cameron --

Re: problem using Apache::Session

2002-09-04 Thread Cameron McBride
Doh. Sorry. Must remember to read _ALL_ posts _BEFORE_ responding. Cameron On Wed, Sep 04, 2002 at 08:13:15AM -0400, Cameron McBride wrote: > > Forgive me if I'm missing an obvious joke, but I've never heard of Apache: > > :SessionX, and I can't find it men

Re: problem using Apache::Session

2002-09-04 Thread Cameron McBride
> Forgive me if I'm missing an obvious joke, but I've never heard of Apache: > :SessionX, and I can't find it mentioned in any of the Apache::Session > docs. Apache::SessionX is an extended session module written by Richter. It is not the same module as Apache::Session. If you hear about a per

Re: Why is it so hard to find embperl on perl.apache.org?

2002-08-30 Thread Cameron McBride
> The point is that I can't find any links to that from > http://perl.apache.org/. If you didn't know you were looking for > embperl, but just wanted to find a tool to use with mod_perl, you'd Hmmm, I found link - and its analogous to the placement of the previous design. In clicks: http://p

Re: DirectoryIndex file in Embperl::Object, a quick solution

2002-08-12 Thread Cameron McBride
> A few days back I came to you with a problem concerning > Embperl::Object not using Apache's DirectoryIndex directive. Gerald > Richter unfortunately informed me it is indeed a known issue and will > be worked on. He also suggested a workaround. In case you missed it, I quote: >> Yes, tha

Re: Fresher to EmbPerl

2002-07-31 Thread Cameron McBride
> I'm a fresher for EmbPerl. M aware of CGI-Perl. Can anybody pl. help > me out as to how can i start my way to EmbPerl. I need few details > regarding as to where the embperl program should be stored and a small > hello world program in embperl. Wating for replies.. Embperl should be stored wher

Re: Errors running make test on HTML::Embperl

2002-06-22 Thread Cameron McBride
> ache/SessionX.pm in @INC (@INC contains: > /home/working/HTML-Embperl-1.3.4/blib/arch /home/working/HTML-Embperl-1.3. > 4/blib/lib . /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 > /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/li > b/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl > /h

Re: How to get at constant.epl from outside the web evironment?

2002-06-12 Thread Cameron McBride
On Wed, Jun 12, 2002 at 02:33:43PM -0700, Scott Chapman wrote: > I have a constant.epl file that defines some variables as part of $req: > > [- > $req = shift; > $req->{website_database} = 'DBI:Sprite:/www/db/Annual_Review'; > $req->{website_event_table} = 'ar_events'; > $req->{we

Re: Handling Errors with 2.0b7

2002-05-31 Thread Cameron McBride
> > 2. Requesting missing documents under Embperl::Object (404 code). > > I have fixed EO to return 404. I send you the update per private mail. Let > me know if it works for you Sorry about the delay, but yes it returns the 404. Thanks!! However, it does *NOT* log the error to the apache erro

Re: error 500 + nice error message

2002-05-29 Thread Cameron McBride
> Is there a way to display a nice (static html) error message when some > embperl page gives Internal Server error message. > I am using .htaccess and ErrorDocument. > When plain perl file gives a 500 then it is working, but when embperl page > gives error 500 then it won't work. hmmm, what vers

Re: Problems with EmbPerl 2.x

2002-05-21 Thread Cameron McBride
> [3332]ERR: 26: Logfile /tmp/embperl.log open error: Permission denied > [3332]ERR: 66: Embperl Session handling DISABLED because of the following > error: Can't locate Apache/SessionX.pm in @INC (@INC contains: > /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 > /usr/lib/perl5/site_p

Re: Handling Errors with 2.0b7

2002-05-20 Thread Cameron McBride
> > 1. First off, I could not seem to get Embperl to email errors to me, > >using the EMBPERL_MAIL_ERRORS_TO and associated configs. Is this > >working? Is there something else I need to do to make it work? > > > > Did you try the EMBPERL_MAIL_DEBUG? Does it give any informations? Yes

Re: Query relating to Apache::ASP

2002-05-14 Thread Cameron McBride
Perhaps I missed something, but it looks like you have found the wrong list. This list is for supporting 'Embperl', a perl based module to do similiar dynamic scripting as ASP, but instead uses a perl like syntax. I would be happy to help, but I do not use ASP and have not used Apache::ASP. Som

Re: Download

2002-05-14 Thread Cameron McBride
> Hi, I trying to download EmbPerl from ftp.dev.ecos.de but I can't connect to > the server ftp.dev.ecos.de. > Where can I download it? The best way to obtain Embperl, is probably through CPAN (www.cpan.org). The easiest way to do this from a RH installation is to use the CPAN module of perl.

Re: Possible 2.0b7 issues OR Setup help

2002-05-14 Thread Cameron McBride
> ok, that's good to know Yeah -- we are sane! ;-) > Could you please put all the Embperl directives in the first file and then > send me the mod_info output for Embperl? Sure thing. I made a test that has a configuration that does not work (ie EMBPERL_OBJECT_BASE does not seem to change in a

Handling Errors with 2.0b7

2002-05-12 Thread Cameron McBride
I am trying to establish better error handling with Embperl::Object and 2.0b7. As far as I can tell, my results showed no difference between 2.0b5 and 2.0b7. Two problems: 1. First off, I could not seem to get Embperl to email errors to me, using the EMBPERL_MAIL_ERRORS_TO and associated conf

Re: Possible 2.0b7 issues OR Setup help

2002-05-11 Thread Cameron McBride
> > To continue on this, I finally did upgrade my dev machine to 5.6.1, and > > recompiled mod_perl (1.26). With Embperl 2.0b7 -- the mod_info stats > > are all still blank. Perhaps it could be a mod_info problem with my > > set-up -- or some issue with DSOs. ::shrug:: > > Looks like it has no

Apache authentication and 2.0b7

2002-05-10 Thread Cameron McBride
Hello all, While doing a little testing with apache based authentication, I noticed a little problem I wanted to report. It does not seem to exist in 2.0b5, but does happen in 2.0b7. Quick server stats: Apache 1.3.22 perl 5.6.1 mod_perl 1.26 Using 'Basic' Authentication (via a file) acc

Re: Talking about Embperl at the O'Reilly OpenSource Convetion 2002

2002-05-02 Thread Cameron McBride
> How about we just hold a bake sale to send Gerald to San Diego? > Set up an account on paypal. I'll donate $50 to get it started. If I could go to OSCON, I would bribe the wife to start cooking (I can't pay people to eat my creations) -- but alas I cannot. I would be willing to chip in some

Re: Possible 2.0b7 issues OR Setup help

2002-04-27 Thread Cameron McBride
> I don't have any idea why mod_info fails (It reparses the conf file, so it > may come to different result, then APache itself), but it seems that the > different Perl version has changed the other thing. I will try to reproduce > the Perl 5.6.0 here, but this will be not too soon > > Did yo

Re: Performance numbers, HELP!

2002-04-19 Thread Cameron McBride
> > At 8:19 PM -0400 4/19/02, Marcus Doemling wrote: > >What unit are your performance numbers? I was wondering what > >these numbers reflect and how they are measured. > The top label numbers are the concurrent connections test and the > data number are how many request per second the machine c

Re: Embperl and XML

2002-04-17 Thread Cameron McBride
> Yes, that's what Embperl currently does. Additionaly it caches parsed XSLT > stylesheets and XML documents (you can configure that), so when you make a > lot of transformations using the same stylesheet on different doucments, the > sytlesheet only get's parsed once (Embperl automaticly reparses

Re: Embperl Object Inheritance

2002-04-16 Thread Cameron McBride
Hallo, > > What I had in mind for Embperl (using the Embperl::Object stuff) was an > > inheritance tree for the request object. But I want my base.epl to be > > in the middle: > > (the order is via my understanding of precedence, most -> least) > > > > REQUESTED PAGE -->base.epl--> de

Re: Embperl and XML

2002-04-16 Thread Cameron McBride
> > It seems to me (from document fragments and example code) that the 'XML > > integration' has mostly targetted the XSLT transformations. > > > > It's maily intended for transforming it and generating output. For now this > means mainly XSLT. Ahh, perhaps I am starting to get it. Basically th

Re: passing javascript variable to embperl

2002-04-16 Thread Cameron McBride
> If a Javascript enabled browser is already a requirement, it's a great way of > turning a browser from a stateless machine into a stateful one. For example, You have a very good point here, but is it a realistic one? (stateful thing) Almost every time I have played with things in Javascript --

Embperl and XML

2002-04-16 Thread Cameron McBride
It seems to me (from document fragments and example code) that the 'XML integration' has mostly targetted the XSLT transformations. What if I just want to parse some XML files? - are the libxml2 documented functions just bootstrapped into the embperl namespace? (haven't tested this at all,

Embperl Object Inheritance

2002-04-15 Thread Cameron McBride
Now that I got an idea about configuration, lets move on to usage. (thanks!!) What I had in mind for Embperl (using the Embperl::Object stuff) was an inheritance tree for the request object. But I want my base.epl to be in the middle: (the order is via my understanding of precedence, most ->

Re: Possible 2.0b7 issues OR Setup help

2002-04-15 Thread Cameron McBride
Heyo, > > Ayup, thats my setup. I will check it on my production server as well, > > as it has 5.6.1, a slightly different kernel -- and perhaps a slightly > > newer version of Apache. Give me a day or two on this one. > > That would be great! While I don't think it's a kernel isusse, it may

Re: passing javascript variable to embperl

2002-04-15 Thread Cameron McBride
> In a nutshell, create a hidden layer. In that hidden layer, do a > GET/POST to a embperl/mod_perl page. The request will get sent to the > hidden in-memory document, which can then be parsed back into javascript > variables. ooo, perhaps there might be valid uses -- but this just feels 'dirty',

Re: Possible 2.0b7 issues OR Setup help

2002-04-15 Thread Cameron McBride
Heyo, > You have posted you are running Linux 2.4.4 and Perl 5.6.0, right? Maybe it > could be an issue with Perl 5.6.0, but I cannot say that this is the reason. Ayup, thats my setup. I will check it on my production server as well, as it has 5.6.1, a slightly different kernel -- and perhaps a

Re: Possible 2.0b7 issues OR Setup help

2002-04-11 Thread Cameron McBride
> Review: .txt --> no processing or restriction > .htm? --> processing and restriction via the normal expectations > apache index > control --> adheres to the EMBPERL_URIMATCH, but not EMBPERL_ALLOW > > Perhaps that helps. I was wrong, setting EMBPERL_ALLOW (\.htm.?|\.epl$) i

Re: Possible 2.0b7 issues OR Setup help

2002-04-11 Thread Cameron McBride
Thanks for your quick response! > It's missing in b7, because of the internal changes, but should come in > again at some point Great. I would love to get it back... until then, I can live without it. Its nice to know I'm not blind either... > > 2. EMBPERL_OBJECT_BASE does not seem to work in

Possible 2.0b7 issues OR Setup help

2002-04-11 Thread Cameron McBride
Heyo, First off -- I am new to Embperl, so perhaps I missed a thing or two. If this is the case, any 'steering' in the right direction would be appreciated. ;-) I know this is kind of like overload -- so thanks in advance. I am trying to put the newest version up in production (yeah, I know -