(doesApache::DBI overload the DBI methods?)
No, it doesn't. It uses Apache and DBI. Did you install the package via the
"Makefile.PL" stanza? Maybe you should just install it another time. On the
other hand, Apache::DBI doesn't export anything. Try calling it with the
package name explicitly.
"Stathy G. Touloumis" wrote:
> It seems that the problem does not reside with Smb.pm but with the shared
> object file Smb.so
I reinstalled Authen-Smb, - Smb.so looks good :) and is there where it must
be. What may be wrong with this file?
--
Andrew
I had tried that, with the same result. (does
Apache::DBI overload the DBI methods?) Full
error is as follows. Again, any help is _highly_
appreciated.
Marty
[error] Can't locate object method "connect_on_init" via package "Apache::DBI" at
/etc/httpd/conf/startup.pl line 28.
Compilation failed
: ) As with any application that depends on the requirements.
> > There really is no reason to cleanup the globals since they are still
> > referenced and in memory. Perhaps you can consider an
> interface around your
> > code which can handle the cleanup and such of any variables.
> >
> > You
> If the UNIVERSAL namespace is shared I
> would have thought one or the other (the last one?) would "get" the
> print_error sub and the other loses out but at some point they seem to
> coexist just fine. Whilst at some other point they as expected and one
gets
> the others. Any theories?
You hav
Hi all,
On Tue, 12 Feb 2002, Stathy G. Touloumis wrote:
> There really is no reason to cleanup the globals since they are still
> referenced and in memory. Perhaps you can consider an interface around your
> code which can handle the cleanup and such of any variables.
>
> You could also set a
Have you looked at Apache::AuthCookie?
Ray Recendez wrote:
002101c1b40c$fa6ab930$d4fe97c6@RAYWIN">
I am trying decide which authentication scheme to use with Apache on Solaris.
I want to be able to issue cookies and expire them after a set duration.
What is the best method
This is what I thought but I am not getting behaviour that indicates this.
To explain.
I have two applications, a forums program and a basic portal. Both of these
run on the same server under virtual servers. Both .pl's have a section
where they switch into the UNIVERSAL package and setup some gl
I am trying decide
which authentication scheme to use with Apache on Solaris. I want to be able to
issue cookies and expire them after a set duration. What is the best
method/module(s)? And which provides the most documentation on setup and
configuration?
Thanks,
--Ray
> > * Global variables should be reinitialized on each request. Or at least
> > if we want them to be persistent we do not want them to be shared with
> > different scripts on different virtual hosts!
Try looking into the way mod_perl hooks into the apache configuration. This
may work for settin
It works
I don't get the point why it did not work the other way round, but now
everything is just fine now :
package Apache::AuthenIntra;
#use strict;
use Apache::AuthenSmb;
use Apache::AuthSybase;
use Apache::Constants;
sub handler {
my $r = shift;
my($res, $s
> A list of things I've noticed:
>
> * If you have two *different* modules which have the same name, then
> either one, or the other is loaded in memory, never both. This is
> dead annoying. I think Perl standard modules + CPAN modules should be
> shared, other modules which are specific to a give
> However both applications make use of the UNIERVSAL package to create
> universally accessible methods (to return the current database handle for
> example) within the application.
Better to put those into a package of your own and call them with
fully-qualified names, or import them as Tatsuhi
Perrin Harkins wrote:
>
> > I think the problem here is that mod_perl sets the assbackward flag
> > when setting headers via send_cgi_header() (which CGI.pm does).
>
> Is this only an issue when using CGI.pm or PerlSendHeader then? I seem to
> recall having no trouble doing this from a normal h
Cookies!
/me is in smartass mode today.
--Jon
Ron Beck wrote:
>
> Hello all,
> I need to know how to clear the $ENV variables. For example, I use a
> .htaccess file for specific directories which requires the user to enter
> userID and password. When they exit the page, I want them to have t
That is odd, I would check the interface for the authentication modules and
be sure that they are being used properly. It may help to also put in some
debug/trace statements to figure out where things are failing or not working
as expected : )
> This way, I do not get any failure messages, but t
> I think the problem here is that mod_perl sets the assbackward flag
> when setting headers via send_cgi_header() (which CGI.pm does).
Is this only an issue when using CGI.pm or PerlSendHeader then? I seem to
recall having no trouble doing this from a normal handler.
- Perrin
Hi
This way, I do not get any failure messages, but the authenication does not
work at all. Say, it does not matter wat password your typing in, you get
always authenticated. Even when one auf the handlers logs a violation and
return AUTH_REQUIRED / DECLINED.
package Apache::AuthenIntra;
use st
Hi there,
On Tue, 12 Feb 2002, Anders Knuts wrote:
> I have a board script to which users can post (of course)
> One IP-address has sometimes problems posting to that script, though.
[snip]
> really isn't mine, but what causes it??? How can the POST loose it's
> content like that? [snip] Could i
Hi there,
On Mon, 11 Feb 2002, Kevin Slean wrote:
> I need to run multiple apache servers on one Solaris 2.7 box configured in
> such a way that each of them accesses their own private copy of perl
> libraries.
Could you accept recompiling Perl without the couple of paths which
get in the way,
Hi there,
On Tue, 12 Feb 2002, James G Smith wrote:
> "Randy J. Ray" <[EMAIL PROTECTED]> wrote:
>
> >* Are there ways to register other log types, in addition to the access,
> > error, etc.? Such that people could specify those (and a format) the
> > same way they specify the others? More to
Hi!
I have a board script to which users can post (of course)
One IP-address has sometimes problems posting to that script, though.
Look at the log's below.
xxx.xxx.25.50 - - [10/Feb/2002:21:15:33 +0100] "POST
/cgi-bin/mboard/message.pl HTTP/1.1"
200 88 "-" "Mozilla/4.0 (compatible; MSIE 5.5; Win
Hi there,
On 11 Feb 2002, jon schatz wrote:
> Can I request then that the suggested tag [JOB] be used for such
> postings?
Please see
http://perl.apache.org/email-etiquette.html
73,
Ged.
> I also tried something like this at first. But I get this error message in
> my apache/error.log
>
>
> [Tue Feb 12 20:20:59 2002] [error] Can't locate object method
> "handler" via
> package "Apache::AuthenS
> mb" (perhaps you forgot to load "Apache::AuthenSmb"?) at
> /usr/share/perl5/Apache/Aut
Thank you!
I also tried something like this at first. But I get this error message in
my apache/error.log
[Tue Feb 12 20:20:59 2002] [error] Can't locate object method "handler" via
package "Apache::AuthenS
mb" (perhaps you forgot to load "Apache::AuthenSmb"?) at
/usr/share/perl5/Apache/AuthenI
> >* Despite numerous heroic efforts, HTTP HEAD requests are still screwed!
> >Apache::Registry serves HEAD + Body, and Geoffrey's Apache::HEADRegistry
> >doesn't work with redirects and 404's (I get like two headers and 3
> >bodies for 404's. Now that's verbose :-))
> >
> No real mod_perl probl
> The get_handlers code is out of AuthenSmb as I do not have the slightest
> idea of how to get the results of the called function.
Hmmm, It would seem that it would be better to call the function directly
from your handler. I am not sure how the AuthenSmb handlers should be
called but you should
It seems that the problem does not reside with Smb.pm but with the shared
object file Smb.so
> I need to know how to clear the $ENV variables. For example, I use a
> .htaccess file for specific directories which requires the user to enter
> userID and password. When they exit the page, I want them to have to
> re-enter userID and passwd if they enter the page again. Does anyone
> know
> "RL" == Robert Landrum <[EMAIL PROTECTED]> writes:
RL> I've recently come across some interesting behavior with Opera on linux.
RL> When I set a cookie using CGI::Cookie and Set-Cookie: headers, and
RL> then perform a JavaScript redirect to another page, the cookie IS NOT
In my experience,
> "ABH" == Ask Bjoern Hansen <[EMAIL PROTECTED]> writes:
ABH> The myth lives on. :-) It's not quite true. It was at UCLA and
ABH> the story was different:
ABH> http://nntp.perl.org/group/perl.advocacy;max=961
ABH> http://nntp.perl.org/group/perl.advocacy/956
Quite lame to make a programmi
Hello all,
I need to know how to clear the $ENV variables. For example, I use a
.htaccess file for specific directories which requires the user to enter
userID and password. When they exit the page, I want them to have to
re-enter userID and passwd if they enter the page again. Does anyone
kno
>
>
>AuthName Test
>AuthType Basic
>PerlSetVar myPDC SAMBA
>PerlSetVar myDOMAIN ARBEITSGRUPPE
>PerlAuthenHandler Apache::AuthenSmb Apache::AuthSybase
>require valid-user
>
>
is mod_perl compiled with STACKED HANDLERS?
the first module to run will need to return DECLIN
Ok, these are the lines from httpd.conf. The default-handler in /app/jsp
is inserted because I hope that i'll get resin taking over the request in
case the .pm declines. (hope this is right)
RewriteRule ^(.*)/(intl|de)/(.*) $1/jsp/$3 [QSA]
RewriteRule ^/$ /app/jap/home.jsp/23323.html [
Martin Haase-Thomas wrote:
>
> Hi,
> I searched in the book, I searched in the FAQs - no I ask u:
>
> Does Apache::File->new start a subrequest?
no. it is merely a layer over Perl's file IO methods (Perl_do_open
from what I can see).
> There are some mystical lines
> in my rewrite_log, which
Jean-Michel Hiver wrote:
>>>* If you have two *different* modules which have the same name, then
>>>either one, or the other is loaded in memory, never both. This is
>>>dead annoying. I think Perl standard modules + CPAN modules should be
>>>shared, other modules which are specific to a given scr
> >* If you have two *different* modules which have the same name, then
> >either one, or the other is loaded in memory, never both. This is
> >dead annoying. I think Perl standard modules + CPAN modules should be
> >shared, other modules which are specific to a given script should not.
> >
> And
On Tue, 12 Feb 2002 14:15:37 +1100
"Morton-Allen, Matthew" <[EMAIL PROTECTED]> wrote:
> However both applications make use of the UNIERVSAL package to create
> universally accessible methods (to return the current database handle for
> example) within the application.
You don't need UNIVERSAL f
Jean-Michel Hiver wrote:
[snip]
>
>A list of things I've noticed:
>
>* If you have two *different* modules which have the same name, then
>either one, or the other is loaded in memory, never both. This is
>dead annoying. I think Perl standard modules + CPAN modules should be
>shared, other modul
> The thing is I am getting some weird behaviour where one application seems
> to be getting code from the other. In theory this isn't possible with the
> separated namespaces. I suspect my UNIERVSAL use is the problem. Can anyone
> verify this? Is it a known problem? Is there any way around it?
Hi,
I searched in the book, I searched in the FAQs - no I ask u:
Does Apache::File->new start a subrequest? There are some mystical lines
in my rewrite_log, which might come from there.
Thanx a lot
Martin
On Mon, 11 Feb 2002, Paul Lindner wrote:
> On Mon, Feb 11, 2002 at 06:31:25PM -0800, Randy J. Ray wrote:
> >
> > * If I install a handler for PerlLogHandler, does the normal logging still
> > take place? Is it a function of whether my handler returns OK, DECLINED,
> > etc.?
>
> As far as I kn
42 matches
Mail list logo