Thanks. Your example got me on the right track and I set up a simple
realm using:
<Location /servlet/msgboard>
AuthType Basic
AuthName msgboard_access
AuthUserFile /usr/local/apache/conf
<Limit GET POST>
require user some_user
</Limit>
</Location>
I'm new to Apache and I'm having trouble seeing how all the parts fit
together. The docs help but they assume a working knowledge of Apache or
similar systems. Can anyone suggest a good tutorial with lots of
examples?
--Mark Ashworth
stephan nagy wrote:
>
> Do it inside your configuration. I'm using a perl-auth handler here but it
> works the same for plain basic authentication.
>
> <Location /servlets/com.norrellis.someservlet>
> AuthName "Norrel Training Admin" AuthType Basic
> PerlAuthenHandler Apache::AuthenCache Apache::AuthenDBI
> Apache::AuthenCache::manage_cache
> PerlSetVar Auth_DBI_encrypted off
> PerlSetVar AuthenCache_encrypted on
> PerlSetVar Auth_DBI_casesensitive off
> PerlSetVar Auth_DBI_data_source
> dbi:Sybase:interfaces=/usr/local/sybase/interfaces;server=NIS
> PerlSetVar Auth_DBI_username xxxxxxxx
> PerlSetVar Auth_DBI_password xxxxxxxx
> PerlSetVar Auth_DBI_pwd_table xxxxxxx
> PerlSetVar Auth_DBI_uid_field xxxxxx
> PerlSetVar Auth_DBI_pwd_field xxxxx
> <Limit GET>
> require user xxxxx
> </Limit>
> </Location>
>
> -stephan
>
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://www.working-dogs.com/>
Problems?: [EMAIL PROTECTED]