Re: User-Agent: contype

2000-08-02 Thread Dirk Lutzebaeck
Alan Sparks writes: My tests show that it often (can't be sure of always) occurs with a PDF file. BUT, it doesn't happen with NS Communicator and Acrobat Reader... only the combo of IE and Acroread. I've long suspected that it had something to do with IE sniffing the data stream to

RE: Feature sets [was Re: Templating System]

2000-08-02 Thread Gunther Birznieks
I have to say that I am also interested in template kits myself. My requirements are almost identical to yours (minus a few advanced things). Basically, I write open source web applications in Perl -- that means that they must be able to run reasonably fast on non-modperl systems and must run

Re: XForms ASP (was: The Template Toolkit )

2000-08-02 Thread Joshua Chamas
Dmitry Beransky wrote: [Mon Jul 31 10:45:53 2000] (eval 76): String found where operator expected at (eval 76) line 50, at end of line [Mon Jul 31 10:45:53 2000] (eval 76): (Missing operator before ?) [Mon Jul 31 10:45:53 2000] [error] [asp] [605] [error] [Mon Jul 31 10:45:53 20 00] (eval

Re: Feature sets [was Re: Templating System]

2000-08-02 Thread Perrin Harkins
Gunther Birznieks wrote: Of course, mod_perl support is crucial for those that want to "scale", but normal CGI/Perl support is really a biggie that I haven't seen highlighted within the context of this thread. Most of the popular template modules support CGI use. Almost everything except

Re: template kit.....

2000-08-02 Thread Andy Wardley
On Aug 1, 12:58pm, Jonathan Swartz wrote: Many Masonites have successfully used sessions with Mason. It takes about five lines of code in the handler.pl to integrate with Apache::Session, which will give you all the fancy session handling you need. Jonathon makes an important point here. The

RE: Feature sets [was Re: Templating System]

2000-08-02 Thread Chris Carline
Hi there, I have a pure perl implementation of a simple templating system which is (what I consider to be) relatively lightweight - it copes well in both cgi-bin and mod_perl environments, at least for me. I've looked at various other modules, and do believe mine brings an alternative slant to

Re: [OT] The $64K question/server hardware

2000-08-02 Thread Simon_Wilcox
Can we also include OS ? I'm particularly interested in performance figures of NT against *nix to help my case to ditch NT in a project which has yet to go live. Simon Wilcox Intranet Development Manager Williams Lea Group From Ajit Deshpande [EMAIL

Re: [OT] The $64K question/server hardware

2000-08-02 Thread Erich L. Markert
I've been using a dual processor, PIII 400+ Mhz Dell PowerEdge server that has 512MB RAM 2 9GB SCSI drives running Redhat Linux, Apache, mod_perl, HTML::Embperl and it's been working like a champ. Price tag: $8000 Not to plug Dell but they have some really nice server offerings and now fully

Re: mod_perl success!

2000-08-02 Thread yusun
I have installed the mod_perl and changed the httpd.conf as you said. But when I used the following CGI to test whether the mod_perl was working or not. The report was no. Why? #!/usr/bin/perl print "Content-type: text/plain\n\n"; print "Server's environment\n"; foreach ( keys %ENV ) {

Re: Feature sets [was Re: Templating System]

2000-08-02 Thread Randal L. Schwartz
"Eric" == Eric Cholet [EMAIL PROTECTED] writes: Hi there, I have a pure perl implementation of a simple templating system which is (what I consider to be) relatively lightweight - it copes well in both cgi-bin and mod_perl environments, at least for me. I've looked at various other

Re: mod_perl success!

2000-08-02 Thread Razvan Ionescu
ups again, i meant $key a working code for this "keys" loop would be foreach $key (sort(keys %ENV)) { print "$key = $ENV{$key}\n"; } anyway you can write it shorter but you'll have problems when debuging. Razvan - Original Message - From: "yusun"

Re: mod_perl success!

2000-08-02 Thread yusun
No, it is no problem. I have run it. You can test it. - Original Message - From: "Razvan Ionescu" [EMAIL PROTECTED] To: "Razvan Ionescu" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, August 03, 2000 10:46 PM Subject: Re: mod_perl success! ups again, i meant $key a working

Re: Feature sets [was Re: Templating System]

2000-08-02 Thread Jonathan Swartz
Randal Schwartz [EMAIL PROTECTED] writes: One brief serious note: I think the fact that there are SO MANY is a tribute to just how easy it is to process text in Perl. I don't think there are 47 templating system for Java. :) Couldn't agree more. Sometimes Perl is too easy/powerful for its own

[crazy idea?] Re:Templating System

2000-08-02 Thread JoshNarins
I hope you guys get the general idea of what I am about to say... Perl6 is (barely) underway. Perl is the ubiquituos and, some would say, premiere, web language. format (and format_top) are possibly going to be pushed out of the core. I imagine the reasons are that formats are much less

Fwd: [Zope-Perl] zope-perl-0.1.a1.tar.gz

2000-08-02 Thread Robin Berjon
I thought this might interest some of you. You should now be able to find the first alpha release of Perl for Zope on ActiveState's ftp server. This server currently has some problems with passive ftp. If you get "No route to host" errors, then you need to use a client that can connect in

RE: was Re: template kit..... - now session handling

2000-08-02 Thread Jeffrey W. Baker
On Mon, 31 Jul 2000, brian moseley wrote: On Mon, 31 Jul 2000, Perrin Harkins wrote: Since it isn't really tied to HTTP or sessions, that would be kind of a misnomer as well. Jeff already suggested Persistent::Hash at once point, but changing namespace on CPAN always confuses some

RE: was Re: template kit..... - now session handling

2000-08-02 Thread Jerrad Pierce
2) The name change should happen. However, there is already a Persistent:: set of classes, that is somewhat similar to Apache::Session. For example, it implements LDAP, MySQL, Oracle, Sybase, mSQL, and File storage. These classes use all object calls e.g. $persistent-add_attribute(). So the

Re: Feature sets [was Re: Templating System]

2000-08-02 Thread Jonathan Swartz
Drew Taylor wrote: Ken Williams wrote: I suggest having not just a simple checkmark, but a 3-way check. A system either supports a feature, or it doesn't, or it *optionally* supports it (can be switched on and off). This is often very helpful to know, and might let one get a good sense

Re: (Fwd) Problem with Authen::Krb4 under mod_perl (fwd)

2000-08-02 Thread Jeff Horwitz
[forwarded just in case anyone else is having similar problems] -- Forwarded message -- Date: Wed, 2 Aug 2000 10:45:35 -0400 (EDT) From: Jeff Horwitz [EMAIL PROTECTED] To: Dave Edsall - The Tauminator [EMAIL PROTECTED] Subject: Re: (Fwd) Problem with Authen::Krb4 under mod_perl

Help...

2000-08-02 Thread Nouguier
Hi all, A strange behaviour I don't undestand... When using OR requiring MIME::Parser in a mod_perl ( 1.24 ) enabled apache ( 1.3.12 ), I've got many error 'cause perl is looking for Mail::Field::date Mail::Field::attrlist There is errors on compilation, so the first call

Re: Feature sets [was Re: Templating System]

2000-08-02 Thread David Phipps
Chris, This sounds precisely like CGI::FastTemplate, which I have used heavily and like a lot. My other favorite templating system is HTML::Template, but CGI::FastTemplate is *very* lightweight. - David - Original Message - From: Chris Carline [EMAIL PROTECTED] To: Gunther Birznieks

Re: [OT] The $64K question/server hardware

2000-08-02 Thread Jauder Ho
Heh, I put in a solution that was MUCH larger. 16 sun servers (14 E420R and 2 E6500s) just in the production environment. Total server count was somewhere in the 60s. One thing to note is that IIS on NT4 leaks memory like mad on a high volume site so you will have to keep rebooting the boxes.

Apache::Session upgrade problems and Inheritance

2000-08-02 Thread Ilia Lobsanov
I just upgraded from Apache::Session 1.03 to 1.52, resulting in breaking all our dependent code. The problem is that we use our own package which inherits Apache::Session as follows: --- package MPL::NullSession; use strict; use vars qw(@ISA $VERSION); $VERSION = '1.00'; @ISA =

Re: [OT] The $64K question/server hardware

2000-08-02 Thread Erich L. Markert
I can vouch for that. We had a site running some distance ed software. The *nix version ran like a champ and would stay up and running for months. The NT version? Would require pre-emptive reboots to try and prevent unscheduled system downtimes. Also, the server would just crap out without

Expect Problem

2000-08-02 Thread Ron . W . Flolid
I'm using the Expect module to perform some shell commands to automate some processing, but for some reason I'm not able to perform an "rm" function as I would from a shell prompt. All I want to do is to delete all of the files in the directory without a prompt or without using a recursive

Re: Expect Problem

2000-08-02 Thread dreamwvr
hi Ron, well here is one suggestion that i am not really certain that the expect.pm handles .. but if you can try to insert 'interact' to see what prompts rm wants on the other side as remember that you need to expect from process the prompt for y or no and then send a reply..

RE: Expect Problem

2000-08-02 Thread jbodnar
You've got the wrong mailing list. This list is for the discussion of the mod_perl Apache module. You probably want to contact the module author or try comp.lang.perl.misc or comp.lang.perl.modules or comp.lang.perl.moderated. Or maybe even www.perlmonks.org. On 02-Aug-2000 [EMAIL PROTECTED]

RE: was Re: template kit..... - now session handling

2000-08-02 Thread Perrin Harkins
On Wed, 2 Aug 2000, Jeffrey W. Baker wrote: 2) The name change should happen. However, there is already a Persistent:: set of classes, that is somewhat similar to Apache::Session. For example, it implements LDAP, MySQL, Oracle, Sybase, mSQL, and File storage. These classes use all object

Re: Storable.pm problem

2000-08-02 Thread Joshua Chamas
BeerBong wrote: Hello Joshua! I returned from vacation and now see that you produced some new versions of Apache::ASP. As I understand main enchantments are XML stuff and now question - if I upgrade to version 2 on my production server this will cause to slow down of processing ? I

Re: Feature sets [was Re: Templating System]

2000-08-02 Thread Ron Pero
Maybe we should have a "Congratulations: you wrote a templating system!" web memorial. :) One brief serious note: I think the fact that there are SO MANY is a tribute to just how easy it is to process text in Perl. I don't think there are 47 templating system for Java. :) A few days ago I

RE: [ANNOUNCE] Apache::Dispatch-0.02

2000-08-02 Thread Geoffrey Young
-Original Message- From: Matt Sergeant [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 01, 2000 9:46 AM To: Geoffrey Young Cc: '[EMAIL PROTECTED]' Subject: Re: [ANNOUNCE] Apache::Dispatch-0.02 You're gonna hate me for this... Can you add pre and post methods

Re: Expect Problem

2000-08-02 Thread Paul
--- dreamwvr [EMAIL PROTECTED] wrote: hi Ron, well here is one suggestion that i am not really certain that the expect.pm handles .. but if you can try to insert 'interact' to see what prompts rm wants on the other side as remember that you need to expect from process the

mod_perl and the tied interface

2000-08-02 Thread martin langhoff
hi, i'm using the Tie::DBI interface under some embperl/mod_perl modules, and, worried about the implications of tying under mod_perl, happily found Doug as one of the coders/authors of perltie. hopefully, Doug's reading and/or someone else can tame my fears. I'm

Re: [OT]Expect Problem

2000-08-02 Thread dreamwvr
hi, yes that is absolutely;-)) correct but it can bite back too. the guy that asked the expect question i was assumng did not know about that and might just delete something he shouldn't .. this is way OT but best bet is to ensure that you have aliased rm -f so that if you screwed up well

Client filehandle?

2000-08-02 Thread Todd Caine
I've got a Perl Module which has a function called RRDs::graph($args), that will only print to stdout. In my handler I write something similar to: sub handler { my $r = shift; # I want the output to go to the client, ($r-print()), but instead it will only go to STDOUT

Re: Client filehandle?

2000-08-02 Thread darren chamberlain
Todd Caine ([EMAIL PROTECTED]) said something to this effect: I've got a Perl Module which has a function called RRDs::graph($args), that will only print to stdout. In my handler I write something similar to: STDOUT is where $r-print goes under mod_perl; you should be OK. Failing this, does

Re: Client filehandle?

2000-08-02 Thread Todd Caine
darren chamberlain wrote: Todd Caine ([EMAIL PROTECTED]) said something to this effect: I've got a Perl Module which has a function called RRDs::graph($args), that will only print to stdout. In my handler I write something similar to: STDOUT is where $r-print goes under mod_perl; you

Re: Feature sets [was Re: Templating System]

2000-08-02 Thread Randal L. Schwartz
"Ron" == Ron Pero [EMAIL PROTECTED] writes: Ron A few days ago I sent this suggestion to Drew Taylor, who is Ron preparing a web page comparing the templating systems. He said he Ron likes the idea. The Categorical "Congratulations: you wrote a Ron templating system!" web memorial. Wow, if

RE: Client filehandle?

2000-08-02 Thread Douglas Wilson
-Original Message- From: Todd Caine [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 02, 2000 1:30 PM To: mod_perl Subject: Client filehandle? I've got a Perl Module which has a function called RRDs::graph($args), that will only print to stdout. In my handler I write

RE: Client filehandle?

2000-08-02 Thread Douglas Wilson
-Original Message- From: Douglas Wilson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 02, 2000 3:24 PM To: Todd Caine; mod_perl Subject: RE: Client filehandle? Maybe (and I mean MAYBE): local *STDOUT = \*$r; And of course, that should have been (hey I'm making it up

Mason vs. Apache::Registry

2000-08-02 Thread Kelly White
I am considering using either HTML::Mason or Apache::Registry for my CGI scripts, but am not sure which is faster. Would the template/pages be cached like the scripts are in Registry? Which would be faster? Obviously using Mason would make cleaner code, but it wouldn't get compiled, would it?

[Fwd: 5.6.0 broke all over - please elaborate]

2000-08-02 Thread ___cliff rayman___
forwarding from p5p. i am not running 5.6.0, but i assume that 5.6.0 is stable with mod_perl 1.24? let me know and i will reply back to p5p. Michael Fowler wrote:. The other problem was a mod_perl installation causing Apache children to continually seg fault (this was a Slackware 7.1

Re: Is there a module for getting / setting a Session-ID

2000-08-02 Thread Greg Cope
[EMAIL PROTECTED] wrote: In a message dated 7/30/00 7:33:41 AM Eastern Daylight Time, [EMAIL PROTECTED] writes: And, on top of that, I have emilinated session hijacking (with a Back Button Breaking method). Can you enlighten me ? A security method that will redirect the user

Re: Feature sets [was Re: Templating System]

2000-08-02 Thread Greg Cope
Matt Sergeant wrote: On Tue, 1 Aug 2000, Drew Taylor wrote: Bill Moseley wrote: It seems as if there needs to be a general templating mailing list... Here I have a comment about comparing template systems, and then I solicit advice on which system to use... snip Bill,

Re: Mason vs. Apache::Registry

2000-08-02 Thread Ken Williams
[EMAIL PROTECTED] (Kelly White) wrote: I am considering using either HTML::Mason or Apache::Registry for my CGI scripts, but am not sure which is faster. Would the template/pages be cached like the scripts are in Registry? Which would be faster? Obviously using Mason would make cleaner code,

Why do variables not reinitialize when script changed?

2000-08-02 Thread Keith G. Murphy
This is probably a very basic question, understood by everyone but... Why, when I change a script loaded under Apache::Registry, and the script (verifiably) reloads, do global variables not reinitialize? I'm running Apache 1.3.9, mod_perl 1.21 on a Debian GNU/Linux system. Am I the only one

disregard RE: Apache::Session upgrade problems and Inheritance

2000-08-02 Thread Ilia Lobsanov
Please disgregard this problem as I have fixed it. I apologise for any inconvenience. ilia. -Original Message- From: Ilia Lobsanov [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 02, 2000 12:18 PM To: [EMAIL PROTECTED] Subject: Apache::Session upgrade problems and Inheritance

Re: Why do variables not reinitialize when script changed?

2000-08-02 Thread ___cliff rayman___
The perl interpreter has a one global symbol table called the stash where all global variables are referenced by package and by variable name. Since the interpreter does not go away when a script is recompiled, neither does the stash or any of the items contained within it. Some programmers are

Re: Apache::Session upgrade problems and Inheritance

2000-08-02 Thread Dave Baker
You may need to add LockDataSource, LockUserName and LockPassword to your $dbinfo hashref. This fixed the problem for us when we upgraded to the later Apache::Session. Dave On Wed, Aug 02, 2000 at 12:17:57PM -0400, Ilia Lobsanov wrote: I just upgraded from Apache::Session 1.03 to 1.52,

Re: Feature sets [was Re: Templating System]

2000-08-02 Thread Gunther Birznieks
I am afraid that while I agree, a check system is really quite useful to me. Some things do need more quantification, but that can be done later. eg lightweight vs heavyweight is subjective. But it can be broken up into saying something like how much code needs to be loaded at start time (an

Re: Feature sets [was Re: Templating System]

2000-08-02 Thread Ken Williams
[EMAIL PROTECTED] (Gunther Birznieks) wrote: I am afraid that while I agree, a check system is really quite useful to me. Some things do need more quantification, but that can be done later. eg lightweight vs heavyweight is subjective. But it can be broken up into saying something like how

mod_perl configure

2000-08-02 Thread yusun
I have installed the mod_perl and changed the httpd.conf as Alias /cgi-perl/ /usr/ns-home/cgi-bin/Location /cgi-perl/ #AllowOverride None SetHandler perl-script PerlHandler Apache::PerlRun Options +ExecCGI allow from all PerlSendHeader On PerlSetVar PerlRunOnce On/LocationWhen I