Template or XML?

2001-09-14 Thread Alexandr Efimov
Hello, all! We have a 4 year experience in developing web sites for our customers. Most of these web sites must present information stored in some relational database (MySQL or Oracle), and we create a special web interface for managing the data stored in the database. We cannot use standard

Re: Persistent Database connections to Oracle

2001-09-14 Thread Stas Bekman
On Thu, 13 Sep 2001, Medi Montaseri wrote: I have a related question How do I confirm that I indeed have a persistent database connection... I have modified my httpd.conf via PerlRequire /path/startup.pl with debuging at level 2...I see the following in my httpd error_log [Thu Sep 13

keeping perl in memory

2001-09-14 Thread Miroslav Madzarevic
Blank This question does and doesn't have to do with mod_perl. I wish to keep perl binary (nothing related to apache) in memory so that each time a specific script is invoked there is no cost of perl startup time. The script gets executed many times (intercepts corporate, virtual domain email).

Re: keeping perl in memory

2001-09-14 Thread Ged Haywood
Hi there, On Fri, 14 Sep 2001, Miroslav Madzarevic wrote: This question does and doesn't have to do with mod_perl. I wish to keep perl binary (nothing related to apache) in memory See the Guide: http://perl.apache.org/guide And read about Apache::Registry. 73, Ged.

Re: keeping perl in memory

2001-09-14 Thread Miroslav Madzarevic
I don't wan't anything related to Apache (no Apache, not even Apache::Registry or anything else, I'm a mod perl, Mason programmer so I'm familiar with them). I just wanted to have perl binary persistent in memory (_like_ in mod_perl) so that perl doesn't have to be loaded #!/usr/local/bin/perl

Re: Template or XML?

2001-09-14 Thread Robin Berjon
On Friday 14 September 2001 11:40, Alexandr Efimov wrote: We tried to use XML, but the main problem with XML is that we cannot insert even a simple logic constructions, like IF of FOREACH, as with Template. Yes you can, but of course you need a dedicated processor. XML is just a syntax :-)

Re: keeping perl in memory

2001-09-14 Thread Jeremy Howard
Miroslav Madzarevic wrote: I don't wan't anything related to Apache (no Apache, not even Apache::Registry or anything else, I'm a mod perl, Mason programmer so I'm familiar with them). I just wanted to have perl binary persistent in memory (_like_ in mod_perl) so that perl doesn't have to

Persistent Database connections

2001-09-14 Thread Flavio D' Amore
Hi, Im very near to the solution of my problem, but there's still a thing that's not working properly. Before running my perl script (f1.pl) i see five httpd@hostname sessions in Oracle V$session but at the moment in which i run f1.pl there appear a seventh session alone such f1.pl@hostname.

Template or XML?

2001-09-14 Thread Alexandr Efimov
Hello, All! Yes. AxKit's XSP module does this. Your SQL can be generated with the AxKit::XSP::ESQL module, and then you can loop over the results in your XSLT stylesheet using either xsl:foreach or (better still) using a template. Actually using AxKit::XSP::ESQL module seems to be much more

Re: Pre-announce Apache::ConfigParser

2001-09-14 Thread Thomas Klausner
Hi! I swore there was yet a third candidate in this realm, but I didn't see it on brief inspection. I am currently sort of working (haven't touched for some time) on something called Apache::FakeEnv which should be something like a subclass of Apache::FakeRequest, but which includes access to

Re: Template or XML?

2001-09-14 Thread Robin Berjon
On Friday 14 September 2001 18:16, Alexandr Efimov wrote: Yes. AxKit's XSP module does this. Your SQL can be generated with the AxKit::XSP::ESQL module, and then you can loop over the results in your XSLT stylesheet using either xsl:foreach or (better still) using a template. Actually

Environment variable $ENV{MOD_PERL}

2001-09-14 Thread Flavio D' Amore
Hi, im reading on mod_perl and Relational Databases (http://apache.org/guide/databases.html), Introduction, that persistent database connections needs to have set $ENV{MOD_PERL} in order to execute CGI perl script via mod_perl and not via normal CGI. What's the right value for that variable and

Re: Environment variable $ENV{MOD_PERL}

2001-09-14 Thread Robin Berjon
On Friday 14 September 2001 17:53, Flavio D' Amore wrote: im reading on mod_perl and Relational Databases (http://apache.org/guide/databases.html), Introduction, that persistent database connections needs to have set $ENV{MOD_PERL} in order to execute CGI perl script via mod_perl and not via

Re: Environment variable $ENV{MOD_PERL}

2001-09-14 Thread Stas Bekman
On Fri, 14 Sep 2001, Flavio D' Amore wrote: Hi, im reading on mod_perl and Relational Databases (http://apache.org/guide/databases.html), Introduction, that persistent database connections needs to have set $ENV{MOD_PERL} in order to execute CGI perl script via mod_perl and not via normal

Re: Template or XML?

2001-09-14 Thread Joshua Chamas
Alexandr Efimov wrote: Hello, all! We have a 4 year experience in developing web sites for our customers. Most of these web sites must present information stored in some relational database (MySQL or Oracle), and we create a special web interface for managing the data stored in the

How to build apache/mod_perl/mod_ssl

2001-09-14 Thread gnudev
Hi, I have the sources of: apache 1.3.20 openssl-0.9.6b openssl-engine-0.9.6b mod_ssl-2.8.4-1.3.20 mod_perl-1.26 How do I build them? I have tried ./configure --help in all but it seems they are all inter-reliant on each other and it seems impossible to build apache and enable mod_perl and

Re: How to build apache/mod_perl/mod_ssl

2001-09-14 Thread Blair Zajac
If you're on RedHat 7.1, the easiest way is to go to ftp://ftp.redhat.com/pub/redhat/linux/rawhide/i386/RedHat/RPMS/ and just download and install the packages. They don't have a current version of mod_perl though. You may have the also update your glibc to 2.2.4. Blair [EMAIL PROTECTED]

RE: How to build apache/mod_perl/mod_ssl

2001-09-14 Thread Geoffrey Young
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, September 14, 2001 2:22 PM To: [EMAIL PROTECTED] Subject: How to build apache/mod_perl/mod_ssl Hi, I have the sources of: apache 1.3.20 openssl-0.9.6b openssl-engine-0.9.6b

RE: How to build apache/mod_perl/mod_ssl

2001-09-14 Thread Christopher Fry
Or you can check out the mod_perl guide, specifically: http://perl.apache.org/guide/install.html#mod_perl_and_mod_ssl_openssl_ If you haven't seen the guide before, take some time to go through it. It's an excellent resource. -Fry -Original Message- From: [EMAIL PROTECTED]

Updating $r-connection-aborted before $r-print() ?

2001-09-14 Thread Joshua Chamas
Hey, In my own experience it seems that I can only get $r-connection-aborted updated if I first do a $r-print(). Is there any way to get aborted to update without $r-print? The scenario is that developer would like to know the aborted status before any part of the script runs, where browser

RE: Updating $r-connection-aborted before $r-print() ?

2001-09-14 Thread Geoffrey Young
-Original Message- From: Joshua Chamas [mailto:[EMAIL PROTECTED]] Sent: Friday, September 14, 2001 3:21 PM To: Mod Perl Subject: Updating $r-connection-aborted before $r-print() ? Hey, In my own experience it seems that I can only get $r-connection-aborted updated if I

Re: Apache::LogFile

2001-09-14 Thread Bryan T. Schmidt
This problem went away when I downgraded to Apache 1.3.17, mod_perl 1.25, and mod_ssl 2.80. I would really like to use the up-to date versions if I can... can someone provide me with a clue to what has changed? -Bryan Bryan T. Schmidt wrote: Howdy folks... got a wierd one here, although I

RE: Apache::LogFile

2001-09-14 Thread Geoffrey Young
-Original Message- From: Bryan T. Schmidt [mailto:[EMAIL PROTECTED]] Sent: Friday, September 14, 2001 3:32 PM To: [EMAIL PROTECTED] Subject: Re: Apache::LogFile This problem went away when I downgraded to Apache 1.3.17, mod_perl 1.25, and mod_ssl 2.80. I would really like

Re: Environment variable $ENV{MOD_PERL}

2001-09-14 Thread Medi Montaseri
These documents are very confusingon one hand the document the other caller mentioned does explicitly talk about two conditions should exists. Note A AND B. And then we hear that that is not really true...And even Apache::DBI.pm itslef does not talk about it and there is no way that I know of

Re:Environment variable $ENV{MOD_PERL}

2001-09-14 Thread Mike Miller
On Friday, September 14, 2001, Medi Montaseri wrote the following about Environment variable $ENV{MOD_PERL} MM and there is no way that I know of that one can tell, if we do MM indeed have a persistant connection or have simply required some MM dumb packages... logging into the database and

Re: Environment variable $ENV{MOD_PERL}

2001-09-14 Thread Andrew Ho
Hello, MMAnd even Apache::DBI.pm itslef does not talk about it and there is no MMway that I know of that one can tell, if we do indeed have a persistant MMconnection or have simply required some dumb packages... The documentation mentions that you can use Apache::Status to check on statistics

Re: DBI connections build up..

2001-09-14 Thread Perrin Harkins
Your script uses an END block to disconnect. If you use Apache::Registry, that will not be run until the server is shut down. With Apache::DBI, you should get one connection per Apache process, and they'll stay open. If you are changing the login parameters (i.e. different user each

Re: DBI connections build up..

2001-09-14 Thread Perrin Harkins
Your script uses an END block to disconnect. If you use Apache::Registry, that will not be run until the server is shut down. With Apache::DBI, you should get one connection per Apache process, and they'll stay open. If you are changing the login parameters (i.e. different user each

Re: Template or XML?

2001-09-14 Thread Perrin Harkins
We have also heard something about OpenInteract, which is based on Template Toolkit - may be it would be simplier to use it? It does sound like a possible good choice for your purposes, since it combines a basic application structure with Template Toolkit integration and an object/relational

Re: Template or XML?

2001-09-14 Thread Perrin Harkins
We have also heard something about OpenInteract, which is based on Template Toolkit - may be it would be simplier to use it? It does sound like a possible good choice for your purposes, since it combines a basic application structure with Template Toolkit integration and an object/relational

Setting headers

2001-09-14 Thread Rasoul Hajikhani
Hello, I am using template toolkit to generate dynamic content and I was wondering if there is any way to set a cookie after returning OK. Here is what I mean. 1-There are two scripts that check for access privileges of a user. One sets two cookies and the other (mine) sets three cookies. 2- My

Re: Persistent Database connections

2001-09-14 Thread Perrin Harkins
Before running my perl script (f1.pl) i see five httpd@hostname sessions in Oracle V$session but at the moment in which i run f1.pl there appear a seventh session alone such f1.pl@hostname. The mechanism of persistent connections seems to be not workinkg properly. What is it that makes you

Auth vs Authz handler

2001-09-14 Thread J. J. Horner
I'm working on the Apache::AuthExpire module. Considering the difficulties of getting two browsers to behave the same way, I was thinking that I should probably implement a login page, once the initial authentication phase is finished. Basically, user logs in, then if no timestamp is

Re: Environment variable $ENV{MOD_PERL}

2001-09-14 Thread Stas Bekman
On Fri, 14 Sep 2001, Medi Montaseri wrote: These documents are very confusingon one hand the document the other caller mentioned does explicitly talk about two conditions should exists. Note A AND B. And then we hear that that is not really true...And even Apache::DBI.pm itslef does not

Re: Setting headers

2001-09-14 Thread Stas Bekman
On Fri, 14 Sep 2001, Rasoul Hajikhani wrote: Hello, I am using template toolkit to generate dynamic content and I was wondering if there is any way to set a cookie after returning OK. Here is what I mean. 1-There are two scripts that check for access privileges of a user. One sets two