httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Berkowitz <bar...@rocketmail.com>
Subject Re: [users@httpd] mod_auth_any set up question
Date Tue, 27 May 2003 19:22:36 GMT
Thanks for trying, but, still no go. I did try changing it to
AuthConfig and restarting apache.

When I was using other authentication (Sybase & mod_auth_securid), it
worked correctly with AllowOveride set to none.


--- Jason <jason@sitemasterswebdesign.com> wrote:
> Try changing your AllowOverride to "AuthConfig"   without quotes
> 
> Jason
> 
> 
> ----- Original Message -----
> From: "Andrew Berkowitz" <barzel@rocketmail.com>
> To: <users@httpd.apache.org>
> Sent: Tuesday, May 27, 2003 5:51 AM
> Subject: [users@httpd] mod_auth_any set up question
> 
> 
> > I am trying to use mod_auth_any to authenticate a web site. But I
> > can't get it to behave. Does anyone have any experience with this
> > module? Thank you.
> >
> > I compiled it into Apache 1.3.27. and I wrote a short test script,
> > test.sh that just contains:
> >  #!/bin/bash
> >  exit 1
> >
> > When I run it, I am denied access with the following in the
> > error_log:
> > [Fri May 23 15:52:49 2003] [error] [client x.x.x.x] user test1:
> > Authentication failure from: /opt/pam/test.sh URI:
> > /support/index.shtml
> >
> > The site works fine for directories where I don't require
> > authentication.
> >
> > I added the following to the httpd.conf for that directory:
> > <Directory "/usr/local/NetDB/docs/support">
> >         Options Indexes FollowSymLinks MultiViews Includes
> >         AllowOverride None
> >         Order allow,deny
> >         Allow from all
> >         AuthName "IP Management"
> >         AuthType Basic
> >         AuthAnyUserProg "/opt/pam/test.sh"
> >         AuthAnyGroupFile /usr/local/apache-rsa/conf/htgroup
> >         require valid-user
> >         require group support
> > </Directory>
> >
> > The htgroup file contains:
> > support: test1
> >
> > for testing, I set the permissions for test.sh & htgroup to 777.
> >
> > And one more question: Can I assume the module will pass the
> username
> > & password as though on a command line like "test.sh user passwd"
> If
> > not, how is it passed?
> >
> > Thank you in advance.
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > The New Yahoo! Search - Faster. Easier. Bingo.
> > http://search.yahoo.com
> >
> >
> ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server
> Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
> >
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message