You should be able to find just about all the answers here:
http://perl.apache.org/guide
--
>From: "Purcell, Scott" <[EMAIL PROTECTED]>
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>Subject: Mod-Perl Installed next Q
>Date: Fri, Jun 15, 2001, 4:43 PM
>
>Hello,
>Thank you all and Ron for
"Jonathan M. Hollin" wrote:
> I know you all want me to go away, so I apologise for the noise. Anyway, at
> http://perl.apache.org/guide/databases.html#Why_Relational_SQL_Databases
> there is a reference to an "Apache::DBI" module. I DON'T have this module
> installed - is this the reason why
Ken Williams wrote:
> [EMAIL PROTECTED] (Jonathan M. Hollin) wrote:
> >:: Okay, last idea: you say you can connect to mysql from the command line,
> >:: from regular CGI, and from PHP. I'm guessing that in all of those
> >:: situations, you're acting as the same user (win2k user, not mysql use
"Jonathan M. Hollin" wrote:
> This is driving me crazy... is there anything special I need to do when
> using DBI (DBD::MySQL) with mod_perl. A script that works just fine sans
> mod_perl dies with error 500 (Internal Server Error) when mod_perl is
> enabled for that file type:
>
> Web Server
Thank you very much Vivek. That was exactly what was happening. I did
manage to figure it out eventually. Thanks for your help.
Mike
Vivek Khera wrote:
> >>>>> "MC" == Mike Cameron <[EMAIL PROTECTED]> writes:
>
> MC> package My::Main;
> MC>
Thanks for your responses.
Chris Strom wrote:
> Mike Cameron <[EMAIL PROTECTED]> writes:
>
> > Is it possible to have the same PerlAuthzHandler use different require's
> >
> > on a subdirectory once a user has been authorized for a parent
> > dire
Is it possible to have the same PerlAuthzHandler use different require's
on a subdirectory once a user has been authorized for a parent
directory? Here is what i would like to be acle to do:
SetHandler perl-script
AuthType MyAuth
AuthName MyAuth
PerlAuthenHandler MyAuth->authenticate
PerlAuthzH
I am having trouble getting pnotes to work and wonder if there is
something obvious I am missing. in PerlAuthenHandler I have gone back
to the Apache man page and tried to recreate the example given there but
to no avail. Below is the code:
package My::User;
sub handler{
my $r = new Apache::R
http://perl.apache.org/guide/porting.html#Configuration_Files_Writing_Dy
Guide Good!
"Warren D. Johnson" wrote:
> Hello All,
>
> I apologize if this is in a FAQ somewhere.
>
> I have a script, lets call it test.pl. Test.pl requires in config.pl.
>
> Test.pl uses variables (via use vars) from c
Dave Greco wrote:
> I am having some serious problems with a custom AuthenHandler. Basically,
> it looks up users/passwords/groups in a database. The problem is whenever I
> encounter a bad password/username, I want the dialog box to reappear asking
> for them. Instead, the 401 error page is be
Kiran k wrote:
> Hi ,
> I am having problems with the stacked handlers , i have enclosed the code below ,
>
> the error i get is undefined value ($r) in sub authenticate
>
> package SetRealm1;
>
> use Apache;
> use Apache::Constants qw(:common);
> use DBI;
> use diagnostics;
> sub handler {
>
How about writing your own log handler
PerlLogHandler My::LogModule
or in your code
$r->push_handler(PerlLogHandler => \&MyLoghandler);
sub MyLoghandler{
my $r=Apache::Request;
code to log info to file
}
the push_handler method does not pass the request object to the subroutine.
Andrew
Perrin Harkins wrote:
> > I am currently using Storables lock_store and lock_retrieve to maintain
> > a persistent data structure. I use a session_id as a key and each data
> > structure has a last modified time that I use to expire it. I was under
> > the impression that these two functions
Sorry,
I am running mod_perl 1.24_01, Apache 1.3.19, on Redhat 7.0 Storable
1.011
I am currently using Storables lock_store and lock_retrieve to maintain
a persistent data structure. I use a session_id as a key and each data
structure has a last modified time that I use to expire it. I was under
the impression that these two functions would be safe for concurrent
access, but
Try this
http://search.cpan.org/search?mode=module&query=Apache%3A%3AAuth
I found browsing existing code and implementing existing modules really
helps a guy understand the whole process.
Sumit Babu wrote:
> Hi,
> I am very new to mod_perl, and would like to know
> if there are any pointe
I believe that you need to load your module first, either in a startup file or
with PerlModule Me::MyHandler
Gene Dascher wrote:
> I have a handler that I want to contain all of my methods for access
> control, authentication and authorization. I have created the file with 3
> different methods
IL PROTECTED]]
> > Sent: Monday, March 05, 2001 11:19 AM
> > To: Geoffrey Young; 'Mike Cameron'
> > Cc: [EMAIL PROTECTED]
> > Subject: RE: push_handlers question
> >
> >
> > At 10:36 AM -0500 3/5/01, Geoffrey Young wrote:
> > > > > T
.
Mike
Geoffrey Young wrote:
> > -Original Message-
> > From: Mike Cameron [mailto:[EMAIL PROTECTED]]
> > Sent: Sunday, March 04, 2001 11:59 PM
> > Cc: modperl
> > Subject: push_handlers question
> >
> >
> > I am trying to sub class Ap
I am trying to sub class Apache::AuthCookieURL and would like to use
$r->push_handlers(PerlAuthenHandler => My::Class->authenticate);
the push_handler is set in a handler called from httpd.conf on the
PerlInitHandler phase but the authenticate routine does not seem to be getting
the apache request
20 matches
Mail list logo