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/'/#39;/g

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: 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 Net

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 cfoutput tags with

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 its

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

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 SQL

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.org? :)

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.org? :) Well

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/'/#39;/g Hi, AFAIK DBI's bind_param method should call

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

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

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 Location directives: that is, given: Alias /test /usr/local/apache/test # this outside value of foo doesn't get seen!

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),

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 modules for

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

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 Location directives: See the section on DIR_MERGE in the Eagle book. It just

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 Location directives: See the section on DIR_MERGE in the Eagle book. It

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 PerlAddVar again, but

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 another sub.

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

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::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

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,

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 looks

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

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

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

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 the

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 content).

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 the

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

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

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 find this

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

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 it was too

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. How |

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: 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 by the

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 precached module