Shannon,
Thank you for getting back to me!
I am running a newer version of apache that only has
the httpd.conf configuration file. The text that I
placed in the file is as follows:
#########################################3333
# Stuff added by Randy
alias /protected "/var/www/protected/"
<Directory /protected>
# This is the standard authentication stuff
AuthName "Foo Bar Authentication"
AuthType Basic
PerlAuthenHandler Apache::AuthenNIS
# Standard require stuff, NIS users or
groups, and
# "valid-user" all work OK
require user username
require valid-user
# The following is actually only needed when
authorizing
# against NIS groups. This is a separate
module.
#PerlAuthzHandler Apache::AuthzNIS
</Directory>
#
As far as the .htaccess file is concerned, I only did
a "touch .htaccess" to create the file in the
/protected directory. I did not find any
documentation on WHAT needed to be put into the file.
Also, should there be a .so module file for authenNIS
in my httpd.conf file?
Again, Thanks!
Randy
--- Shannon Eric Peevey <[EMAIL PROTECTED]> wrote:
> Shannon Eric Peevey wrote:
>
> >
> >
> > -------- Original Message --------
> > Subject: Re: Stupid question of the day...
> > Date: Mon, 20 Oct 2003 18:28:04 -0000
> > From: Randy Trahan <[EMAIL PROTECTED]>
> > To: Shannon Eric Peevey <[EMAIL PROTECTED]>
> >
> >
> >
> > Hi Shannon,
> >
> > I was reading your post from June 25 concerning
> authenNIS. I am on a
> > Linux 8 machine and I am running Apache. I am
> trying to have NIS
> > authenticate users who try to access a certian
> directory. I installed
> > authenNIS and I put the appropriate directive in
> the main apache
> > config file, but I don't even get an error message
> when I go to my
> > "/protectected" directory in my file structure.
> Did you ever have
> > this problem?
> >
> > Thanks!
> > Randy
> >
> >
> >
> Hi!
>
> Can you send the <Directory> config and/or .htaccess
> from that
> directory? Sounds like you probably don't have
> AuthType set...
>
> speeves
> cws
>
> PS Please, copy the list on your reply. Thanks :)
>
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com