> I suppose that controllers would use internal redirects to call the
> views, is there a way to pass Perl data this way?
For the project I work on (a WWW-enabled PKI), we simply use CGI-encoded
URLs. This way, we can do the controllers in Perl and the views in
PHP, which is great for security
Surprisingly I'm actually doing a proof of principle on the same theme.
I'm developing a set of MVC classes which tie in with either tt2 or mason.
I've got abstract Model, View and Controller classes. View can be
subclassed into HTML, XML, whatever. I'm using normal classes at the
moment, but i
Hi list
I wrote a small perl module using perl/Expat for parsing XML-files.
With apache 1.3.19 and perl 5.6.0 and Expat 2.27 it works fine.
In my new configuration (apache 1.3.20, perl 5.6.1 and Expat 2.30)
apache dies with an SIGSEGV on loading.
The error occured during the function call Par
simran wrote:
>
> Thanks Geoff.
>
> What you have suggested can solve the problem... i'm however, preferably
> looking at deleting a set var via my apache config file, and don't have
> a '$r' /request_object available there.
but you do have an Apache::Server object...
Apache::Server->dir_confi
I am also implementing a MVC pattern under mod_perl for an internal project
at work. The app collects process data from our manufacturing processes and
makes it available on the internal network. Here's a quick overview of the
way I've done it.
Model:
The model consists of a backend database
Hi all,
I have the following configuration.
SetHandler perl-script
PerlAccessHandler MyCheck
PerlHandler MyHomePage
The PerlAccessHandler checks if the user cookie is valid and set a $r->notes()
entry to pass the user id to the MyHomePage handler which do his work. In the
MyHomePage ha
Hi All,
I had been banging my head on this problem for a while
& finally I guess I've found a solution.
Following was the problem:
I had
PerlFreshRestart On
PerlRestartHandler Apache::Symbol
in my conf. I needed the restart func. & didn't want
to use other alternates (like Apache::Reload, StatI
As an add-on to this, does anyone know if one could use MySQL HEAP
(memory resident) tables for the session table?
--Jon Robison
Rob Bloodgood wrote:
>
> > I am using Apache::Session with Postgresql. Unfortunately I had
> > never worked with a huge amount of data before I started to program
> >
$r->pnotes persist across internal_redirects, I believe.
--Jon Robison
Igor Sysoev wrote:
>
> On Tue, 26 Feb 2002, F. Xavier Noria wrote:
>
> > I suppose that controllers would use internal redirects to call the
> > views, is there a way to pass Perl data this way? For example, in the
> > han
Hello,
I'm running mod_perl with Apache-SSL on Solaris 8.
I setup a self-certificate for the basic authentication.
I want to get the login name from the client (REMOTE_USER).
In CGI, there is an environment variable $ENV{REMOTE_USER} that I can use.
In mod_perl with SSL, how do I get the remote
On Tue, Feb 26, 2002 at 11:36:39AM +0100, gaston wrote:
> Hi list
>
> I wrote a small perl module using perl/Expat for parsing XML-files.
> With apache 1.3.19 and perl 5.6.0 and Expat 2.27 it works fine.
> In my new configuration (apache 1.3.20, perl 5.6.1 and Expat 2.30)
> apache dies with an
On Tue, 26 Feb 2002 08:32:37 -0500
"Henigan, Timothy" <[EMAIL PROTECTED]> wrote:
: I don't know if this is the best design, but it works for this application.
: If you made it this far into the email, you might be interested in some
: sample code...let me know. If you have comments, please speak
Andrew Ho wrote:
> I've been investigating other template systems to try to find similar
> functionality in an existing package for a non-Tellme related project and
> haven't been able to find any embedded-Perl solutions that can be called
> from a .pl and still have the benefits of template cachi
"Wong, Connie" wrote:
>
> Hello,
>
> I'm running mod_perl with Apache-SSL on Solaris 8.
> I setup a self-certificate for the basic authentication.
> I want to get the login name from the client (REMOTE_USER).
> In CGI, there is an environment variable $ENV{REMOTE_USER} that I can use.
> In mod_p
F. Xavier Noria wrote:
> For example, in the
> hangman game in O'Reilly's book a controller would load a session from
> the cookie, process user's guest, modify the state and redirect the
> request internally to the view.
It would probably be orders of magnitude faster to just call a template
en
See chapter 8 of the Eagle book (Apache Modules in Perl/C) for complete
coverage of hooking into the apache configuration. It really allows you to
do some pretty nifty stuff and would easily allow you to perform what you
want. At first it seems overkill to know but once you do it opens many
door
The URL
ftp://ftp.dev.ecos.de/pub/perl/ntlm/Apache-AuthenNTLM-0.14.tar.gz
has entered CPAN as
file: $CPAN/authors/id/G/GR/GRICHTER/Apache-AuthenNTLM-0.14.tar.gz
size: 45446 bytes
md5: 704a1c161d2a308c74b1397e5bca5a1f
The purpose of this module is to perform a user authentication via
At 16:06 26.02.02 +0100, you wrote:
>So, a controller could in principle perform a call to a template engine
>as yours does, conceptually there is no need to do that internal
>redirect. In fact, there is no need to have two different files if I
>take the pattern a bit further. For instance, I be
Mat wrote:
> Hi all,
>I have the following configuration.
>
> SetHandler perl-script
> PerlAccessHandler MyCheck
> PerlHandler MyHomePage
>
>
> The PerlAccessHandler checks if the user cookie is valid and set a $r->notes()
> entry to pass the user id to the MyHomePage handler which do
Hello folks,
I have just writen an online ordering system for our company using
mod_perl. The user must also be able to print the form, preserving the
format. Since we use netscape (4.5) for Irix 6.5, I can't use the print
button of the browser, the format is not preserved. Any one know of any
mod
On Tue, Feb 26, 2002 at 07:12:55PM -0800, Rasoul Hajikhani wrote:
> Hello folks,
> I have just writen an online ordering system for our company using
> mod_perl. The user must also be able to print the form, preserving the
> format. Since we use netscape (4.5) for Irix 6.5, I can't use the print
>
21 matches
Mail list logo