Re: Apache/mod_perl

2000-07-06 Thread Perrin Harkins
On Thu, 6 Jul 2000, Richard Dice wrote: > > >(Another aspect of how it's > > >slower is that you won't be able to take advantage of Apache::DBI persistent > > >database connections with Apache::PerlRun.) > > > > I *think* this is incorrect. PerlRun modules can take advantage of other > > precach

Re: R. Berjon's Mod_perl site (was "Re: Coldfusion vs. apache/mod_perl")

2000-07-06 Thread Robin Berjon
At 21:12 06/07/2000 -0700, brian moseley wrote: >On Thu, 6 Jul 2000, Robin Berjon wrote: > >> I think the new site was about to be committed but I >> don't know what happened with that. One recent > >my apologies. i've been meaning to do it, but real life has >gotten in the way. i'll have it done

Re: R. Berjon's Mod_perl site (was "Re: Coldfusion vs. apache/mod_perl")

2000-07-06 Thread brian moseley
On Thu, 6 Jul 2000, Robin Berjon wrote: > I think the new site was about to be committed but I > don't know what happened with that. One recent my apologies. i've been meaning to do it, but real life has gotten in the way. i'll have it done by the end of the weekend. > suggestion likely to make

Re: Apache::ASP problems

2000-07-06 Thread Joshua Chamas
Thanks for the follow up Ime. Vincent, if you want to run the xslt.xml example as I saw you do in your error log, you have to install the XML::XSLT module. Use cpan, and install the Bundle::XML -- Joshua _ Joshua Chamas

Re: Apache/mod_perl

2000-07-06 Thread Richard Dice
> >(Another aspect of how it's > >slower is that you won't be able to take advantage of Apache::DBI persistent > >database connections with Apache::PerlRun.) > > I *think* this is incorrect. PerlRun modules can take advantage of other > precached module resources including Apache::DBI. You may b

Re: Apache/mod_perl

2000-07-06 Thread Gunther Birznieks
At 03:24 PM 7/6/00 -0400, Richard Dice wrote: >Frank Wiles wrote: > > > > .--[ Pramod Sokke wrote (2000/07/06 at 12:03:02) ]-- > > | > > | We are running Netscape Enterprise server with cgis written in perl > and C. > > | I'm looking at moving over to Apache and start using mod_perl

Re: R. Berjon's Mod_perl site (was "Re: Coldfusion vs. apache/mod_perl")

2000-07-06 Thread Robin Berjon
At 09:15 07/07/2000 +0800, Gunther Birznieks wrote: >At 08:36 AM 7/6/00 -0700, Graham TerMarsch wrote: >>Matt Sergeant wrote: >> > Well of course AxKit gives me the consistent layout, and Robin Berjon gave >> > me the design. He also did a perl.apache.org one, but people didn't like >> > it - said

Re: Apache::Session::Object

2000-07-06 Thread Gunther Birznieks
This is somewhat off the topic of your original post, but I have to admit that I really am a tad alarmed at the interest in storing a credit card number in a local session. Usually CC numbers should at most either be emailed (PGPed) directly to the customer without any temp file creation or pa

Re: R. Berjon's Mod_perl site (was "Re: Coldfusion vs. apache/mod_perl")

2000-07-06 Thread Gunther Birznieks
At 08:36 AM 7/6/00 -0700, Graham TerMarsch wrote: >Matt Sergeant wrote: > > Well of course AxKit gives me the consistent layout, and Robin Berjon gave > > me the design. He also did a perl.apache.org one, but people didn't like > > it - said it was too graphicy or something. Thats at > > http://ww

Apache::Request question.

2000-07-06 Thread Scott Alexander
I've been looking over the Apache::Request docs, and am just wondering. It talks about the param calls being sticky like cgi, but I can't find anything about using this in forms similar to what you would do in CGI.pm. ie just $q->hidden('name') would print the hidden tag with the name name a

Re: Apache::Session::Object

2000-07-06 Thread Perrin Harkins
On Thu, 6 Jul 2000, Nathan Wiger wrote: > > $session->STORE('visa_number') = '7'; > > print $session->FETCH('visa_number'); > > $session->DELETE('visa_number'); > > This isn't really a documented interface - it's an overloading of the > tie methods so that the tied hash interface works. You can't

AIX, dlopen problem?

2000-07-06 Thread John Marquart
Hallo all, I am having the most frustrating time getting a home brew module to work. Environment: AIX 4.3.3 xlc apache 1.3.12 mod_perl 1.22 perl 5.00503 (compiled w/ INSTALL patch, details below) I have had various difficulties trying to get mod_perl to compile successfully using perl 5.6.0,

Re: Apache::Session::Object

2000-07-06 Thread Nathan Wiger
Perrin- > Is there a reason you can't use the OO interface that Apache::Session > comes with? > > $session->STORE('visa_number') = '7'; > print $session->FETCH('visa_number'); > $session->DELETE('visa_number'); This isn't really a documented interface - it's an overloading of the tie methods so

Re: PerlAddVar bug

2000-07-06 Thread Rick Myers
On Jul 06, 2000 at 19:47:07 +0200, Eric Cholet twiddled the keys to say: > > On Thu, 6 Jul 2000, Geoffrey Young wrote: > > > > > Sorry to bring up PerlAddVar again, but this time I have a legitimate bug. > > > It stems from what I reported last time about items in Apache::Table not > > > being vi

Re: Apache::Session::Object

2000-07-06 Thread Perrin Harkins
On Thu, 6 Jul 2000, Nathan Wiger wrote: > I've created an object interface to Apache::Session. It's a simple > module that I've called Apache::Session::Object (seemed pretty > intuitive) that presents the following interface: > ># Create new session using the default File store >use Apach

Apache::Session::Object

2000-07-06 Thread Nathan Wiger
Hi- I've created an object interface to Apache::Session. It's a simple module that I've called Apache::Session::Object (seemed pretty intuitive) that presents the following interface: # Create new session using the default File store use Apache::Session::Object; my $session = new Apache

Re: error DBI with quote

2000-07-06 Thread drfrog
Jesús Lasso Sánchez wrote: > > Hi, > >I probed: > > s/'/''/g > >yesterday but it did'nt work, will try with HTML code. I think is the > solution. > > Thanks > > > the easiest way is > > s/'/''/g > > or > > s/'/'/g > > the way i do it is my $q=new CGI; $var=$q->param('var

Re: Apache : mod_perl vs fastcgi

2000-07-06 Thread Dana Powers
On Thu, 06 Jul 2000, Pramod Sokke wrote: > >1) I installed apache with mod_perl - the speed increased.But I didn't > >understand HOW mod_perl optimizes use of resources and increases speed ? > >Does it share perl interpreter, script or anything else? > > The Perl runtime library is linked into th

Re: Hang in $r->print w/ POST

2000-07-06 Thread darren chamberlain
[EMAIL PROTECTED] ([EMAIL PROTECTED]) said something to this effect: > > hi, > > I've a strange pb in a PerlHandler, the subprocess seems to hang in a > $r->print ($r is Apache::Request) after a send_http_header() - wich do not > hang - when called with a POST method (after getting the con

Re: Hang in $r->print w/ POST

2000-07-06 Thread Dave Moore
On 6 Jul 2000 [EMAIL PROTECTED] wrote: > > hi, > > I've a strange pb in a PerlHandler, the subprocess seems to hang in a > $r->print ($r is Apache::Request) after a send_http_header() - wich do not > hang - when called with a POST method (after getting the content). The SAME > code works

Re: Apache : mod_perl vs fastcgi

2000-07-06 Thread Pramod Sokke
>1) I installed apache with mod_perl - the speed increased.But I didn't >understand HOW mod_perl optimizes use of resources and increases speed ? >Does it share perl interpreter, script or anything else? The Perl runtime library is linked into the server. The persistent interpreter embedded in th

Re: Apache/mod_perl

2000-07-06 Thread Pramod Sokke
Any obvious advantages of FastCGI over mod_perl? I mean, in either case, moving over to Apache is imminent. And while I do that, I'd like to go in for a longer term and better solution rather than time-saving or quicker solution. So which one of the above is recommended? >From my previous experien

Apache : mod_perl vs fastcgi

2000-07-06 Thread Yury XTC
Hi! Instaled : FreeBSD 4.0 + Apache 1.3.12 + mod_perl 1.24 + FastCGI 0.52 1) I installed apache with mod_perl - the speed increased.But I didn't understand HOW mod_perl optimizes use of resources and increases speed ? Does it share perl interpreter, script or anything else? 2) Then I installed

Hang in $r->print w/ POST

2000-07-06 Thread www
hi, I've a strange pb in a PerlHandler, the subprocess seems to hang in a $r->print ($r is Apache::Request) after a send_http_header() - wich do not hang - when called with a POST method (after getting the content). The SAME code works perfectly if the method is GET! I didn't find any kin

R. Berjon's Mod_perl site (was "Re: Coldfusion vs. apache/mod_perl")

2000-07-06 Thread Graham TerMarsch
Matt Sergeant wrote: > Well of course AxKit gives me the consistent layout, and Robin Berjon gave > me the design. He also did a perl.apache.org one, but people didn't like > it - said it was too graphicy or something. Thats at > http://www.knowscape.org/modperl/ Is too bad, I think this one look

Re: Apache/mod_perl

2000-07-06 Thread David Hodgkinson
Pramod Sokke <[EMAIL PROTECTED]> writes: > Hi, > > We are running Netscape Enterprise server with cgis written in perl and C. > I'm looking at moving over to Apache and start using mod_perl. How > simple/complex do you think the process is going to be? > There are tons of scripts distributed al

Re: Apache::ASP problems

2000-07-06 Thread Ime Smits
On Thu, 6 Jul 2000, Vincent Bruijnes wrote: | Well the first lines of the error_log are strange for me. | I still come closer to a correct apache modperl and asp. | the /site/eg/index.html works only .asp files don't Let's see: can't create group dir /tmp/asp_demo/server, /usr/local/lib/perl5/

Apache::ASP problems

2000-07-06 Thread Vincent Bruijnes
Well the first lines of the error_log are strange for me. I still come closer to a correct apache modperl and asp. the /site/eg/index.html works only .asp files don't To check it yourself goto http://node1352c.a2000.nl/site/eg/index.html Thanks for all your help, once again. Sincerely Vincent Br

Re: Apache/mod_perl

2000-07-06 Thread Richard Dice
Frank Wiles wrote: > > .--[ Pramod Sokke wrote (2000/07/06 at 12:03:02) ]-- > | > | We are running Netscape Enterprise server with cgis written in perl and C. > | I'm looking at moving over to Apache and start using mod_perl. How > | simple/complex do you think the process is goin

Re: Apache/mod_perl

2000-07-06 Thread Frank Wiles
.--[ Pramod Sokke wrote (2000/07/06 at 12:03:02) ]-- | | We are running Netscape Enterprise server with cgis written in perl and C. | I'm looking at moving over to Apache and start using mod_perl. How | simple/complex do you think the process is going to be? | There are tons of

Apache/mod_perl

2000-07-06 Thread Pramod Sokke
Hi, We are running Netscape Enterprise server with cgis written in perl and C. I'm looking at moving over to Apache and start using mod_perl. How simple/complex do you think the process is going to be? There are tons of scripts distributed all over the place here. Would moving over to Apache/mod_

Re: HTML::Mason - declaration of subs outside out <%ONCE> sections?

2000-07-06 Thread Michael Hanisch
On Thu, 6 Jul 2000, Jon Nangle wrote: > In-Reply-To: ><[EMAIL PROTECTED] > nchen.d> > > Is there any harm in defining subroutines inside regular <%PERL> sections? > > You can do it if you want to, but it is a bad idea because > once Mason has worked its magic, your sub will end up inside > anot

RE: PerlAddVar bug

2000-07-06 Thread Geoffrey Young
> -Original Message- > From: Eric Cholet [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 06, 2000 1:47 PM > To: Matt Sergeant; Geoffrey Young > Cc: [EMAIL PROTECTED] > Subject: Re: PerlAddVar bug > > > > On Thu, 6 Jul 2000, Geoffrey Young wrote: > > > > > Sorry to bring up PerlAddVa

Re: PerlAddVar bug

2000-07-06 Thread Eric Cholet
> On Thu, 6 Jul 2000, Geoffrey Young wrote: > > > Sorry to bring up PerlAddVar again, but this time I have a legitimate bug. > > It stems from what I reported last time about items in Apache::Table not > > being visible outside a directives: > > See the section on DIR_MERGE in the Eagle book. I

Re: PerlAddVar bug

2000-07-06 Thread Matt Sergeant
On Thu, 6 Jul 2000, Geoffrey Young wrote: > Sorry to bring up PerlAddVar again, but this time I have a legitimate bug. > It stems from what I reported last time about items in Apache::Table not > being visible outside a directives: See the section on DIR_MERGE in the Eagle book. It just needs s

Re: HTML::Mason - declaration of subs outside out <%ONCE> sections?

2000-07-06 Thread Jon Nangle
In-Reply-To: <[EMAIL PROTECTED] nchen.d> > Is there any harm in defining subroutines inside regular <%PERL> sections? You can do it if you want to, but it is a bad idea because once Mason has worked its magic, your sub will end up inside another sub. This is not usually a problem, but if you refe

RE: What is *.xs file?

2000-07-06 Thread Geoffrey Young
> -Original Message- > From: James G Smith [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 06, 2000 11:20 AM > To: Sam Xie > Cc: [EMAIL PROTECTED] > Subject: Re: What is *.xs file? > > > Sam Xie <[EMAIL PROTECTED]> wrote: > >> Umm this list is for perl as a module in apache > >> not

HTML::Mason - declaration of subs outside out <%ONCE> sections?

2000-07-06 Thread Michael Hanisch
Hi *, I am currently working on a site running HTML::Mason (v0.87). While reading the documentation, I came across the <%ONCE> sections, that are -as the docs put it- " Useful for declaring persistent component-scoped lexical variables (especially objects that are expensive to create), decla

Re: What is *.xs file?

2000-07-06 Thread James G Smith
Sam Xie <[EMAIL PROTECTED]> wrote: >> Umm this list is for perl as a module in apache >> not modules for perl... >> >Yes! It is for a perl module in apache. I am going to write a perl module, >which is capable to read a name list file in AFS for authenticattion and >authorization. That's why

PerlAddVar bug

2000-07-06 Thread Geoffrey Young
Sorry to bring up PerlAddVar again, but this time I have a legitimate bug. It stems from what I reported last time about items in Apache::Table not being visible outside a directives: that is, given: Alias /test /usr/local/apache/test # this outside value of foo doesn't get seen! # Perl

Re: What is *.xs file?

2000-07-06 Thread Sam Xie
> Umm this list is for perl as a module in apache > not modules for perl... > Yes! It is for a perl module in apache. I am going to write a perl module, which is capable to read a name list file in AFS for authenticattion and authorization. That's why I am studying on this issue. Thanks for

Re: Apache::ASP

2000-07-06 Thread Vincent Bruijnes
How do you mean with copy it to over to where my httpd resides? my apache resides in /www and where and what file should i place in /www/ ? btw i don't use DSO Sincerely Vincent Bruijnes At 00:57 6-7-00 -0700, you wrote: >Vincent Bruijnes wrote: > > > > I got this error always when running /si

Re: How to Authenticate using Cookie ?

2000-07-06 Thread Drew Taylor
Ken Williams wrote: > > [EMAIL PROTECTED] (Tu Nguyen) wrote: > >Hi, > > > >Can some one show me how to use cookie to check valid user ? > > > >which module should I use and how to modify httpd.conf. > > Have a look at Apache::AuthCookie, and read its docs. Having implemented it recently, you'll

Re: error DBI with quote

2000-07-06 Thread Michael Hanisch
On Thu, 6 Jul 2000, Jesús Lasso Sánchez wrote: > Hi, > >I probed: > > s/'/''/g > >yesterday but it did'nt work, will try with HTML code. I think is the > solution. > > > Thanks > > > the easiest way is > > s/'/''/g > > or > > s/'/'/g > > > > Hi, AFAIK DBI's bind_param

Re: Coldfusion vs. apache/mod_perl

2000-07-06 Thread Matt Sergeant
On Thu, 6 Jul 2000, Gunther Birznieks wrote: > > > > >Take a look - hopefully you'll be impressed ;-) > > > >http://axkit.org/ > > > >BTW: I'll be giving a 2 hour talk on AxKit at ApacheCon Europe in October. > > Holy s..t! this is a well-laid out site!! Could you do the same for > perl.apache

Re: Coldfusion vs. apache/mod_perl

2000-07-06 Thread Matt Sergeant
On Thu, 6 Jul 2000, Gunther Birznieks wrote: > > > > >Take a look - hopefully you'll be impressed ;-) > > > >http://axkit.org/ > > > >BTW: I'll be giving a 2 hour talk on AxKit at ApacheCon Europe in October. > > Holy s..t! this is a well-laid out site!! Could you do the same for > perl.apache

Re: Coldfusion vs. apache/mod_perl

2000-07-06 Thread Gunther Birznieks
> >Take a look - hopefully you'll be impressed ;-) > >http://axkit.org/ > >BTW: I'll be giving a 2 hour talk on AxKit at ApacheCon Europe in October. Holy s..t! this is a well-laid out site!! Could you do the same for perl.apache.org? :) BTW, if you are distributing as integration with GPL sof

Re: Apache::ASP and HEAD

2000-07-06 Thread Joshua Chamas
Dmitry Beransky wrote: > > Hi, > > I remember seen the answer to this some time ago (I may have even asked > this myself), but I couldn't find it in the archives. Can anyone remind me > why Apache::ASP includes a message body in reply to a HEAD request? > > Thanks a lot > Dmitry In addition t

Re: Apache::ASP

2000-07-06 Thread Ime Smits
| I got this error always when running /site/eg/index.html | | /www/htdocs/site/eg/.htaccess: Invalid command 'PerlSetVar', perhaps | mis-spelled or defined by a module not included in the server configuration. | | Is there a clue ? You probably didn't compile mod_perl with Apache, or you did

Re: Apache::ASP

2000-07-06 Thread Joshua Chamas
Vincent Bruijnes wrote: > > I got this error always when running /site/eg/index.html > > /www/htdocs/site/eg/.htaccess: Invalid command 'PerlSetVar', perhaps > mis-spelled or defined by a module not included in the server configuration. > > Is there a clue ? > Install mod_perl, or make sure i

Re: Coldfusion vs. apache/mod_perl

2000-07-06 Thread Matt Sergeant
On Wed, 5 Jul 2000, Paul Lindner wrote: > I've been toying with using the Apache::ASP custom tag feature to > support cold-fusion like applications. I don't think it will be too > hard; reading the spec it appears you need to make a list of named > queries and then use tags with #fieldname# ent

Re: Coldfusion vs. apache/mod_perl

2000-07-06 Thread Matt Sergeant
On Wed, 5 Jul 2000, Bas wrote: > Hi all, > > this is probably gonna be a longish one. It's about coldfusion vs. the > combination of apache/mod_perl, I'm hoping to find some people on the list > who have some experience with both, and who maybe faced a similar question. > I've been searching the

Re: error DBI with quote

2000-07-06 Thread Jesús Lasso Sánchez
  > this more properly belongs on the DBI list,   Ok, this is a question for the perl-DBI list, but i'm working with Apache::DBI.   >see page 122 of the cheetah book:   >"Bind values are passed to the database seperately from the SQL >statement, so there's no need to 'wrap up' the value in

Apache::ASP

2000-07-06 Thread Vincent Bruijnes
I got this error always when running /site/eg/index.html /www/htdocs/site/eg/.htaccess: Invalid command 'PerlSetVar', perhaps mis-spelled or defined by a module not included in the server configuration. Is there a clue ? Sincerely Vincent Bruijnes [EMAIL PROTECTED]

Re: error DBI with quote

2000-07-06 Thread Jesús Lasso Sánchez
Hi, I probed: s/'/''/g yesterday but it did'nt work, will try with HTML code. I think is the solution. Thanks > the easiest way is > s/'/''/g > or > s/'/'/g >