I use Apache::AuthCookie 3.04, which seems to be the latest version, under
Apache/1.3.26 Ben-SSL/1.48 (Unix) Debian GNU/Linux PHP/4.1.2 mod_perl/1.26.
When I use PerlFixupHandler Apache::AuthCookie-recognize_user, Apache
writes Use of uninitialized value. in errorlog for each request
Thanks for your response!
You have to subclass Apache::AuthCookie. This should be something like:
PerlFixupHandler Your::Sublass-recognize_user
Well, I do. I just pasted the wrong text (from the 2002 mail).
The actual configuration snippet is:
Location /
AuthType TAS::Cookie
PROTECTED]
Gesendet: Freitag, 12. September 2003 13:46
An: [EMAIL PROTECTED]
Betreff: Apache::AuthCookie causing strange-Use of uninitialized
value.
I use Apache::AuthCookie 3.04, which seems to be the latest version,
under
Apache/1.3.26 Ben-SSL/1.48 (Unix) Debian GNU/Linux PHP/4.1.2
mod_perl/1.26.
When
I have placed a pre-release of Apache::AuthCookie 3.05 which supports
mod_perl version 2 (as well as mod_perl version 1) up on the sorceforge
downloads. The API has changed slightly for mod_perl version 2 in order
to avoid using Apache-request. See the README.modperl2 file in the
distribution
On Tue, 10 Jun 2003, Jay Strauss wrote:
I'm running into a problem during the make test while installing the current
version of Apache::AuthCookie. I'm not sure where to go. I looked at tests
10 and 15:
Hrm. You are supposed to get ok for all of the tests.
If I had to guess from this I
Apache::AuthCookie
On Tue, 10 Jun 2003, Jay Strauss wrote:
I'm running into a problem during the make test while installing the
current
version of Apache::AuthCookie. I'm not sure where to go. I looked at
tests
10 and 15:
Hrm. You are supposed to get ok for all of the tests.
If I
Hi,
I'm running into a problem during the make test while installing the current
version of Apache::AuthCookie. I'm not sure where to go. I looked at tests
10 and 15:
Test 10 is supposed to fail: and it did
Test 15 is supposed to be FORBIDDEN
Should I go ahead and do make install?
Jay
I
Title: Gareth Stationery
Morning all,
Diving straight in... This is my first time
using Apache::AuthCookie for Authorization and Authentication ... but when I've
been pencilling my plan out I'm already afraid
I might need to go a different route - so I
thought I'd post here and see what
Hi!
On Tue, Jan 07, 2003 at 09:30:32AM -, Gareth Kirwan wrote:
Hence I'm thinking that I'll need something using the model of require
species hamster ( from Apache::AuthCookie documentation )
However I can't find out the significance of the word species ...
hamster is the subroutine
Hi!
On Tue, Jan 07, 2003 at 11:20:25AM +0100, [EMAIL PROTECTED] wrote:
From perldoc Apache::AuthCookie:
o authorize()
This will step through the require directives you've
given for protected documents and make sure the user
passes muster. The require valid-user and require
the word hamster. The method should return OK on success
and FORBIDDEN on failure.
Here you'll say that it'll call the method hamster!
What do you think of that ? Typo ?
it's the other way round:
if you say in httpd.conf
require species hamster
Apache::AuthCookie will call
species() in your
Any comments?
AuthCookie has not yet been ported to mod_perl 2.0.
Mike
I recently started testing experimental mod_perl 2.0, and almost
immediately run into following problem:
Apache::AuthCookie (3.04) wants to set auth_type of
connection/request/whatever, but there no longer exists any method in
Apache::blahblah that allows me to set the auth_type/auth_name
Hi All,
I have written some code that seems to work fine with no perl warnings
in the error log... and i was using it quite successfully using
Apache::AuthCookie under mod_perl.
However, when i put this in my apache configuration file:
PerlFixupHandler Apache::AuthCookie-recognize_user
I
I'm experiencing a really strange problem with Apache::AuthCookie and
Internet Explorer. Every now and then when I try and access a protected
URL, I never see the login page.
If I close the window, and open a new one, it works just fine. This is the
case even if there are other windows open
The uploaded file
Apache-AuthCookie-3.02.tar.gz
has entered CPAN as
file: $CPAN/authors/id/M/MS/MSCHOUT/Apache-AuthCookie-3.02.tar.gz
size: 29015 bytes
md5: 107408d13a43cfbe2d2eccce40adffbe
Changes:
---
Version
Hi
I 'm trying to use the Apache::AuthCoookieLDAP module to authenticate
my web users using my ldap server.
With the defaut configuration it works quite well.
Right now i would like to make user authenticate throug a SSL
page.
In order to do that i modify the configuration script to use
ED == Eric Doutreleau [EMAIL PROTECTED] writes:
ED Right now i would like to make user authenticate throug a SSL
ED page.
ED In order to do that i modify the configuration script to use
ED PerlSetVar WhatEverLoginScript https://corbeau/perl/login.pl
Well, in order to be able to get the
ala 2.0 I'll forward the code to you.
-pete
Michael J Schout wrote:
On Thu, 2 May 2002, Per Einar Ellefsen wrote:
At 21:25 02.05.2002, Peter Rothermel wrote:
greetings,
Has anybody had any luck getting Apache-AuthCookie going
on an Apache 2.0 / mod_perl 1.99 setup? The first thing
On Thu, 2 May 2002, Per Einar Ellefsen wrote:
At 21:25 02.05.2002, Peter Rothermel wrote:
greetings,
Has anybody had any luck getting Apache-AuthCookie going
on an Apache 2.0 / mod_perl 1.99 setup? The first thing that
I hit was $r-connection-user is deprecated. I've changed these
to $r
greetings,
Has anybody had any luck getting Apache-AuthCookie going
on an Apache 2.0 / mod_perl 1.99 setup? The first thing that
I hit was $r-connection-user is deprecated. I've changed these
to $r-user. The next hurdle is that the status code REDIRECT
does not seen to be Apache::Constants
At 21:25 02.05.2002, Peter Rothermel wrote:
greetings,
Has anybody had any luck getting Apache-AuthCookie going
on an Apache 2.0 / mod_perl 1.99 setup? The first thing that
I hit was $r-connection-user is deprecated. I've changed these
to $r-user. The next hurdle is that the status code
We currently use Apache::AuthCookie for authentication/authorization, and it
works great. However, we want to make a change to how the login works.
In addition to having Apache::AuthCookie intercept requests for URL's that
require auth/authz, we would like to provide a signon area on the main
Have that proactive signin area forward to a page behind
Apache::AuthCookie protection and then have that page forward them right
back to where they were? If you don't have frames that would be pretty
easy.
-Fran
Ken Miller wrote:
We currently use Apache::AuthCookie for authentication
variable path=/agenda was omitted. Explorer 6.0 doesn't set cookie
without path attribute.
I think, it's a good idea to make WhatEverPath required option in
config.
Hrm. I was not aware of that. Thanks for bringing it to my attention.
I have changed AuthCookie in CVS so that Path will be
will see what we can do if
such a limitation does in fact exist :).
Regards,
Michael Schout (Apache::AuthCookie maintainer)
missing the point and I will see what we can do if
such a limitation does in fact exist :).
Regards,
Michael Schout (Apache::AuthCookie maintainer)
Location /agenda/
SetHandler perl-script
PerlHandler Apache::Agenda
PerlSetVar AgendaPath /agenda
PerlSetVar
Skipped
Actually, as my application should be
1. simple maintained,
2. maximum count of users - 100 (employees in small software
development company)
3. simultaneous login - 5-7 maximum
4. team managers work with money (project budjet, employee's payment
per hour and etc)
5. good session
Hello all!
Odd thing - all should works fine.
I use Apache::AuthCookie for my project Agenda.
I wrote descendant - Apache::AuthCookieAgenda
package Apache::AuthCookieAgenda;
use strict;
use Apache;
use Apache::Constants qw(:common);
use Apache
Hello all!
Odd thing - all should works fine.
I use Apache::AuthCookie for my project Agenda.
I wrote descendant - Apache::AuthCookieAgenda
package Apache::AuthCookieAgenda;
use strict;
use Apache;
use Apache::Constants qw(:common);
use
of lookup on the server-side for every request
if they need session information. It may not be to a database though. If
you know that each user will stay on a single server, you can use a
disk-based technique like Cache::FileCache or Apache::Session::File.
Apache::AuthCookie doesn't want to set cookie
Charles Day wrote:
key line must come first. I used Portal instead of your PrisInformasjon,
but you get the idea.
I tried that, but it made no difference.
I must be doing something wrong. I have now tried with a very similar
setup on my linux box with apache 1.3.22, mod_perl 1.26 and all
I'm trying to get Apache::AuthCookie and Apache::AuthCookieDBI to work.
However it seems like I can't set any cookies. I have cookies enabled in
my browser (with warnings), but I can't read the cookie after the
redirect from the login-script. I'm pretty sure the cookie is never sent
14:23:46 2002] [error] auth_type Apache::AuthCookieDBI
the AuthType setting should be the name of the class that inherits
from Apache::AuthCookie (or Apache::AuthCookieDBI I suppose, I've
never used it)
for instance
PerlSetVar PrisInformasjonPath /
PerlSetVar
).
I've tried this and various combinations of sending the headers
and form with no luck.
Ideally Apache::AuthCookie should only require the login_form,
authen_cred and authen_ses_key sub's to function with the
addition of login_screen to use a location rather rather than
#!-ed code for the login
the headers
and form with no luck.
Ideally Apache::AuthCookie should only require the login_form,
authen_cred and authen_ses_key sub's to function with the
addition of login_screen to use a location rather rather than
#!-ed code for the login form.
Does anyone know of a simple, working example
CH == Carolyn Hicks [EMAIL PROTECTED] writes:
CH this to something like 'InvalidLogin' in authen_cred, you can then check
CH for this and set the reason via $r-subprocess_env in
AuthCookieHandler- authen_ses_key, before AuthCookie-authenticate wipes
CH the cookie out. Not extensively tested,
I am having some trouble getting Apache::AuthCookie (version 3 which i
believe is the latest version) to do what want:
What i want is:
* To be able to give the user a reson if login fails
- eg reason: * No such username
* Your password was incorrect
Has anyone else come
At 04:09 PM 11/23/2001 +1100, simran wrote:
Hi All,
I am having some trouble getting Apache::AuthCookie (version 3 which i
believe is the latest version) to do what want:
What i want is:
* To be able to give the user a reson if login fails
- eg reason: * No such username
Bill Moseley wrote:
At 04:09 PM 11/23/2001 +1100, simran wrote:
Hi All,
I am having some trouble getting Apache::AuthCookie (version 3 which i
believe is the latest version) to do what want:
What i want is:
* To be able to give the user a reson if login fails
- eg reason
Hi
All,
Iam having some trouble getting
Apache::AuthCookie (version 3 which i believe is the latest version) to do what
want:
What i
want is:
* To
be able to give the user a reson if login fails
- eg reason: * "No such username"
* "Your password was incorrect&quo
yes its pretty easy one to do,
btw:
i first found out how by investigating the Apache::AuthCookie code
here is the meat of the matter
send something like this to the $r-subprocess_env
{the name im using is the same as authcookie's with the 2 added}
$r-subprocess_env('AuthCookieReason2
Message-
From: clayton [mailto:[EMAIL PROTECTED]]
Sent: Friday, 23 November 2001 4:26 PM
To: simran
Cc: [EMAIL PROTECTED]
Subject: Re: Apache::AuthCookie login faliure reason
yes its pretty easy one to do,
btw:
i first found out how by investigating the Apache::AuthCookie code
here is the meat
On Fri, Nov 23, 2001 at 04:09:45PM +1100, simran wrote:
What i want is:
* To be able to give the user a reson if login fails
- eg reason: * No such username
* Your password was incorrect
On Thu, Nov 22, 2001 at 09:26:17PM -0800, clayton wrote:
here is the meat of
Does anyone know where I can find documentation to install and configure
Apache::AuthCookie? The docs that come with it are thin and do not provide
much information.
Thanks,
Ray
-Original Message-
From: Recendez, Ray [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 28, 2001 1:45 PM
To: '[EMAIL PROTECTED]'
Subject: Apache::AuthCookie
Does anyone know where I can find documentation to install
and configure
Apache::AuthCookie? The docs that come
Does anyone know where I can find documentation to install
and configure
Apache::AuthCookie? The docs that come with it are thin and
do not provide
much information.
you're kidding, right?
[geoff@jib Apache-AuthCookie-2.011]$ perldoc AuthCookie.pm | wc -l
462
Verbiage
Rob Bloodgood wrote:
Does anyone know where I can find documentation to install
and configure
Apache::AuthCookie? The docs that come with it are thin and
do not provide
much information.
you're kidding, right?
[geoff@jib Apache-AuthCookie-2.011]$ perldoc AuthCookie.pm
Never mind. A few more eyes showed me that my virtual host was not set up
right for SSIs
-Original Message-
From: Chad Phillips [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 21, 2001 12:13 PM
To: mod_perl List
Subject: Apache::AuthCookie and ServerSide Include not working
Hello,
I
The uploaded file
Apache-AuthCookie-3.00.tar.gz
has entered CPAN as
file: $CPAN/authors/id/M/MS/MSCHOUT/Apache-AuthCookie-3.00.tar.gz
size: 25399 bytes
md5: 5c94e0ced442653f229b39f4f1fcfe8c
Changes since v2.011:
- New maintiner: Michael Schout [EMAIL PROTECTED]
- changed
hi all!
My settings:
RedHat Linux7.1
Apache 1.3.19
Perl5.005
mod_perl1.24
embperl
When I do make test during Apache::AuthCookie installation phase I get the following
messages. I've included all input and output from the perl Makefile.PL and make
commands.
[root@localhost Apache-AuthCookie
::AuthCookie- help on make test
hi all!
My settings:
RedHat Linux7.1
Apache 1.3.19
Perl5.005
mod_perl1.24
embperl
When I do make test during Apache::AuthCookie installation phase I get
the following messages. I've included all input and output from the perl
Makefile.PL and make commands.
[root
Time Co-Ordinate Fri, 18 May 2001 03:35:03 -0700, The Organism labeled Will
Waggoner said:
Hi Emma,
I've gotten this error every time I've run the test for this version of
AuthCookie -- but upon installation it works fine.
i can confirm this
hi!
RedHat Linux 7.1
apache 1.3.19
perl 5
mod_perl 1.24
embperl (latest version)
apache::authcookie (latest version)
I found this great module that allows login and logout from a web site using cookies.
the problem is that I don't know how to use it myself. Yes, I've read and reread
On Tue, 15 May 2001, Emma Wermström (EMW) wrote:
...
apache::authcookie (latest version)
I found this great module that allows login and logout from a web site
using cookies. the problem is that I don't know how to use it myself.
Yes, I've read and reread the documentation that comes
Hi all,
For a long while, it's become clearer and clearer to me that I need to
hand off ownership of the Apache::AuthCookie module to someone else. I
haven't been able to keep up with the many development requests, even
when they've been perfectly reasonable and probably fairly simple
I'm having the problem with being logged out then I switch to a secure
document. I have to log back in to get to the page. And when I go from a SSL
page to a plain page it logs me out again. Any advise?
Apache/1.3.12 (Unix) mod_perl/1.24 mod_ssl/2.6.6 OpenSSL/0.9.5a
Apache::AuthCookie
. I have to log back in to get to the page. And when I go from a SSL
page to a plain page it logs me out again. Any advise?
Apache/1.3.12 (Unix) mod_perl/1.24 mod_ssl/2.6.6 OpenSSL/0.9.5a
Apache::AuthCookie is version 2.011
I'm also using Embperl v1.2.1
from .htaccess in the protected
a SSL
page to a plain page it logs me out again. Any advise?
Apache/1.3.12 (Unix) mod_perl/1.24 mod_ssl/2.6.6 OpenSSL/0.9.5a
Apache::AuthCookie is version 2.011
I'm also using Embperl v1.2.1
from .htaccess in the protected directories
AuthType Apache::AuthCookieHandler
AuthName Apollo
"JW" == John Walstra [EMAIL PROTECTED] writes:
JW I'm having the problem with being logged out then I switch to a
JW secure document. I have to log back in to get to the page. And
JW when I go from a SSL page to a plain page it logs me out
JW again. Any advise?
Figure out how to make your web
"JM" == JR Mayberry [EMAIL PROTECTED] writes:
JM might wanna modify the source to set the domain to .yourdomain.com, as
JM its probably now being set as secure.yourdomain.com or
JM www.yourdomain.com
no need to modify source to do that. AuthCookie has a config option
to do it for you.
Hi all,
I have just created a SourceForge project for AuthCookie. If you are
interested, you can access the project at
http://sourceforge.net/projects/ap-authcookie/ . All previous releases
are there, and I have imported the CVS tree too.
Moving the project to SourceForge gives several
Hi,
This may not be anything specific to
Apache::AuthCookie. So sorry for the off-topic
question.
I have been able to get Apache::AuthCookie to work for
me on directories other than the URL root Location
/. What happens when I do that is that the images in
the script invoked by the LOGIN
Hi,
The URL
http://mathforum.com/~ken/modules/archive/Apache-AuthCookie-2.011.tar.gz
has entered CPAN as
file: $CPAN/authors/id/K/KW/KWILLIAMS/Apache-AuthCookie-2.011.tar.gz
size: 18530 bytes
md5: b4617ac3ed237e2ae5123e9c7756fc82
This release follows right on the heels of 2.010
Having problem with the above, anyone any idea
It doesn't seem to create the cookie
I added the log_error above err_header_out in login()
$r-log_error("SET COOKIE " . $self-_cookie_string($r,
"$auth_type\_$auth_name", $ses_key)) if ($debug = 2);
$r-err_header_out("Set-Cookie" =
I'm using Apache::AuthCookie for general authentication/authorization for a
site I'm working on. However, there's a requirement for fine-grained
authorization down to the page level - a user may have access to most pages
in a directory, but be disalllowed access to a single page. Note
Ken Miller [EMAIL PROTECTED] wrote:
I'm using Apache::AuthCookie for general authentication/authorization for a
site I'm working on. However, there's a requirement for fine-grained
authorization down to the page level - a user may have access to most pages
in a directory, but be disalllowed
Hi Ken,
the patch I send you for overwriting the login_form seems not to be in
2.007.
Are there any reason for this or did you just forget it?
Gerald
-
Gerald Richterecos electronic communication services gmbh
Internetconnect *
[EMAIL PROTECTED] (Gerald Richter) wrote:
Hi Ken,
the patch I send you for overwriting the login_form seems not to be in
2.007.
Are there any reason for this or did you just forget it?
Hi Gerald,
Actually, neither - it's just that I haven't gotten to it yet. The changes I
put in 2.007 come
Could someone provide a good FAQ or example of how to impliment this
thing? The package documentation's "just copy the test script" example I'm
sure is a great time-saver for the author but when one has problems it's
really a pain with all the unrelated testing code. I'm having problems and
What's the best way to authenticate users? I have a site where the entire
site is to be protected. I want to log users in at the front of the web
site, and keep them logged in as they travel around. I was trying to get
AuthCookie to work but haven't been successful so far. Should I
"KF" == Kenneth Frankel [EMAIL PROTECTED] writes:
KF What's the best way to authenticate users? I have a site where the entire
KF site is to be protected. I want to log users in at the front of the web
For a site whose contents are entirely protected, I'd use basic auth
with a cookie
t, I'll mail you mine
off-list.
Thanks,
Kenneth
P.S. If you need to fix what's wrong (thanks, man!), the errors are
configuration error: couldn't check user. No user file?: /bqbin/gui.pl
That error isn't coming from Apache::AuthCookie, it's coming from Apache (or
its basic auth module). F
The URL
http://forum.swarthmore.edu/~ken/modules/archive/Apache-AuthCookie-2.007.tar.gz
has entered CPAN as
file: $CPAN/authors/id/KWILLIAMS/Apache-AuthCookie-2.007.tar.gz
size: 16364 bytes
md5: 1a2a45007123e8583467668297ebd767
Version: 2.007 Date: 2000/04/15 15:27:02
Hi Ken,
I use your Apache::AuthCookie in an application where the way to display the
login form via the custon_response does not fit my needs. Instead the normal
ContentHandler has to display th login form. I have made a simple patch to
Apache::AuthCookie that splits up the call
[EMAIL PROTECTED] (Gerald Richter) wrote:
Hi Ken,
I use your Apache::AuthCookie in an application where the way to display the
login form via the custon_response does not fit my needs. Instead the normal
ContentHandler has to display th login form. I have made a simple patch to
Apache
Hi,
The URL
http://forum.swarthmore.edu/~ken/modules/archive/Apache-AuthCookie-2.001.tar.gz
has entered CPAN as
file: $CPAN/authors/id/KWILLIAMS/Apache-AuthCookie-2.001.tar.gz
size: 14968 bytes
md5: 252ea4ec539f0c303ae552a4e25588d5
- The login forms may now use the POST method
Hi, here's the eagerly-awaited announcement:
**
* The URL
*
* http://mathforum.com/~ken/modules/archive/Apache-AuthCookie-2.000.tar.gz
*
* has entered CPAN as
*
* file: $CPAN/authors/id/KWILLIAMS/Apache-AuthCookie-2.000
Hi,
I'm looking at the AuthCookie code, getting ready to release a new version to
CPAN. It looks to me like currently only the first 'require' directive will be
processed and obeyed. Here's the code from the old authz():
foreach
'c' code in mod_auth seems to work similar as the perl code below.
- snip -
for (x = 0; x reqs_arr-nelts; x++) {
if (!(reqs[x].method_mask (1 m)))
continue;
method_restricted = 1;
t = reqs[x].requirement;
w = ap_getword_white(r-pool,
On Tue, 25 Jan 2000, Ken Williams wrote:
Can someone set the maintainer of Apache::AuthCookie to be me?
patch below :)
thanks Ken!!
diff -u -u -r1.63 apache-modlist.html
--- apache-modlist.html 1999/11/24 02:40:01 1.63
+++ apache-modlist.html 2000/01/27 05:19:27
@@ -114,7 +114,7
I've been using Apache::AuthCookie, and it's great, but just from
playing with it briefly I see some apparent issues. For one thing
I didn't find an obvious way to delete a session from the database.
It relies on the browser to delete the session key cookie. Right now,
my MSIE is not deleting
On Sat, 22 Jan 2000, Ken Williams wrote:
* make a new module with a new name, since some of my changes have changed
the interface, or
* usurp the Apache::AuthCookie module and provide a clear stepwise migration
path? Doug said he'd be willing to make me the maintainer
Hi all,
Currently, Apache::AuthCookie uses:
$r-err_header_out("Set-Cookie" = ...
to set its cookie.
However, if you're authentication or authorization routines also sets
a cookie, then it will get overwritten by the above code.
Below is a proposed patch to AuthCookie.pm that
maintainer of Apache::AuthCookie? I seem to
remember reading somehwere that it is no longer Eric Bartley.
Yeah, it's not. I've been toying with the code and improving it, but my
improvements make it non-backward-compatible. So I might need to change
the name and make myself the owner of the n
85 matches
Mail list logo