----- Original Message -----
From: "Gerald Richter" <[EMAIL PROTECTED]>
To: "Thoren Johne" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, December 11, 2001 8:14 AM
Subject: Re: http_headers_out
> > i'd like to have a user-authentification without using a '.htaccess'
file
> >
>
> 401 is a status code not a http header, so you need to say (assuming you
> running under mod_perl):
>
> $req_rec -> status (401) ;
>
> and additionaly tell the browser which auth method and realm you want to
> use:
>
> $req_rec -> err_header_out('WWW-Authenticate', 'Basic realm=<realmtext>')
;
ok, that works ... partial :)
i do use mod_auth_mysql with
Auth_MySQL_Enctyption_Types Plaintext Crypt_DES
- configured that way in httpd.conf, not in the .htaccess file
the method via err_header_out only allows me to authenticate with Crypt_DES
accounts, while using .htaccess im able to use both Plaintext and
Crypt_DES accounts.
any hints, ideas?
regards
thoren
8#X
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]