I have recently had a bit of exposure to Class:DBI and CGI::Application
in a project running under CGI.
My (brief) experience of both is that they cut the code you have to
write dramatically, making development a whole lot faster.
But also, (certainly when running under CGI on my old laptop)
Clinton Gormley wrote:
What are the experiences/opinions of using these modules under mod_perl
2 on high traffic sites?
You might look at Cataylst which is a perl MVC (Model View Controller)
--
END
What doesn't kill us can only
Philip M. Gollucci wrote:
Clinton Gormley wrote:
What are the experiences/opinions of using these modules under mod_perl
2 on high traffic sites?
You might look at Cataylst which is a perl MVC (Model View Controller)
Not only that, but it runs under CGI, FastCGI, ModPerl1, and ModPerl2
Clinton Gormley wrote:
I have recently had a bit of exposure to Class:DBI and CGI::Application
in a project running under CGI.
[...]
What are the experiences/opinions of using these modules under mod_perl
2 on high traffic sites?
I'm currently using them on mod_perl 1, but it shouldn't
Philip M. Gollucci wrote:
Clinton Gormley wrote:
What are the experiences/opinions of using these modules under mod_perl
2 on high traffic sites?
You might look at Cataylst which is a perl MVC (Model View Controller)
CGI::Application is also MVC. Catalyst is worth checking out though.
-
Hi list,
I have a PerlAccessHandler which needs a copy of the POST data from the
client in order to perform some validation. If the POST data is valid, the
request is passed to mod_proxy which sends it to the backend server
(filter returns Apache2::Const::OK) If the POST data is invalid, it
Hi,
I'm new to mod_perl programming, and I'm trying to write an
authentication/authorization system under mod_perl 2.0. I've been suing
mod_auth, but I need a database-driven system and mod_auth_mysql won't
complie on my system (that's another story).
I'm trying to use
I started using CGI::Application a while ago and found it pretty easy to use.
I think you might look into using CGI::Builder, which is basically the same
idea but more flexible and with lots of nice extensions for various
templating systems, etc.
Hello, everybody.
I have:
FreeBSD 4.7 Apache 2.0.54 mod_perl 2.0.1 Apache::DBI 0.99 (taken from http://p6m7g8.net/Apache-DBI)
In my startup.pl I have:
use Apache::DBI (); $Apache::DBI::DEBUG = 2; Apache::DBI-connect_on_init("DBI:Pg:dbname=test", "test", "test", {AutoCommit = 0, RaiseError = 1,
On 11/2/05 12:22 PM, Dan Axtell [EMAIL PROTECTED] wrote:
Hi,
I'm new to mod_perl programming, and I'm trying to write an
authentication/authorization system under mod_perl 2.0. I've been suing
mod_auth, but I need a database-driven system and mod_auth_mysql won't
complie on my system
Grigory Ptashko wrote:
Apache::DBI 0.99 (taken from http://p6m7g8.net/Apache-DBI)
Just so you know, its sitting in my CPAN as well.
In my startup.pl I have:
use Apache::DBI ();
$Apache::DBI::DEBUG = 2;
Apache::DBI-connect_on_init(DBI:Pg:dbname=test, test, test,
{AutoCommit = 0, RaiseError =
Is it possible Embperl does something with the Apache Request
in an earlier Phase of the request?
No, Embperl does step in at the content phase, but never before
Gerald
** Virus checked by BB-5000 Mailfilter **
Balázs Szabó (dLux) [EMAIL PROTECTED] wrote:
What I did in my module is the following:
delete $ENV{TZ};
tzset();
($a, $b) = tzname();
$a should contain the local timezone (according to the documentation of
the tzset manual), although it is UTC always. What I suspect is that
when I
Perrin Harkins [EMAIL PROTECTED] wrote:
If it is some old junk left in the @INC how would I go about
correcting it?
My approach would be to start with a new Perl install and a new
mod_perl. There is no official way to uninstall a Perl module, so it's
hard to be sure that you got
Hello, everybody.
I have:
FreeBSD 4.7
Apache 2.0.54
mod_perl 2.0.1
Apache::DBI 0.99 (taken from http://p6m7g8.net/Apache-DBI)
In my startup.pl I have:
use Apache::DBI ();
$Apache::DBI::DEBUG = 2;
Apache::DBI-connect_on_init(DBI:Pg:dbname=test, test, test,
{AutoCommit = 0, RaiseError = 1,
I am trying to compile mod_perl-2.0.2 with httpd-2.0.55. These are the
compilation options I used for mod_perl:
# perl Makefile.PL MP_APXS=/path/to/bin/apxs
When finished compiling and installing, this is the error message I get
when attempting to start httpd:
Syntax error on line 235
On Wed, 2 Nov 2005, Rick Measham wrote:
mod_perl-2.0.2-2 .. from a source RPM .. on Centos
I'm trying to get RT to install, and thus need to first install mod_perl2.
However I'm not getting past the server startup:
Can't locate object method content_type via package Apache2::RequestRec
at
First.. This is my first post to the list.. I hope that I'm not asking
something thats already been answered. If I have, please point me in the
right direction, and I'll gratefully go where needed. And sorry for the
length of the email.. I tried to be as verbose as I could so if someone
could
Randy Kobes wrote:
Do you have a
use Apache2::RequestRec;
in your script?
If so, could you post a minimal scipt that reproduces
this problem?
Thanks Randy,
I've solved the problem by installing mod_perl from cpan rather than
from the rpm .. there must be something broken in there.
On Wed, 2005-11-02 at 17:19 -0600, Michael Preslar wrote:
Server version: Apache/2.0.40
[...]
What version of mod_perl? Not sure. CPAN wants me to upgrade to 1.29
Nothing in the 1.x mp series will run on the 2.x apache series. You can
find out what version you have by printing $ENV{MOD_PERL}
Marc Tardif wrote:
I am trying to compile mod_perl-2.0.2 with httpd-2.0.55. These are the
compilation options I used for mod_perl:
What OS and perl -V ?
# perl Makefile.PL MP_APXS=/path/to/bin/apxs
Good
Syntax error on line 235 of /path/to/etc/apache/httpd.conf:
Cannot load
Randy Kobes wrote:
Can't locate object method content_type via package
Apache2::RequestRec at /opt/rt3/bin/webmux.pl line 108.
Do you have a
use Apache2::RequestRec;
in your script?
If so, could you post a minimal scipt that reproduces
this problem?
This script /opt/rt3/bin/webmux.pl is
Michael Preslar wrote:
[EMAIL PROTECTED] conf]# /usr/sbin/httpd -l
Compiled in modules:
core.c
prefork.c
http_core.c
mod_so.c
(so mod_perl is not compiled in)
I assume that means it Dynamic.
Check your AddModule/LoadModule lines and be sure it _IS_ loaded.
IfModule mod_perl.c ... /IfModule
Perrin Harkins wrote:
On Wed, 2005-11-02 at 17:19 -0600, Michael Preslar wrote:
Server version: Apache/2.0.40
[...]
What version of mod_perl? Not sure. CPAN wants me to upgrade to 1.29
Nothing in the 1.x mp series will run on the 2.x apache series. You can
find out what version you
24 matches
Mail list logo