Re: mod_perl based Authentication ...

2001-03-29 Thread Michael Smith

The modperl book should help a lot.

Try this:

http://www.modperl.com/book/chapters/ch6.html

Mike



- Original Message - 
From: "Sumit Babu" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, March 28, 2001 5:10 PM
Subject: mod_perl based Authentication ...


 Hi,
 I am very new to mod_perl, and would like to know
 if there are any pointers that provide help/examples
 for authentication for web sites. Although I am
 familiar with the cgi scripting, I have not written
 any kind of authentication on my own. So, if somebody
 can give some good pointers to this it will be of
 great help to me. 
 
 Thanks for your time and help. I have joined this list
 of-late and I am sorry if this is answered earlier.
 
 Regards,
 
 Sumit/
 
 __
 Do You Yahoo!?
 Get email at your own domain with Yahoo! Mail. 
 http://personal.mail.yahoo.com/?.refer=text
 




Re: mod_perl based Authentication ...

2001-03-28 Thread Mike Cameron

Try this

http://search.cpan.org/search?mode=modulequery=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 pointers that provide help/examples
 for authentication for web sites. Although I am
 familiar with the cgi scripting, I have not written
 any kind of authentication on my own. So, if somebody
 can give some good pointers to this it will be of
 great help to me.

 Thanks for your time and help. I have joined this list
 of-late and I am sorry if this is answered earlier.

 Regards,

 Sumit/

 __
 Do You Yahoo!?
 Get email at your own domain with Yahoo! Mail.
 http://personal.mail.yahoo.com/?.refer=text




Re: mod_perl based Authentication ...

2001-03-28 Thread Carlos Ramirez


You can also read the Authentication  Authorization chapter of the
"Writing Apache Modules with Perl
and C" book online: http://www.modperl.com/book/chapters/ch6.html
Or even better, buy the book ;)
-Carlos
Mike Cameron wrote:
Try this
http://search.cpan.org/search?mode=modulequery=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 pointers that provide help/examples
> for authentication for web sites. Although I am
> familiar with the cgi scripting, I have not written
> any kind of authentication on my own. So, if somebody
> can give some good pointers to this it will be of
> great help to me.
>
> Thanks for your time and help. I have joined this list
> of-late and I am sorry if this is answered earlier.
>
> Regards,
>
> Sumit/>
>
> __
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/?.refer=text

--
---
Carlos Ramirez + Boeing + Reusable Space Systems + 714.372.4181
---
# ifconfig eth0.net "Carlos Ramirez" netmask 255.255.255.0 up
# route add -net smtp [EMAIL PROTECTED]
# route add -net http http://www.roses.bna.boeing.com/~ramirezc



Re: mod_perl based Authentication ...

2001-03-28 Thread Sumit Babu

Hi,

Thank you Mike and Carlos for your early replay. 

I am trying to install Apache::AuthCookie from CPAN,
but I am getting the following error (during make test
stage) and I am not able to get what is wrong here:
---
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/local/perl/5.6.0/lib/i686-linux
-I/usr/local/perl/5.6.0/lib -e 'use Te
st::Harness qw(runtests $verbose); $verbose=0;
runtests @ARGV;' t/*.t
t/real..ok 1/12[Thu Mar 29 00:10:32 2001]
[error] Can't load
'/usr/local/perl/5.6.0/site_lib/i686-linux/auto/Apache/Apache.so'
for module Apache:
/usr/local/perl/5.6.0/site_lib/i686-linux/auto/Apache/Apache.so:
undefined symbol: mod_perl_set_opmask at
/usr/local/perl/5.6.0/lib/i686-linux/DynaLoader.pm
line 200.
 at
/usr/local/perl/5.6.0/site_lib/i686-linux/mod_perl.pm
line 14
Compilation failed in require at (eval 2) line 3.
---

The following is the configuration I am using:
Apache - 3.1.19
mod_perl - 1.25 ( compiled with EVERYTHING=1)
Linux - Redhat 6.2

Regards

Sumit/

__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/?.refer=text



Re: mod_perl based Authentication ...

2001-03-28 Thread G.W. Haywood

Hi there,

On Wed, 28 Mar 2001, Sumit Babu wrote:

 I am trying to install Apache::AuthCookie from CPAN,
 but I am getting the following error (during make test
 stage) and I am not able to get what is wrong here:
 ---
 [error] Can't load
 '/usr/local/perl/5.6.0/site_lib/i686-linux/auto/Apache/Apache.so'

Either the shared object can't be loaded, or something it's trying to
do when it initializes is failing.

Is it actually there?

73,
Ged.